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 |