diff options
Diffstat (limited to 'tikzit/src/main.cpp')
-rw-r--r-- | tikzit/src/main.cpp | 23 |
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(); +} |