diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2017-07-27 12:14:30 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2017-07-27 12:14:30 -0400 |
commit | 675dd82ad7a1d41d994164e0d5da6fb6b9584f84 (patch) | |
tree | 6d66b946296e322e062c5e01c953c13624db7d00 /src-qt5/core/libLumina/RootWindow.h | |
parent | Removed unneeded titles (diff) | |
parent | Start adding the window arrangement framework to Lumina2. (diff) | |
download | lumina-675dd82ad7a1d41d994164e0d5da6fb6b9584f84.tar.gz lumina-675dd82ad7a1d41d994164e0d5da6fb6b9584f84.tar.bz2 lumina-675dd82ad7a1d41d994164e0d5da6fb6b9584f84.zip |
Merge branch 'master' of https://github.com/trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/RootWindow.h')
-rw-r--r-- | src-qt5/core/libLumina/RootWindow.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/RootWindow.h b/src-qt5/core/libLumina/RootWindow.h index a7792752..2fd76cea 100644 --- a/src-qt5/core/libLumina/RootWindow.h +++ b/src-qt5/core/libLumina/RootWindow.h @@ -18,10 +18,11 @@ #include <QTimer> #include <QApplication> #include <QPaintEvent> -//#include <QMdiArea> #include "RootSubWindow.h" -#include "NativeWindow.h" + +#include <NativeWindow.h> +#include <DesktopSettings.h> class RootWindow : public QWidget{ Q_OBJECT @@ -49,6 +50,7 @@ private: //Window Management QList<RootSubWindow*> WINDOWS; + void arrangeWindows(RootSubWindow *primary = 0, QString type = ""); public slots: void ResizeRoot(); @@ -58,6 +60,11 @@ public slots: void NewWindow(NativeWindow*); void CloseWindow(WId); //automatically connected for any new native window + //Window arrangement functions - defined in "RootWindow-mgmt.cpp" + void ArrangeWindows(WId *primary = 0, QString type = ""); + void TileWindows(WId *primary = 0, QString type = ""); + void CheckWindowPosition(WId, bool newwindow = false); //used after a "drop" to validate/snap/re-arrange window(s) as needed + private slots: protected: |