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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user