diff options
Diffstat (limited to 'src/gui/main-window.C')
-rw-r--r-- | src/gui/main-window.C | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/main-window.C b/src/gui/main-window.C index 9409fde8..6e0e16a7 100644 --- a/src/gui/main-window.C +++ b/src/gui/main-window.C @@ -31,18 +31,23 @@ #include <QMenuBar> #include <QAction> +#include <QScrollArea> +#include "engine-widget.h" #include "main-window.h" namespace OpenAxiom { - MainWindow::MainWindow() { + + MainWindow::MainWindow() : tabs(this) { + setCentralWidget(&tabs); + tabs.addTab(new Debate(&tabs), "Main Frame"); QMenu* file = menuBar()->addMenu(tr("&File")); QAction* action = new QAction(tr("Quit"), this); file->addAction(action); action->setShortcut(tr("Ctrl+Q")); connect(action, SIGNAL(triggered()), this, SLOT(close())); } - + MainWindow::~MainWindow() { } } |