Add option to toggle between vertical and horizontal macro controls

This commit is contained in:
WarmUpTill
2022-01-29 14:37:16 +01:00
committed by WarmUpTill
parent 487c735e13
commit 61d9031933
9 changed files with 86 additions and 6 deletions

View File

@@ -170,6 +170,7 @@ public slots:
void on_saveWindowGeo_stateChanged(int state);
void on_showTrayNotifications_stateChanged(int state);
void on_uiHintsDisable_stateChanged(int state);
void on_useVerticalMacroControls_stateChanged(int state);
void on_exportSettings_clicked();
void on_importSettings_clicked();

View File

@@ -16,6 +16,11 @@ public:
void Show(bool visible = true);
QPushButton *GetUp() { return _up; }
QPushButton *GetDown() { return _down; }
QPushButton *GetAdd() { return _add; }
QPushButton *GetRemove() { return _remove; }
signals:
void Add();
void Remove();

View File

@@ -86,6 +86,7 @@ struct SwitcherData {
bool stop = false;
bool verbose = false;
bool disableHints = false;
bool useVerticalMacroControls = false;
bool showSystemTrayNotifications = false;
bool showFrame = false;
bool transitionOverrideOverride = false;