QTfrontend/hwform.cpp
changeset 600 f6e5f4e122db
parent 597 ec5f057ab268
child 601 78a68cc4d846
--- a/QTfrontend/hwform.cpp	Tue Sep 18 18:53:54 2007 +0000
+++ b/QTfrontend/hwform.cpp	Tue Sep 18 19:52:46 2007 +0000
@@ -86,6 +86,7 @@
 	connect(ui.pageOptions->BtnEditTeam,	SIGNAL(clicked()),	this, SLOT(EditTeam()));
 	connect(ui.pageOptions->BtnSaveOptions,	SIGNAL(clicked()),	config, SLOT(SaveOptions()));
 	connect(ui.pageOptions->BtnSaveOptions,	SIGNAL(clicked()),	this, SLOT(GoBack()));
+	connect(ui.pageOptions->WeaponsButt,	SIGNAL(clicked()),	this, SLOT(GoToSelectWeapon()));
 	// TODO
 
 	connect(ui.pageNet->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
@@ -112,6 +113,8 @@
 	connect(ui.pageTraining->BtnStartTrain,	SIGNAL(clicked()),	this, SLOT(StartTraining()));
 	connect(ui.pageTraining->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
 
+	connect(ui.pageSelectWeapon->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
+
 	GoToPage(ID_PAGE_MAIN);
 }
 
@@ -159,6 +162,11 @@
 	GoToPage(ID_PAGE_SETUP);
 }
 
+void HWForm::GoToSelectWeapon()
+{
+	GoToPage(ID_PAGE_SELECTWEAPON);
+}
+
 void HWForm::GoToInfo()
 {
 	GoToPage(ID_PAGE_INFO);