QTfrontend/ui_hwform.cpp
changeset 586 ecb6347dfeca
parent 585 7531ae5b146e
child 587 74db4115064a
equal deleted inserted replaced
585:7531ae5b146e 586:ecb6347dfeca
    50 	font14 = new QFont("MS Shell Dlg", 14);
    50 	font14 = new QFont("MS Shell Dlg", 14);
    51 }
    51 }
    52 
    52 
    53 void Ui_HWForm::SetupPages(QWidget *Parent)
    53 void Ui_HWForm::SetupPages(QWidget *Parent)
    54 {
    54 {
    55 	Pages =	new QStackedLayout(Parent);
    55 	Pages = new QStackedLayout(Parent);
    56 
    56 
    57 	pageSimpleGame = new PageSimpleGame();
    57 	pageSimpleGame = new PageSimpleGame();
    58 	Pages->addWidget(pageSimpleGame);
    58 	Pages->addWidget(pageSimpleGame);
    59 
    59 
    60 	pageEditTeam = new PageEditTeam();
    60 	pageEditTeam = new PageEditTeam();
    64 	Pages->addWidget(pageOptions);
    64 	Pages->addWidget(pageOptions);
    65 
    65 
    66 	pageMultiplayer = new PageMultiplayer();
    66 	pageMultiplayer = new PageMultiplayer();
    67 	Pages->addWidget(pageMultiplayer);
    67 	Pages->addWidget(pageMultiplayer);
    68 
    68 
    69 	pagePlayDemo =	new PagePlayDemo();
    69 	pagePlayDemo = new PagePlayDemo();
    70 	Pages->addWidget(pagePlayDemo);
    70 	Pages->addWidget(pagePlayDemo);
    71 
    71 
    72 	pageNet = new PageNet();
    72 	pageNet = new PageNet();
    73 	Pages->addWidget(pageNet);
    73 	Pages->addWidget(pageNet);
    74 
    74 
    75 	pageNetGame	= new PageNetGame();
    75 	pageNetGame = new PageNetGame();
    76 	Pages->addWidget(pageNetGame);
    76 	Pages->addWidget(pageNetGame);
    77 
    77 
    78 	pageInfo = new PageInfo();
    78 	pageInfo = new PageInfo();
    79 	Pages->addWidget(pageInfo);
    79 	Pages->addWidget(pageInfo);
    80 
    80 
    81 	pageMain = new PageMain();
    81 	pageMain = new PageMain();
    82 	Pages->addWidget(pageMain);
    82 	Pages->addWidget(pageMain);
    83 
    83 
    84 	pageGameStats = new PageGameStats();
    84 	pageGameStats = new PageGameStats();
    85 	Pages->addWidget(pageGameStats);
    85 	Pages->addWidget(pageGameStats);
       
    86 
       
    87 	pageSinglePlayer = new PageSinglePlayer();
       
    88 	Pages->addWidget(pageSinglePlayer);
    86 }
    89 }