QTfrontend/hwform.cpp
changeset 5567 44c9a577b082
parent 5255 947025eeb5dc
child 5651 a7de68f4f87f
equal deleted inserted replaced
5566:9ffa2e2ec550 5567:44c9a577b082
    62 #include "pagemain.h"
    62 #include "pagemain.h"
    63 #include "pagenetserver.h"
    63 #include "pagenetserver.h"
    64 #include "pagedrawmap.h"
    64 #include "pagedrawmap.h"
    65 #include "pagenettype.h"
    65 #include "pagenettype.h"
    66 #include "pagegamestats.h"
    66 #include "pagegamestats.h"
       
    67 #include "pageplayrecord.h"
       
    68 #include "pagedata.h"
    67 #include "hwconsts.h"
    69 #include "hwconsts.h"
    68 #include "newnetclient.h"
    70 #include "newnetclient.h"
    69 #include "gamecfgwidget.h"
    71 #include "gamecfgwidget.h"
    70 #include "netserverslist.h"
    72 #include "netserverslist.h"
    71 #include "netudpserver.h"
    73 #include "netudpserver.h"
    72 #include "chatwidget.h"
    74 #include "chatwidget.h"
    73 #include "pageplayrecord.h"
       
    74 #include "input_ip.h"
    75 #include "input_ip.h"
    75 #include "ammoSchemeModel.h"
    76 #include "ammoSchemeModel.h"
    76 #include "bgwidget.h"
    77 #include "bgwidget.h"
    77 #include "xfire.h"
    78 #include "xfire.h"
    78 #include "drawmapwidget.h"
    79 #include "drawmapwidget.h"
   148     pageSwitchMapper->setMapping(ui.pageMain->BtnSetup, ID_PAGE_SETUP);
   149     pageSwitchMapper->setMapping(ui.pageMain->BtnSetup, ID_PAGE_SETUP);
   149     
   150     
   150     connect(ui.pageMain->BtnNet, SIGNAL(clicked()), pageSwitchMapper, SLOT(map()));
   151     connect(ui.pageMain->BtnNet, SIGNAL(clicked()), pageSwitchMapper, SLOT(map()));
   151     pageSwitchMapper->setMapping(ui.pageMain->BtnNet, ID_PAGE_NETTYPE);
   152     pageSwitchMapper->setMapping(ui.pageMain->BtnNet, ID_PAGE_NETTYPE);
   152     connect(ui.pageMain->BtnInfo, SIGNAL(clicked()), pageSwitchMapper, SLOT(map()));
   153     connect(ui.pageMain->BtnInfo, SIGNAL(clicked()), pageSwitchMapper, SLOT(map()));
   153     pageSwitchMapper->setMapping(ui.pageMain->BtnInfo, ID_PAGE_INFO);
   154     pageSwitchMapper->setMapping(ui.pageMain->BtnInfo, ID_PAGE_DATADOWNLOAD);
   154 
   155 
   155     connect(ui.pageMain->BtnExit, SIGNAL(pressed()), this, SLOT(btnExitPressed()));
   156     connect(ui.pageMain->BtnExit, SIGNAL(pressed()), this, SLOT(btnExitPressed()));
   156     connect(ui.pageMain->BtnExit, SIGNAL(clicked()), this, SLOT(btnExitClicked()));
   157     connect(ui.pageMain->BtnExit, SIGNAL(clicked()), this, SLOT(btnExitClicked()));
       
   158 
       
   159     connect(ui.pageDataDownload->BtnBack, SIGNAL(clicked()), this, SLOT(GoBack()));
   157 
   160 
   158     connect(ui.pageEditTeam->BtnTeamSave, SIGNAL(clicked()), this, SLOT(TeamSave()));
   161     connect(ui.pageEditTeam->BtnTeamSave, SIGNAL(clicked()), this, SLOT(TeamSave()));
   159     connect(ui.pageEditTeam->BtnTeamDiscard, SIGNAL(clicked()), this, SLOT(TeamDiscard()));
   162     connect(ui.pageEditTeam->BtnTeamDiscard, SIGNAL(clicked()), this, SLOT(TeamDiscard()));
   160 
   163 
   161     connect(ui.pageEditTeam->signalMapper, SIGNAL(mapped(const int &)), this, SLOT(RandomName(const int &)));
   164     connect(ui.pageEditTeam->signalMapper, SIGNAL(mapped(const int &)), this, SLOT(RandomName(const int &)));