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
+1 -1
View File
@@ -148,7 +148,7 @@ void QtAbout::setupAbout()
QPushButton* closeButton = new QPushButton(this);
closeButton->setIcon(QIcon(closePixmap.pixmap()));
closeButton->setObjectName("closeButton");
closeButton->move(450, 20);
closeButton->move(455, 25);
closeButton->show();
connect(closeButton, SIGNAL(clicked()), this, SLOT(handleCloseButtonPress()));