QTfrontend/hwform.cpp
changeset 683 57d624f71e65
parent 681 7a20c50988ec
child 686 494b5880989a
equal deleted inserted replaced
682:a37b6966de84 683:57d624f71e65
   116 
   116 
   117 	connect(ui.pageTraining->BtnStartTrain,	SIGNAL(clicked()),	this, SLOT(StartTraining()));
   117 	connect(ui.pageTraining->BtnStartTrain,	SIGNAL(clicked()),	this, SLOT(StartTraining()));
   118 	connect(ui.pageTraining->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
   118 	connect(ui.pageTraining->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
   119 
   119 
   120 	connect(ui.pageSelectWeapon->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
   120 	connect(ui.pageSelectWeapon->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
       
   121 	connect(ui.pageSelectWeapon->BtnDefault,	SIGNAL(clicked()),	ui.pageSelectWeapon->pWeapons, SLOT(setDefault()));
       
   122 	connect(ui.pageSelectWeapon->BtnSave,	SIGNAL(clicked()),	ui.pageSelectWeapon->pWeapons, SLOT(save()));
   121 
   123 
   122 	GoToPage(ID_PAGE_MAIN);
   124 	GoToPage(ID_PAGE_MAIN);
   123 }
   125 }
   124 
   126 
   125 void HWForm::UpdateTeamsLists(const QStringList* editable_teams)
   127 void HWForm::UpdateTeamsLists(const QStringList* editable_teams)