QTfrontend/ui_hwform.h
author unc0rr
Mon, 24 Jul 2006 22:37:34 +0000
changeset 84 0f6669da2fcb
child 85 44d9045b26ff
permissions -rw-r--r--
Start rewrite ui
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     1
#ifndef UI_HWFORM_H
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     2
#define UI_HWFORM_H
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     3
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     4
#include <QtCore/QVariant>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     5
#include <QtGui/QAction>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     6
#include <QtGui/QApplication>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     7
#include <QtGui/QButtonGroup>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     8
#include <QtGui/QCheckBox>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     9
#include <QtGui/QComboBox>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    10
#include <QtGui/QGroupBox>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    11
#include <QtGui/QLabel>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    12
#include <QtGui/QLineEdit>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    13
#include <QtGui/QListWidget>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    14
#include <QtGui/QMainWindow>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    15
#include <QtGui/QPushButton>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    16
#include <QtGui/QStackedWidget>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    17
#include <QtGui/QToolBox>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    18
#include <QtGui/QWidget>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    19
#include <QStackedLayout>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    20
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    21
class Ui_HWForm
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    22
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    23
public:
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    24
	QWidget *centralWidget;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    25
	QWidget *pageLG;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    26
	QPushButton *BtnSimpleGame;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    27
	QPushButton *BtnSPBack;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    28
	QWidget *pageET;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    29
	QGroupBox *GBoxHedgehogs;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    30
	QGroupBox *GBoxTeam;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    31
	QGroupBox *GBoxFort;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    32
	QComboBox *CBFort;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    33
	QLabel *FortPreview;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    34
	QGroupBox *GBoxGrave;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    35
	QComboBox *CBGrave;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    36
	QLabel *GravePreview;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    37
	QGroupBox *GBoxBinds;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    38
	QToolBox *BindsBox;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    39
	QWidget *page_A;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    40
	QWidget *page_W;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    41
	QWidget *page_WP;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    42
	QWidget *page_O;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    43
	QPushButton *BtnTeamDiscard;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    44
	QPushButton *BtnTeamSave;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    45
	QWidget *pageOpt;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    46
	QGroupBox *groupBox;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    47
	QPushButton *BtnNewTeam;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    48
	QPushButton *BtnEditTeam;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    49
	QComboBox *CBTeamName;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    50
	QComboBox *CBResolution;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    51
	QCheckBox *CBEnableSound;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    52
	QCheckBox *CBFullscreen;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    53
	QLabel *label;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    54
	QLineEdit *editNetNick;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    55
	QPushButton *BtnSaveOptions;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    56
	QPushButton *BtnSetupBack;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    57
	QWidget *pageMP;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    58
	QPushButton *BtnMPBack;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    59
	QListWidget *listWidget;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    60
	QWidget *pagePDemo;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    61
	QPushButton *BtnPlayDemo;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    62
	QListWidget *DemosList;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    63
	QPushButton *BtnDemosBack;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    64
	QWidget *pageNet;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    65
	QPushButton *BtnNetConnect;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    66
	QPushButton *BtnNetBack;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    67
	QWidget *pageNetChat;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    68
	QPushButton *BtnNetChatDisconnect;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    69
	QListWidget *ChannelsList;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    70
	QPushButton *BtnNetChatJoin;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    71
	QPushButton *BtnNetChatCreate;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    72
	QWidget *pageNetGame;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    73
	QPushButton *BtnNetCFGBack;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    74
	QPushButton *BtnNetCFGAddTeam;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    75
	QPushButton *BtnNetCFGGo;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    76
	QListWidget *listNetTeams;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    77
	QWidget *pageMain;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    78
	QPushButton *BtnSinglePlayer;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    79
	QPushButton *BtnMultiplayer;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    80
	QPushButton *BtnSetup;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    81
	QPushButton *BtnExit;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    82
	QPushButton *BtnDemos;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    83
	QPushButton *BtnNet;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    85
	QStackedLayout *Pages;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    86
	QFont *font14;
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    87
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    88
	void setupUi(QMainWindow *HWForm);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    89
	void SetupFonts();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    90
	void SetupPages(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    91
	void SetupPageLocalGame(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    92
	void SetupPageEditTeam(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    93
	void SetupPageOptions(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    94
	void SetupPageMultiplayer(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    95
	void SetupPagePlayDemo(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    96
	void SetupPageNet(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    97
	void SetupPageNetChat(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    98
	void SetupPageNetGame(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    99
	void SetupPageMain(QWidget *Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   100
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   101
	void retranslateUi(QMainWindow *HWForm);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   102
};
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   103
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   104
namespace Ui {
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   105
	class HWForm: public Ui_HWForm {};
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   106
} // namespace Ui
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   107
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   108
#endif // UI_HWFORM_H