diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-18 18:12:31 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-18 18:12:31 +0000 |
commit | 89c0d325d049666a07994c1a53461b8d7bb0d887 (patch) | |
tree | f2dce5bd5ef81b3e4b6e6fc02ac29040931867d4 /src/mainwindow.cc | |
parent | 141ad1e5ae7588906d8474dfdead5762370ce222 (diff) |
Added editor window with side bar.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r-- | src/mainwindow.cc | 10 |
1 files changed, 7 insertions, 3 deletions
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 <mainwindow.h> -#include <mapwidget.h> +#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 |