QTfrontend/pages.cpp
changeset 4520 e7882bd1a894
parent 4500 22d06b4be225
child 4576 d85062310790
--- a/QTfrontend/pages.cpp	Mon Dec 13 19:26:20 2010 +0100
+++ b/QTfrontend/pages.cpp	Mon Dec 13 22:12:30 2010 +0300
@@ -63,6 +63,7 @@
 #include "togglebutton.h"
 #include "hwform.h"
 #include "SDLs.h"
+#include "drawmapwidget.h"
 
 PageMain::PageMain(QWidget* parent) :
   AbstractPage(parent)
@@ -2017,5 +2018,8 @@
 {
     QGridLayout * pageLayout = new QGridLayout(this);
 
-    BtnBack = addButton(":/res/Exit.png", pageLayout, 0, 0, true);
+    BtnBack = addButton(":/res/Exit.png", pageLayout, 1, 0, true);
+
+    drawMapWidget = new DrawMapWidget(this);
+    pageLayout->addWidget(drawMapWidget, 0, 0, 1, 2);
 }