aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core-utils/lumina-xconfig/MainUI.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-08-22 13:35:07 -0400
committerKen Moore <ken@ixsystems.com>2017-08-22 13:35:07 -0400
commitca225b7bd525ea961bf5aec2fa3f8c05e8307e4e (patch)
treed8b6aaae4fa06528c9760babdce896c374c563af /src-qt5/core-utils/lumina-xconfig/MainUI.h
parentAdd the ability to generate symlinks in the Desktop folder the first time Lum... (diff)
downloadlumina-ca225b7bd525ea961bf5aec2fa3f8c05e8307e4e.tar.gz
lumina-ca225b7bd525ea961bf5aec2fa3f8c05e8307e4e.tar.bz2
lumina-ca225b7bd525ea961bf5aec2fa3f8c05e8307e4e.zip
Get 90% of the work for adding profiles to lumina-xconfig finished.
Still need to work out a few small issues when loading a profile into the preview pane.
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