aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 83bba4c..b4a143b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,16 +1,24 @@
#include "diagram/Structogram.hpp"
+#include "ui/Window.hpp"
#include <iostream>
#include <memory>
+#include <QApplication>
+
using namespace samb;
int main(int argc, char *argv[]) {
- Structogram st("Example");
+ QApplication app(argc, argv);
+
+ Window window;
+ window.show();
+
+ Structogram st("Example");
- return 0;
+ return app.exec();
}