summaryrefslogtreecommitdiff
path: root/tikzit/src/main.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2017-01-20 11:25:28 +0100
committerAleks Kissinger <aleks0@gmail.com>2017-01-20 11:25:28 +0100
commitb4f6b3997ba1d1355a42e6d2cd90e7715a9f9114 (patch)
treea80940205e2e367c630c73d47f29a460ce638e9a /tikzit/src/main.cpp
parent36ccd03c70c305e155e00e663da725546f8f2fd9 (diff)
directory structure
Diffstat (limited to 'tikzit/src/main.cpp')
-rw-r--r--tikzit/src/main.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/tikzit/src/main.cpp b/tikzit/src/main.cpp
new file mode 100644
index 0000000..0de5fd8
--- /dev/null
+++ b/tikzit/src/main.cpp
@@ -0,0 +1,23 @@
+
+#include "mainwindow.h"
+#include "toolpalette.h"
+#include "propertypalette.h"
+#include "graph.h"
+
+#include <QApplication>
+
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+ MainWindow *w = new MainWindow();
+ w->show();
+
+ ToolPalette *tp = new ToolPalette(new QMainWindow());
+ tp->show();
+ //w->addToolBar(Qt::LeftToolBarArea, tp);
+
+ PropertyPalette *pp = new PropertyPalette;
+ pp->show();
+
+ return a.exec();
+}