ui: Made QtWindow resizeable with resize grip

* added size grip to bottom right corner of QtWindow
* use layouts on start screen
* added close button in about window to layout

bug id = 102
This commit is contained in:
Eberhard Graether
2016-06-30 13:52:18 +02:00
parent b5d9d20bc9
commit 32f894422d
7 changed files with 156 additions and 93 deletions
+4
View File
@@ -3,6 +3,7 @@
#include <QHBoxLayout>
#include <QResizeEvent>
#include <QSizeGrip>
#include <QWidget>
#include "qt/window/QtWindowStack.h"
@@ -71,6 +72,7 @@ protected:
void addLogo();
QWidget* m_window;
QWidget* m_content;
QLabel* m_title;
@@ -92,6 +94,8 @@ private:
QPoint m_dragPosition;
bool m_mousePressedInWindow;
QSizeGrip* m_sizeGrip;
};
#endif // QT_WINDOW_H