ui: center windows on top of main window

* justify windows in middle of main window
* fixed window resizing
* add window displacement automatic with logo
This commit is contained in:
Eberhard Graether
2016-03-02 10:36:50 +01:00
parent f3534ac6a8
commit 4425b39ea1
7 changed files with 36 additions and 31 deletions
+2 -4
View File
@@ -14,14 +14,14 @@
#include "utility/ResourcePaths.h"
QtLicense::QtLicense(QWidget *parent)
: QtWindow(parent, 68)
: QtWindow(parent)
{
raise();
}
QSize QtLicense::sizeHint() const
{
return QSize(725, 550);
return QSize(750, 550);
}
void QtLicense::clear()
@@ -112,8 +112,6 @@ void QtLicense::populateWindow(QWidget* widget)
layout->addSpacing(20);
widget->setLayout(layout);
resize(750, 550);
}
void QtLicense::windowReady()