QTfrontend/gamecfgwidget.cpp
changeset 164 92cff18a3ab6
parent 138 00e8d3693e90
child 183 57c2ef19f719
--- a/QTfrontend/gamecfgwidget.cpp	Sun Sep 24 18:55:06 2006 +0000
+++ b/QTfrontend/gamecfgwidget.cpp	Sun Sep 24 19:51:16 2006 +0000
@@ -34,10 +34,14 @@
 #include <QResizeEvent>
 #include "gamecfgwidget.h"
 
-GameCFGWidget::GameCFGWidget(QWidget* parent) : QWidget(parent)
+GameCFGWidget::GameCFGWidget(QWidget* parent) : 
+  QWidget(parent), mainLayout(this)
 {
 	CB_mode_Forts = new QCheckBox(this);
 	CB_mode_Forts->setText(QCheckBox::tr("Forts mode"));
+	mainLayout.addWidget(CB_mode_Forts);
+	pMapContainer=new HWMapContainer(this);
+	mainLayout.addWidget(pMapContainer, 80);
 }
 
 quint32 GameCFGWidget::getGameFlags()
@@ -47,3 +51,8 @@
 		result |= 1;
 	return result;
 }
+
+QString GameCFGWidget::getCurrentSeed() const
+{
+  return pMapContainer->getCurrentSeed();
+}