diff options
author | Weblate <noreply@weblate.org> | 2017-08-17 16:03:32 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2017-08-17 16:03:32 +0000 |
commit | a47ab10c6ea6057de5567f66292250d187d75ab9 (patch) | |
tree | d0cde7717f8fec52697d178dc6ef2a79ce927d68 /src-qt5/core-utils/lumina-xconfig/MainUI.h | |
parent | Translated using Weblate (Portuguese (Brazil)) (diff) | |
parent | Merge remote-tracking branch 'origin/master' (diff) | |
download | lumina-a47ab10c6ea6057de5567f66292250d187d75ab9.tar.gz lumina-a47ab10c6ea6057de5567f66292250d187d75ab9.tar.bz2 lumina-a47ab10c6ea6057de5567f66292250d187d75ab9.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core-utils/lumina-xconfig/MainUI.h')
-rw-r--r-- | src-qt5/core-utils/lumina-xconfig/MainUI.h | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/src-qt5/core-utils/lumina-xconfig/MainUI.h b/src-qt5/core-utils/lumina-xconfig/MainUI.h index 5a1a62cc..d1abc153 100644 --- a/src-qt5/core-utils/lumina-xconfig/MainUI.h +++ b/src-qt5/core-utils/lumina-xconfig/MainUI.h @@ -11,6 +11,10 @@ #include <QRect> #include <QString> #include <QList> +#include <QMdiArea> +#include <QMdiSubWindow> +#include <QMenu> +#include <QAction> #include "ScreenSettings.h" @@ -34,20 +38,32 @@ public slots: private: Ui::MainUI *ui; QList<ScreenInfo> SCREENS; + double scaleFactor; + QMenu *singleTileMenu; + ScreenInfo currentScreenInfo(); - QStringList currentOpts(); + //QStringList currentOpts(); + QString currentSelection(); void AddScreenToWidget(ScreenInfo); + void SyncBackend(); //sync backend structures to current settings private slots: void UpdateScreens(); void ScreenSelected(); - void MoveScreenLeft(); - void MoveScreenRight(); - void DeactivateScreen(QString device = ""); + void updateNewScreenResolutions(); + void tileScreensY(bool activeonly = false); + void tileScreensX(bool activeonly = false); + void tileScreens(); + void tileSingleScreen(QAction*); + void showMenu(){ singleTileMenu->popup(QCursor::pos()); } + + void DeactivateScreen(); void ActivateScreen(); void ApplyChanges(); //config changes + void SaveSettings(); + void RestartFluxbox(); }; #endif |