diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2017-02-28 14:46:39 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2017-02-28 14:46:39 +0100 |
commit | cb322a3acee9debf40c48ad1e3fb4458b0f51b7f (patch) | |
tree | 2cd3dc1060885152f0c706e0cf52bff0d8181d1e /tikzit/src/main.cpp | |
parent | e1756ba69dd626073e22fd0a4f4c5fda42c88829 (diff) |
generic nodes
Diffstat (limited to 'tikzit/src/main.cpp')
-rw-r--r-- | tikzit/src/main.cpp | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/tikzit/src/main.cpp b/tikzit/src/main.cpp index e004529..b676211 100644 --- a/tikzit/src/main.cpp +++ b/tikzit/src/main.cpp @@ -1,25 +1,14 @@ - -#include "mainwindow.h" -#include "toolpalette.h" -#include "propertypalette.h" -#include "graph.h" +#include "tikzit.h" #include <QApplication> +#include <QMenuBar> int main(int argc, char *argv[]) { QApplication a(argc, argv); - - ToolPalette *tp = new ToolPalette(new QMainWindow()); - tp->show(); - //w->addToolBar(Qt::LeftToolBarArea, tp); - - PropertyPalette *pp = new PropertyPalette; - pp->show(); - - MainWindow *w = new MainWindow(); - w->show(); + a.setQuitOnLastWindowClosed(false); + tikzit = new Tikzit(); return a.exec(); } |