#pragma once #include #include namespace Ui { class Configurator; } class QCheckBox; class UiInterface { public: virtual ~UiInterface() = default; }; class Configurator : public QWidget { Q_OBJECT public: Configurator(const QString &filename); ~Configurator(); bool init(); static const QStringList projectNames() { return { QStringLiteral("guez2018") }; } private slots: void slotSave(); void slotGo(); void slotScreenClicked(); private: void closeEvent(QCloseEvent *event) override; void done(); UiInterface *m_uiIfc; QList m_screensToTest; QScreen *m_currentScreen; QScreen *m_mainScreen; QMap m_config; QString m_filename; QCheckBox *m_cbMainScreen; };