aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeWindow.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-03-09 22:51:20 -0500
committerKen Moore <ken@ixsystems.com>2018-03-09 22:51:20 -0500
commitc311d3688c2dc8175d627ddff8db2a7b729eb15e (patch)
tree9f5c6d5da2fdfe4b043f86cd365e2faba627ab87 /src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeWindow.h
parentundo the thing (diff)
downloadlumina-c311d3688c2dc8175d627ddff8db2a7b729eb15e.tar.gz
lumina-c311d3688c2dc8175d627ddff8db2a7b729eb15e.tar.bz2
lumina-c311d3688c2dc8175d627ddff8db2a7b729eb15e.zip
Add the beginnings of the new window frame (widgets-based)
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeWindow.h')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeWindow.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeWindow.h b/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeWindow.h
new file mode 100644
index 00000000..ffdb364a
--- /dev/null
+++ b/src-qt5/core/lumina-desktop-unified/src-desktop/src-widgets/NativeWindow.h
@@ -0,0 +1,34 @@
+//===========================================
+// Lumina-desktop source code
+// Copyright (c) 2018, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#ifndef _LUMINA_DESKTOP_NATIVE_WINDOW_WIDGET_H
+#define _LUMINA_DESKTOP_NATIVE_WINDOW_WIDGET_H
+
+#include <global-includes.h>
+
+class NativeWindow : public QFrame{
+ Q_OBJECT
+public:
+ NativeWindow(NativeWindowObject *obj);
+ ~NativeWindow();
+
+private:
+ //Core object
+ NativeWindowObject *WIN;
+ // Interface items
+ void createFrame();
+ QToolButton *closeB, *minB, *maxB, *otherB;
+ QHBoxLayout *toolbarL;
+ QVBoxLayout *vlayout;
+ QLabel *titleLabel;
+ // Info cache variables
+ QRect oldgeom;
+
+private slots:
+
+};
+
+#endif
bgstack15