project: added project skeleton

Skeleton includes emtpy implementations of application class structure.
Source groups were added to CMakeLists to define filters in Visual Studio.
This commit is contained in:
Eberhard Graether
2014-03-31 17:59:52 +02:00
parent b5f91e62fa
commit d4e3433e5d
72 changed files with 957 additions and 57 deletions
+11 -6
View File
@@ -1,16 +1,21 @@
#include <memory>
#include <QApplication>
#include <QTextEdit>
#include "utility.h"
#include "Application.h"
#include "qt/QtElementFactory.h"
int main(int argv, char **args)
{
hello();
QApplication qtApp(argv, args);
std::shared_ptr<GuiElementFactory> elementFactory = std::make_shared<QtElementFactory>();
QApplication app(argv, args);
std::shared_ptr<Application> app = Application::create(elementFactory);
app->loadProject();
QTextEdit textEdit;
textEdit.show();
QTextEdit textEdit;
textEdit.show();
return app.exec();
return qtApp.exec();
}