QTfrontend/ui_hwform.h
author unc0rr
Thu, 05 Oct 2006 16:33:18 +0000
changeset 183 57c2ef19f719
parent 128 223522298250
child 184 f97a7a3dc8f6
permissions -rw-r--r--
Relicense to GPL
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
128
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
     1
/*
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
     2
 * Hedgewars, a worms-like game
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
     3
 * Copyright (c) 2006 Andrey Korotaev <unC0Rr@gmail.com>
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
     4
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
     5
 * This program is free software; you can redistribute it and/or modify
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
     7
 * the Free Software Foundation; version 2 of the License
128
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
     8
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
     9
 * This program is distributed in the hope that it will be useful,
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
    12
 * GNU General Public License for more details.
128
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
    13
 *
183
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
    14
 * You should have received a copy of the GNU General Public License
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
    15
 * along with this program; if not, write to the Free Software
57c2ef19f719 Relicense to GPL
unc0rr
parents: 128
diff changeset
    16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
128
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
    17
 */
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
    18
223522298250 Update file headers & delete unneeded files
unc0rr
parents: 87
diff changeset
    19
 #ifndef UI_HWFORM_H
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    20
#define UI_HWFORM_H
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    21
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    22
#include <QtCore/QVariant>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    23
#include <QtGui/QAction>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    24
#include <QtGui/QApplication>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    25
#include <QtGui/QButtonGroup>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    26
#include <QtGui/QCheckBox>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    27
#include <QtGui/QComboBox>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    28
#include <QtGui/QGroupBox>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    29
#include <QtGui/QLabel>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    30
#include <QtGui/QLineEdit>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    31
#include <QtGui/QListWidget>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    32
#include <QtGui/QMainWindow>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    33
#include <QtGui/QPushButton>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    34
#include <QtGui/QStackedWidget>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    35
#include <QtGui/QToolBox>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    36
#include <QtGui/QWidget>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    37
#include <QStackedLayout>
87
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    38
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    39
class PageMain;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    40
class PageLocalGame;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    41
class PageEditTeam;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    42
class PageMultiplayer;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    43
class PagePlayDemo;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    44
class PageOptions;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    45
class PageNet;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    46
class PageNetChat;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    47
class PageNetGame;
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    48
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    49
class Ui_HWForm
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    50
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    51
public:
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    52
	QWidget *centralWidget;
87
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    53
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    54
	PageMain *pageMain;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    55
	PageLocalGame *pageLocalGame;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    56
	PageEditTeam *pageEditTeam;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    57
	PageMultiplayer *pageMultiplayer;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    58
	PagePlayDemo *pagePlayDemo;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    59
	PageOptions *pageOptions;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    60
	PageNet *pageNet;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    61
	PageNetChat *pageNetChat;
ff213e443336 Convert all pages to classes
unc0rr
parents: 85
diff changeset
    62
	PageNetGame *pageNetGame;
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    63
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    64
	QStackedLayout *Pages;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    65
	QFont *font14;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    66
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    67
	void setupUi(QMainWindow *HWForm);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    68
	void SetupFonts();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    69
	void SetupPages(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    70
	void SetupPageNetChat(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    71
	void SetupPageNetGame(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    72
};
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    73
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    74
#endif // UI_HWFORM_H