--- a/QTfrontend/gamecfgwidget.cpp Fri Aug 15 07:50:31 2008 +0000
+++ b/QTfrontend/gamecfgwidget.cpp Fri Aug 15 07:54:13 2008 +0000
@@ -63,8 +63,6 @@
WeaponsName = new QComboBox(GBoxOptions);
GBoxOptionsLayout->addWidget(WeaponsName, 3, 1);
- mainLayout.addWidget(new QWidget(this), 5, 0);
-
connect(SB_InitHealth, SIGNAL(valueChanged(int)), this, SLOT(onInitHealthChanged(int)));
connect(SB_TurnTime, SIGNAL(valueChanged(int)), this, SLOT(onTurnTimeChanged(int)));
connect(CB_mode_Forts, SIGNAL(toggled(bool)), this, SLOT(onFortsModeChanged(bool)));
--- a/QTfrontend/pages.cpp Fri Aug 15 07:50:31 2008 +0000
+++ b/QTfrontend/pages.cpp Fri Aug 15 07:54:13 2008 +0000
@@ -250,15 +250,17 @@
{
QGridLayout * pageLayout = new QGridLayout(this);
- BtnBack = addButton(":/res/Exit.png", pageLayout, 1, 0, true);
+ BtnBack = addButton(":/res/Exit.png", pageLayout, 2, 0, true);
gameCFG = new GameCFGWidget(this);
pageLayout->addWidget(gameCFG, 0, 0, 1, 2);
+ pageLayout->setRowStretch(1, 1);
+
teamsSelect = new TeamSelWidget(this);
- pageLayout->addWidget(teamsSelect, 0, 2, 1, 2);
+ pageLayout->addWidget(teamsSelect, 0, 2, 2, 2);
- BtnStartMPGame = addButton(tr("Start"), pageLayout, 1, 3);
+ BtnStartMPGame = addButton(tr("Start"), pageLayout, 2, 3);
}
PageOptions::PageOptions(QWidget* parent) :