QTfrontend/hwform.cpp
changeset 600 f6e5f4e122db
parent 597 ec5f057ab268
child 601 78a68cc4d846
equal deleted inserted replaced
599:7c7b90c402d3 600:f6e5f4e122db
    84 	connect(ui.pageOptions->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
    84 	connect(ui.pageOptions->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
    85 	connect(ui.pageOptions->BtnNewTeam,	SIGNAL(clicked()),	this, SLOT(NewTeam()));
    85 	connect(ui.pageOptions->BtnNewTeam,	SIGNAL(clicked()),	this, SLOT(NewTeam()));
    86 	connect(ui.pageOptions->BtnEditTeam,	SIGNAL(clicked()),	this, SLOT(EditTeam()));
    86 	connect(ui.pageOptions->BtnEditTeam,	SIGNAL(clicked()),	this, SLOT(EditTeam()));
    87 	connect(ui.pageOptions->BtnSaveOptions,	SIGNAL(clicked()),	config, SLOT(SaveOptions()));
    87 	connect(ui.pageOptions->BtnSaveOptions,	SIGNAL(clicked()),	config, SLOT(SaveOptions()));
    88 	connect(ui.pageOptions->BtnSaveOptions,	SIGNAL(clicked()),	this, SLOT(GoBack()));
    88 	connect(ui.pageOptions->BtnSaveOptions,	SIGNAL(clicked()),	this, SLOT(GoBack()));
       
    89 	connect(ui.pageOptions->WeaponsButt,	SIGNAL(clicked()),	this, SLOT(GoToSelectWeapon()));
    89 	// TODO
    90 	// TODO
    90 
    91 
    91 	connect(ui.pageNet->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
    92 	connect(ui.pageNet->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
    92 	connect(ui.pageNet->BtnNetConnect,	SIGNAL(clicked()),	this, SLOT(NetConnect()));
    93 	connect(ui.pageNet->BtnNetConnect,	SIGNAL(clicked()),	this, SLOT(NetConnect()));
    93 	connect(ui.pageNet->BtnNetSvrStart, SIGNAL(clicked()), this, SLOT(NetStartServer()));
    94 	connect(ui.pageNet->BtnNetSvrStart, SIGNAL(clicked()), this, SLOT(NetStartServer()));
   110 	connect(ui.pageSinglePlayer->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
   111 	connect(ui.pageSinglePlayer->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
   111 
   112 
   112 	connect(ui.pageTraining->BtnStartTrain,	SIGNAL(clicked()),	this, SLOT(StartTraining()));
   113 	connect(ui.pageTraining->BtnStartTrain,	SIGNAL(clicked()),	this, SLOT(StartTraining()));
   113 	connect(ui.pageTraining->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
   114 	connect(ui.pageTraining->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
   114 
   115 
       
   116 	connect(ui.pageSelectWeapon->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
       
   117 
   115 	GoToPage(ID_PAGE_MAIN);
   118 	GoToPage(ID_PAGE_MAIN);
   116 }
   119 }
   117 
   120 
   118 void HWForm::UpdateTeamsLists(const QStringList* editable_teams)
   121 void HWForm::UpdateTeamsLists(const QStringList* editable_teams)
   119 {
   122 {
   155 }
   158 }
   156 
   159 
   157 void HWForm::GoToSetup()
   160 void HWForm::GoToSetup()
   158 {
   161 {
   159 	GoToPage(ID_PAGE_SETUP);
   162 	GoToPage(ID_PAGE_SETUP);
       
   163 }
       
   164 
       
   165 void HWForm::GoToSelectWeapon()
       
   166 {
       
   167 	GoToPage(ID_PAGE_SELECTWEAPON);
   160 }
   168 }
   161 
   169 
   162 void HWForm::GoToInfo()
   170 void HWForm::GoToInfo()
   163 {
   171 {
   164 	GoToPage(ID_PAGE_INFO);
   172 	GoToPage(ID_PAGE_INFO);