aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/RootWindow.h
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-07-27 16:17:01 +0000
committerWeblate <noreply@weblate.org>2017-07-27 16:17:01 +0000
commitf9117e2749fdc01ad3ba5d0ae6623bd253d973bf (patch)
tree4e7bb581dc9a2656b01440256c09eeb2fccad65d /src-qt5/core/libLumina/RootWindow.h
parentTranslated using Weblate (Spanish) (diff)
parentMerge branch 'master' of https://github.com/trueos/lumina (diff)
downloadlumina-f9117e2749fdc01ad3ba5d0ae6623bd253d973bf.tar.gz
lumina-f9117e2749fdc01ad3ba5d0ae6623bd253d973bf.tar.bz2
lumina-f9117e2749fdc01ad3ba5d0ae6623bd253d973bf.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/libLumina/RootWindow.h')
-rw-r--r--src-qt5/core/libLumina/RootWindow.h11
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:
bgstack15