Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc10
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