#pragma once #include "installerpage.h" #include "tools.h" class QComboBox; class QLineEdit; class QLabel; class QCheckBox; class PageConfiguration : public InstallerPage { Q_OBJECT public: explicit PageConfiguration(const QString* disk, const QString* language); bool validate(); void retranslateUi(); protected: void setupUi(); private: void mapSignals(); public slots: void show(); private slots: void generateCommand(); signals: void selectedSettings(InstallerSettings); void updatedCommand(QString); private: const QString* m_Disk; const QString* m_Lang; QLabel* m_labelHelp; QLabel* m_labelBuilder; QCheckBox* m_chkboxBuilder; QLabel* m_labelHostName; QLineEdit* m_editHostname; QLabel* m_labelLanguage; QComboBox* m_cmbboxLanguage; QLabel* m_labelTimezone; QComboBox* m_cmbboxTimezone; QLabel* m_labelErase; QCheckBox* m_chkboxErase; QLabel* m_labelFormat; QComboBox* m_cmbboxFormat; QLabel* m_labelWriteMbr; QCheckBox* m_chkboxWriteMbr; QLabel* m_labelUseUUID; QCheckBox* m_chkboxUseUUID; QLabel* m_labelComposite; QCheckBox* m_chkboxComposite; QCheckBox* m_chkboxExtParameters; QWidget* m_widgetExtParameters; QLabel* m_labelDiskType; QComboBox* m_cmbboxDiskType; QLabel* m_labelVideoDrv; QComboBox* m_cmbboxVideoDrv; QLabel* m_labelVideoRes; QLineEdit* m_editVideoRes; QLabel* m_labelIOShed; QComboBox* m_cmbboxIOShed; };