summaryrefslogtreecommitdiff
path: root/tikzit/main.cpp
blob: 50c6978ef554d29a271efd67ef568f51eb7807a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "mainwindow.h"
#include "toolpalette.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);

    Graph *g = new Graph;
    Node *n = g->addNode();
    delete g;

    return a.exec();
}