Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+49
@@ -0,0 +1,49 @@
|
||||
#pragma once
|
||||
|
||||
#include <QWidget>
|
||||
#include <QMap>
|
||||
|
||||
|
||||
|
||||
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<QScreen *> m_screensToTest;
|
||||
QScreen *m_currentScreen;
|
||||
QScreen *m_mainScreen;
|
||||
QMap<QString, QPoint> m_config;
|
||||
QString m_filename;
|
||||
QCheckBox *m_cbMainScreen;
|
||||
};
|
||||
Reference in new issue
Block a user