From 89c0d325d049666a07994c1a53461b8d7bb0d887 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Feb 2012 18:12:31 +0000 Subject: Added editor window with side bar. --- src/mainwindow.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/mainwindow.cc') diff --git a/src/mainwindow.cc b/src/mainwindow.cc index e0fe6b2..5dbc226 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -5,12 +5,16 @@ the GNU General Public License version 2 */ -#include -#include +#include "mainwindow.h" +#include "editorwindow.h" namespace editor { +/** + * @brief MainWindow is the application's main window. + * The main window contains a QMdiArea that manages ZoneEditor children + * */ MainWindow::MainWindow() { // set window title @@ -65,7 +69,7 @@ void MainWindow::init_menu() void MainWindow::add_child() { // create a child widget - MapWidget *child_widget = new MapWidget(); + EditorWindow *child_widget = new EditorWindow(); // add the widget to the MDI area, // this will wrap an QMdiSubWindow around it -- cgit v1.2.3