--- a/QTfrontend/hwform.cpp Thu Sep 06 15:31:52 2007 +0000
+++ b/QTfrontend/hwform.cpp Thu Sep 06 18:14:12 2007 +0000
@@ -74,6 +74,7 @@
connect(ui.pageMultiplayer->BtnStartMPGame, SIGNAL(clicked()), this, SLOT(StartMPGame()));
connect(ui.pageMultiplayer->teamsSelect, SIGNAL(setEnabledGameStart(bool)),
ui.pageMultiplayer->BtnStartMPGame, SLOT(setEnabled(bool)));
+ connect(ui.pageMultiplayer->teamsSelect, SIGNAL(SetupClicked()), this, SLOT(IntermediateSetup()));
connect(ui.pagePlayDemo->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
connect(ui.pagePlayDemo->BtnPlayDemo, SIGNAL(clicked()), this, SLOT(PlayDemo()));
@@ -102,7 +103,9 @@
connect(ui.pageGameStats->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
- connect(ui.pageMultiplayer->teamsSelect, SIGNAL(SetupClicked()), this, SLOT(IntermediateSetup()));
+ connect(ui.pageSinglePlayer->BtnSimpleGamePage, SIGNAL(clicked()), this, SLOT(GoToSimpleGame()));
+ connect(ui.pageSinglePlayer->BtnTrainPage, SIGNAL(clicked()), this, SLOT(GoBack()));
+ connect(ui.pageSinglePlayer->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
GoToPage(ID_PAGE_MAIN);
}
@@ -136,6 +139,11 @@
GoToPage(ID_PAGE_SINGLEPLAYER);
}
+void HWForm::GoToSimpleGame()
+{
+ GoToPage(ID_PAGE_SIMPLEGAME);
+}
+
void HWForm::GoToSetup()
{
GoToPage(ID_PAGE_SETUP);