aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-xconfig/MainUI.h
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-09-20 13:42:32 +0000
committerWeblate <noreply@weblate.org>2017-09-20 13:42:32 +0000
commita4fd58c9aae62207b131a13cc13187970495bdb5 (patch)
treecdabc3a0816c41f6f2a6f5191f3e38f698595c13 /src-qt5/core-utils/lumina-xconfig/MainUI.h
parentTranslated using Weblate (Lithuanian) (diff)
parentStreamline a bit more of the new Lumina2 window embed functionality. (diff)
downloadlumina-a4fd58c9aae62207b131a13cc13187970495bdb5.tar.gz
lumina-a4fd58c9aae62207b131a13cc13187970495bdb5.tar.bz2
lumina-a4fd58c9aae62207b131a13cc13187970495bdb5.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.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src-qt5/core-utils/lumina-xconfig/MainUI.h b/src-qt5/core-utils/lumina-xconfig/MainUI.h
index d1abc153..53bf06db 100644
--- a/src-qt5/core-utils/lumina-xconfig/MainUI.h
+++ b/src-qt5/core-utils/lumina-xconfig/MainUI.h
@@ -39,7 +39,7 @@ private:
Ui::MainUI *ui;
QList<ScreenInfo> SCREENS;
double scaleFactor;
- QMenu *singleTileMenu;
+ QMenu *singleTileMenu, *profilesMenu;
ScreenInfo currentScreenInfo();
@@ -50,7 +50,7 @@ private:
void SyncBackend(); //sync backend structures to current settings
private slots:
- void UpdateScreens();
+ void UpdateScreens(QString profile = "");
void ScreenSelected();
void updateNewScreenResolutions();
void tileScreensY(bool activeonly = false);
@@ -64,6 +64,11 @@ private slots:
void ApplyChanges(); //config changes
void SaveSettings();
void RestartFluxbox();
+
+ void removeProfile();
+ void updateProfiles();
+ void loadProfile();
+ void saveAsProfile(QAction *);
};
#endif
bgstack15