ui: added ApplicationSettingsScreen

* opens on first start autmatically
* open from the menu under Preferences
* show version number on splash screen
* added recent projects markup to app settings template
* moved all qt window classes to qt/window
* put common form stuff from project setup and app settings into QtSettingsWindow
This commit is contained in:
Eberhard Graether
2015-09-04 14:38:30 +02:00
parent 5ab627b735
commit 1ba802dd9b
25 changed files with 450 additions and 196 deletions
+3 -2
View File
@@ -8,9 +8,10 @@
#include "Application.h"
#include "includes.h" // defines 'void setup(int argc, char *argv[])'
#include "qt/element/QtSplashScreen.h"
#include "qt/window/QtSplashScreen.h"
#include "qt/utility/utilityQt.h"
#include "qt/view/QtViewFactory.h"
#include "version.h"
void init()
{
@@ -37,7 +38,7 @@ int main(int argc, char *argv[])
QtSplashScreen* splash = new QtSplashScreen(whitePixmap, Qt::WindowStaysOnTopHint);
splash->setMessage("Loading UI");
splash->setVersion("0.1");
splash->setVersion(GIT_VERSION_NUMBER);
splash->exec(qtApp);
init();