QTfrontend/hwform.cpp
changeset 2368 e0750b23c9e6
parent 2345 daf1785f2337
child 2377 f3fab2b09e0c
equal deleted inserted replaced
2367:86c9aadea817 2368:e0750b23c9e6
   164 
   164 
   165 	connect(ui.pageTraining->BtnStartTrain, SIGNAL(clicked()), this, SLOT(StartTraining()));
   165 	connect(ui.pageTraining->BtnStartTrain, SIGNAL(clicked()), this, SLOT(StartTraining()));
   166 	connect(ui.pageTraining->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
   166 	connect(ui.pageTraining->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
   167 
   167 
   168 	connect(ui.pageSelectWeapon->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
   168 	connect(ui.pageSelectWeapon->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
   169 	connect(ui.pageSelectWeapon->BtnDefault, SIGNAL(clicked()), ui.pageSelectWeapon->pWeapons, SLOT(setDefault()));
       
   170 	connect(ui.pageSelectWeapon->BtnSave, SIGNAL(clicked()), ui.pageSelectWeapon->pWeapons, SLOT(save()));
       
   171 
   169 
   172 	connect(ui.pageSelectWeapon->BtnDelete, SIGNAL(clicked()),
   170 	connect(ui.pageSelectWeapon->BtnDelete, SIGNAL(clicked()),
   173 		ui.pageSelectWeapon->pWeapons, SLOT(deleteWeaponsName())); // executed first
   171 		ui.pageSelectWeapon->pWeapons, SLOT(deleteWeaponsName())); // executed first
   174 	connect(ui.pageSelectWeapon->pWeapons, SIGNAL(weaponsDeleted()),
   172 	connect(ui.pageSelectWeapon->pWeapons, SIGNAL(weaponsDeleted()),
   175 		this, SLOT(UpdateWeapons())); // executed second
   173 		this, SLOT(UpdateWeapons())); // executed second