ui: project wizzard design

* switched to QGridLayout for wizzard content layouting
* distinguish scrollable windows based on content
* content can define window size
* removed QtApplicationSettingsScreen, now done via QtProjectWizzardWindow and QtProjectWizzardContentPreferences
* added new project icon
This commit is contained in:
Eberhard Graether
2016-02-19 11:52:46 +01:00
parent a8f5fd02f1
commit 6e460afbfc
47 changed files with 797 additions and 405 deletions
+3 -12
View File
@@ -13,7 +13,6 @@
#include "qt/utility/utilityQt.h"
#include "qt/view/QtViewWidgetWrapper.h"
#include "qt/window/project_wizzard/QtProjectWizzard.h"
#include "qt/window/QtApplicationSettingsScreen.h"
#include "qt/window/QtStartScreen.h"
#include "qt/window/QtAboutLicense.h"
#include "qt/window/QtAbout.h"
@@ -303,18 +302,10 @@ QtSettingsWindow* QtMainWindow::about()
return aboutWindow;
}
QtSettingsWindow* QtMainWindow::openSettings()
void QtMainWindow::openSettings()
{
QtApplicationSettingsScreen* applicationSettingsScreen = new QtApplicationSettingsScreen(this);
applicationSettingsScreen->setup();
connect(applicationSettingsScreen, SIGNAL(finished()), &m_windowStack, SLOT(popWindow()));
connect(applicationSettingsScreen, SIGNAL(canceled()), &m_windowStack, SLOT(popWindow()));
applicationSettingsScreen->load();
m_windowStack.pushWindow(applicationSettingsScreen);
return applicationSettingsScreen;
QtProjectWizzard* wizzard = createWindow<QtProjectWizzard>();
wizzard->showPreferences();
}
QtSettingsWindow* QtMainWindow::showLicenses()