128
|
1 |
/*
|
|
2 |
* Hedgewars, a worms-like game
|
|
3 |
* Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
|
|
4 |
*
|
183
|
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
|
128
|
8 |
*
|
183
|
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.
|
128
|
13 |
*
|
183
|
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
|
128
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef UI_HWFORM_H
|
84
|
20 |
#define UI_HWFORM_H
|
|
21 |
|
|
22 |
#include <QtCore/QVariant>
|
|
23 |
#include <QtGui/QAction>
|
|
24 |
#include <QtGui/QApplication>
|
|
25 |
#include <QtGui/QButtonGroup>
|
|
26 |
#include <QtGui/QCheckBox>
|
|
27 |
#include <QtGui/QComboBox>
|
|
28 |
#include <QtGui/QGroupBox>
|
|
29 |
#include <QtGui/QLabel>
|
|
30 |
#include <QtGui/QLineEdit>
|
|
31 |
#include <QtGui/QListWidget>
|
|
32 |
#include <QtGui/QMainWindow>
|
|
33 |
#include <QtGui/QPushButton>
|
|
34 |
#include <QtGui/QStackedWidget>
|
|
35 |
#include <QtGui/QToolBox>
|
|
36 |
#include <QtGui/QWidget>
|
|
37 |
#include <QStackedLayout>
|
87
|
38 |
|
|
39 |
class PageMain;
|
|
40 |
class PageLocalGame;
|
|
41 |
class PageEditTeam;
|
|
42 |
class PageMultiplayer;
|
|
43 |
class PagePlayDemo;
|
|
44 |
class PageOptions;
|
|
45 |
class PageNet;
|
|
46 |
class PageNetChat;
|
|
47 |
class PageNetGame;
|
84
|
48 |
|
|
49 |
class Ui_HWForm
|
|
50 |
{
|
|
51 |
public:
|
|
52 |
QWidget *centralWidget;
|
87
|
53 |
|
|
54 |
PageMain *pageMain;
|
|
55 |
PageLocalGame *pageLocalGame;
|
|
56 |
PageEditTeam *pageEditTeam;
|
|
57 |
PageMultiplayer *pageMultiplayer;
|
|
58 |
PagePlayDemo *pagePlayDemo;
|
|
59 |
PageOptions *pageOptions;
|
|
60 |
PageNet *pageNet;
|
|
61 |
PageNetChat *pageNetChat;
|
|
62 |
PageNetGame *pageNetGame;
|
84
|
63 |
|
|
64 |
QStackedLayout *Pages;
|
|
65 |
QFont *font14;
|
|
66 |
|
|
67 |
void setupUi(QMainWindow *HWForm);
|
|
68 |
void SetupFonts();
|
|
69 |
void SetupPages(QWidget *Parent);
|
|
70 |
void SetupPageNetChat(QWidget *Parent);
|
|
71 |
void SetupPageNetGame(QWidget *Parent);
|
|
72 |
};
|
|
73 |
|
|
74 |
#endif // UI_HWFORM_H
|