author | nemo |
Mon, 08 Feb 2010 12:49:41 +0000 | |
changeset 2766 | aa3120a9e22c |
parent 2515 | 51d3f4b6293a |
child 2948 | 3f21a9dc93d0 |
permissions | -rw-r--r-- |
184 | 1 |
/* |
1066 | 2 |
* Hedgewars, a free turn based strategy game |
883 | 3 |
* Copyright (c) 2006-2008 Andrey Korotaev <unC0Rr@gmail.com> |
184 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
17 |
*/ |
|
18 |
||
471 | 19 |
#ifndef UI_HWFORM_H |
184 | 20 |
#define UI_HWFORM_H |
21 |
||
22 |
class PageMain; |
|
23 |
class PageEditTeam; |
|
24 |
class PageMultiplayer; |
|
25 |
class PagePlayDemo; |
|
26 |
class PageOptions; |
|
27 |
class PageNet; |
|
646 | 28 |
class PageNetServer; |
184 | 29 |
class PageNetChat; |
30 |
class PageNetGame; |
|
187 | 31 |
class PageInfo; |
306 | 32 |
class PageGameStats; |
586 | 33 |
class PageSinglePlayer; |
587 | 34 |
class PageTraining; |
600 | 35 |
class PageSelectWeapon; |
686 | 36 |
class PageInGame; |
1311 | 37 |
class PageRoomsList; |
1800 | 38 |
class PageConnecting; |
1884 | 39 |
class PageScheme; |
1905 | 40 |
class PageAdmin; |
1950 | 41 |
class PageNetType; |
471 | 42 |
class QStackedLayout; |
43 |
class QFont; |
|
44 |
class QWidget; |
|
45 |
class QMainWindow; |
|
2515
51d3f4b6293a
revert audio to use SDL_mixer -- also frontend uses it, so it needs sdlmixer sources
koda
parents:
1950
diff
changeset
|
46 |
class HWForm; |
184 | 47 |
|
48 |
class Ui_HWForm |
|
49 |
{ |
|
50 |
public: |
|
51 |
QWidget *centralWidget; |
|
52 |
||
53 |
PageMain *pageMain; |
|
54 |
PageEditTeam *pageEditTeam; |
|
55 |
PageMultiplayer *pageMultiplayer; |
|
56 |
PagePlayDemo *pagePlayDemo; |
|
57 |
PageOptions *pageOptions; |
|
58 |
PageNet *pageNet; |
|
646 | 59 |
PageNetServer * pageNetServer; |
184 | 60 |
PageNetChat *pageNetChat; |
61 |
PageNetGame *pageNetGame; |
|
187 | 62 |
PageInfo *pageInfo; |
306 | 63 |
PageGameStats *pageGameStats; |
586 | 64 |
PageSinglePlayer *pageSinglePlayer; |
587 | 65 |
PageTraining *pageTraining; |
600 | 66 |
PageSelectWeapon *pageSelectWeapon; |
686 | 67 |
PageInGame *pageInGame; |
1311 | 68 |
PageRoomsList *pageRoomsList; |
1800 | 69 |
PageConnecting *pageConnecting; |
1884 | 70 |
PageScheme *pageScheme; |
1905 | 71 |
PageAdmin *pageAdmin; |
1950 | 72 |
PageNetType *pageNetType; |
184 | 73 |
|
74 |
QStackedLayout *Pages; |
|
75 |
QFont *font14; |
|
76 |
||
2515
51d3f4b6293a
revert audio to use SDL_mixer -- also frontend uses it, so it needs sdlmixer sources
koda
parents:
1950
diff
changeset
|
77 |
void setupUi(HWForm *HWForm); |
184 | 78 |
void SetupFonts(); |
2515
51d3f4b6293a
revert audio to use SDL_mixer -- also frontend uses it, so it needs sdlmixer sources
koda
parents:
1950
diff
changeset
|
79 |
void SetupPages(QWidget *Parent, HWForm *HWForm); |
184 | 80 |
void SetupPageNetChat(QWidget *Parent); |
81 |
void SetupPageNetGame(QWidget *Parent); |
|
82 |
}; |
|
83 |
||
84 |
#endif // UI_HWFORM_H |