QTfrontend/ui_hwform.cpp
author unc0rr
Tue, 25 Jul 2006 13:32:11 +0000
changeset 85 44d9045b26ff
parent 84 0f6669da2fcb
child 87 ff213e443336
permissions -rw-r--r--
New GameCFGWidget. Now it's possible to set forts mode from ui
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     1
#include "ui_hwform.h"
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     2
#include <QVBoxLayout>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     3
#include <QGridLayout>
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     4
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     5
void Ui_HWForm::setupUi(QMainWindow *HWForm)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     6
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     7
	SetupFonts();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     8
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
     9
	HWForm->setObjectName(QString::fromUtf8("HWForm"));
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    10
	HWForm->resize(QSize(620, 430).expandedTo(HWForm->minimumSizeHint()));
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    11
	HWForm->setMinimumSize(QSize(620, 430));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    12
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    13
	centralWidget = new QWidget(HWForm);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    14
	centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    15
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    16
	SetupPages(centralWidget);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    17
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    18
	HWForm->setCentralWidget(centralWidget);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    19
	retranslateUi(HWForm);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    20
	QObject::connect(BtnExit, SIGNAL(clicked()), HWForm, SLOT(close()));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    21
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    22
	Pages->setCurrentIndex(0);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    23
	CBFort->setCurrentIndex(-1);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    24
	CBGrave->setCurrentIndex(-1);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    25
	BindsBox->setCurrentIndex(0);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    26
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    27
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    28
	QMetaObject::connectSlotsByName(HWForm);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    29
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    30
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    31
void Ui_HWForm::SetupFonts()
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    32
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    33
	font14 = new QFont();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    34
	font14->setFamily(QString::fromUtf8("MS Shell Dlg"));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    35
	font14->setPointSize(14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    36
	font14->setBold(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    37
	font14->setItalic(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    38
	font14->setUnderline(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    39
	font14->setWeight(50);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    40
	font14->setStrikeOut(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    41
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    42
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    43
void Ui_HWForm::SetupPages(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    44
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    45
	Pages =	new QStackedLayout(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    46
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    47
	pageLG = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    48
	SetupPageLocalGame(pageLG);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    49
	Pages->addWidget(pageLG);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    50
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    51
	pageET = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    52
	SetupPageEditTeam(pageET);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    53
	Pages->addWidget(pageET);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    54
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    55
	pageOpt = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    56
	SetupPageOptions(pageOpt);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    57
	Pages->addWidget(pageOpt);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    58
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    59
	pageMP = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    60
	SetupPageMultiplayer(pageMP);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    61
	Pages->addWidget(pageMP);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    62
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    63
	pagePDemo =	new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    64
	SetupPagePlayDemo(pagePDemo);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    65
	Pages->addWidget(pagePDemo);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    66
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    67
	pageNet = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    68
	SetupPageNet(pageNet);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    69
	Pages->addWidget(pageNet);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    70
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    71
	pageNetChat	= new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    72
	SetupPageNetChat(pageNetChat);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    73
	Pages->addWidget(pageNetChat);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    74
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    75
	pageNetGame	= new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    76
	SetupPageNetGame(pageNetGame);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    77
	Pages->addWidget(pageNetGame);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    78
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    79
	pageMain = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    80
	SetupPageMain(pageMain);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    81
	Pages->addWidget(pageMain);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    82
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    83
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    84
void Ui_HWForm::SetupPageLocalGame(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    85
{
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    86
	QGridLayout * PageLGLayout = new QGridLayout(Parent);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    87
	BtnSPBack =	new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    88
	BtnSPBack->setFont(*font14);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    89
	PageLGLayout->addWidget(BtnSPBack, 1, 0);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    90
	BtnSimpleGame = new	QPushButton(Parent);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    91
	BtnSimpleGame->setFont(*font14);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    92
	PageLGLayout->addWidget(BtnSimpleGame, 1, 3);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    93
	pageLGGameCFG = new GameCFGWidget(Parent);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    94
	PageLGLayout->addWidget(pageLGGameCFG, 0, 0, 1, 2);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    95
	PageLGTeamsSelect = new TeamSelWidget(Parent);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
    96
	PageLGLayout->addWidget(PageLGTeamsSelect, 0, 2, 1, 2);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    97
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    98
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    99
void Ui_HWForm::SetupPageEditTeam(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   100
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   101
	GBoxHedgehogs = new	QGroupBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   102
	GBoxHedgehogs->setGeometry(QRect(20, 70, 161, 261));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   103
	GBoxTeam = new QGroupBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   104
	GBoxTeam->setGeometry(QRect(20, 10,	161, 51));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   105
	GBoxFort = new QGroupBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   106
	GBoxFort->setGeometry(QRect(420, 110, 181, 221));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   107
	CBFort = new QComboBox(GBoxFort);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   108
	CBFort->setGeometry(QRect(10, 20, 161, 21));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   109
	CBFort->setMaxCount(65535);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   110
	FortPreview	= new QLabel(GBoxFort);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   111
	FortPreview->setGeometry(QRect(10, 50, 161,	161));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   112
	FortPreview->setPixmap(QPixmap());
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   113
	FortPreview->setScaledContents(true);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   114
	GBoxGrave =	new QGroupBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   115
	GBoxGrave->setGeometry(QRect(420, 10, 181, 91));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   116
	CBGrave = new QComboBox(GBoxGrave);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   117
	CBGrave->setGeometry(QRect(10, 20, 161, 21));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   118
	CBGrave->setMaxCount(65535);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   119
	GravePreview = new QLabel(GBoxGrave);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   120
	GravePreview->setGeometry(QRect(80,	50, 32,	32));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   121
	GravePreview->setScaledContents(true);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   122
	GBoxBinds =	new QGroupBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   123
	GBoxBinds->setGeometry(QRect(200, 10, 201, 431));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   124
	BindsBox = new QToolBox(GBoxBinds);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   125
	BindsBox->setGeometry(QRect(10, 20,	181, 401));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   126
	BindsBox->setLineWidth(0);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   127
	page_A = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   128
	page_A->setGeometry(QRect(0, 0, 96,	26));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   129
	BindsBox->addItem(page_A, QApplication::translate("HWForm",	"Actions", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   130
	page_W = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   131
	page_W->setObjectName(QString::fromUtf8("page_W"));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   132
	BindsBox->addItem(page_W, QApplication::translate("HWForm",	"Weapons", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   133
	page_WP = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   134
	page_WP->setObjectName(QString::fromUtf8("page_WP"));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   135
	BindsBox->addItem(page_WP, QApplication::translate("HWForm", "Weapon properties", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   136
	page_O = new QWidget();
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   137
	page_O->setObjectName(QString::fromUtf8("page_O"));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   138
	page_O->setGeometry(QRect(0, 0, 96,	26));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   139
	BindsBox->addItem(page_O, QApplication::translate("HWForm",	"Other", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   140
	BtnTeamDiscard = new QPushButton(pageET);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   141
	BtnTeamDiscard->setGeometry(QRect(440, 380,	161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   142
	BtnTeamDiscard->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   143
	BtnTeamDiscard->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   144
	BtnTeamDiscard->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   145
	BtnTeamSave	= new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   146
	BtnTeamSave->setGeometry(QRect(20, 380, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   147
	BtnTeamSave->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   148
	BtnTeamSave->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   149
	BtnTeamSave->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   150
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   151
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   152
void Ui_HWForm::SetupPageOptions(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   153
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   154
	groupBox = new QGroupBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   155
	groupBox->setGeometry(QRect(20, 10,	591, 71));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   156
	BtnNewTeam = new QPushButton(groupBox);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   157
	BtnNewTeam->setGeometry(QRect(10, 20, 160, 40));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   158
	BtnNewTeam->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   159
	BtnEditTeam	= new QPushButton(groupBox);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   160
	BtnEditTeam->setGeometry(QRect(400,	20, 160, 40));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   161
	BtnEditTeam->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   162
	CBTeamName = new QComboBox(groupBox);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   163
	CBTeamName->setGeometry(QRect(200, 30, 171,	22));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   164
	CBResolution = new QComboBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   165
	CBResolution->setGeometry(QRect(20,	120, 151, 22));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   166
	CBEnableSound = new	QCheckBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   167
	CBEnableSound->setGeometry(QRect(20, 180, 101, 18));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   168
	CBFullscreen = new QCheckBox(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   169
	CBFullscreen->setGeometry(QRect(20,	160, 101, 18));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   170
	label = new	QLabel(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   171
	label->setGeometry(QRect(10, 233, 47, 13));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   172
	editNetNick	= new QLineEdit(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   173
	editNetNick->setGeometry(QRect(60, 230, 113, 20));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   174
	editNetNick->setMaxLength(30);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   175
	BtnSaveOptions = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   176
	BtnSaveOptions->setGeometry(QRect(20, 380, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   177
	BtnSaveOptions->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   178
	BtnSaveOptions->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   179
	BtnSaveOptions->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   180
	BtnSetupBack = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   181
	BtnSetupBack->setGeometry(QRect(440, 380, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   182
	BtnSetupBack->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   183
	BtnSetupBack->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   184
	BtnSetupBack->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   185
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   186
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   187
void Ui_HWForm::SetupPageMultiplayer(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   188
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   189
	BtnMPBack = new	QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   190
	BtnMPBack->setGeometry(QRect(240, 340, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   191
	BtnMPBack->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   192
	BtnMPBack->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   193
	BtnMPBack->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   194
	listWidget = new QListWidget(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   195
	listWidget->setGeometry(QRect(160, 50, 221, 211));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   196
	listWidget->setModelColumn(0);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   197
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   198
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   199
void Ui_HWForm::SetupPagePlayDemo(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   200
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   201
	BtnPlayDemo	= new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   202
	BtnPlayDemo->setGeometry(QRect(240,	330, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   203
	BtnPlayDemo->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   204
	BtnPlayDemo->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   205
	BtnPlayDemo->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   206
	DemosList =	new QListWidget(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   207
	DemosList->setGeometry(QRect(170, 10, 311, 311));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   208
	BtnDemosBack = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   209
	BtnDemosBack->setGeometry(QRect(240, 380, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   210
	BtnDemosBack->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   211
	BtnDemosBack->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   212
	BtnDemosBack->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   213
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   214
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   215
void Ui_HWForm::SetupPageNet(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   216
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   217
	BtnNetConnect = new	QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   218
	BtnNetConnect->setGeometry(QRect(250, 140, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   219
	BtnNetConnect->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   220
	BtnNetConnect->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   221
	BtnNetConnect->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   222
	BtnNetBack = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   223
	BtnNetBack->setGeometry(QRect(250, 390, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   224
	BtnNetBack->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   225
	BtnNetBack->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   226
	BtnNetBack->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   227
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   228
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   229
void Ui_HWForm::SetupPageNetChat(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   230
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   231
	BtnNetChatDisconnect = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   232
	BtnNetChatDisconnect->setGeometry(QRect(460, 390, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   233
	BtnNetChatDisconnect->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   234
	BtnNetChatDisconnect->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   235
	BtnNetChatDisconnect->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   236
	ChannelsList = new QListWidget(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   237
	ChannelsList->setGeometry(QRect(20,	10, 201, 331));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   238
	BtnNetChatJoin = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   239
	BtnNetChatJoin->setGeometry(QRect(460, 290,	161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   240
	BtnNetChatJoin->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   241
	BtnNetChatJoin->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   242
	BtnNetChatJoin->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   243
	BtnNetChatCreate = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   244
	BtnNetChatCreate->setGeometry(QRect(460, 340, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   245
	BtnNetChatCreate->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   246
	BtnNetChatCreate->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   247
	BtnNetChatCreate->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   248
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   249
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   250
void Ui_HWForm::SetupPageNetGame(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   251
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   252
	BtnNetCFGBack = new	QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   253
	BtnNetCFGBack->setGeometry(QRect(260, 390, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   254
	BtnNetCFGBack->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   255
	BtnNetCFGBack->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   256
	BtnNetCFGBack->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   257
	BtnNetCFGAddTeam = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   258
	BtnNetCFGAddTeam->setGeometry(QRect(260, 290, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   259
	BtnNetCFGAddTeam->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   260
	BtnNetCFGAddTeam->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   261
	BtnNetCFGAddTeam->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   262
	BtnNetCFGGo	= new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   263
	BtnNetCFGGo->setGeometry(QRect(260,	340, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   264
	BtnNetCFGGo->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   265
	BtnNetCFGGo->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   266
	BtnNetCFGGo->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   267
	listNetTeams = new QListWidget(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   268
	listNetTeams->setGeometry(QRect(270, 30, 120, 80));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   269
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   270
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   271
void Ui_HWForm::SetupPageMain(QWidget *Parent)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   272
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   273
	QGridLayout * PageMainLayout = new QGridLayout(Parent);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   274
	PageMainLayout->setMargin(25);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   275
	PageMainLayout->setColumnStretch(0, 1);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   276
	PageMainLayout->setColumnStretch(1, 2);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   277
	PageMainLayout->setColumnStretch(2, 1);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   278
	BtnSinglePlayer = new QPushButton(Parent);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   279
	BtnSinglePlayer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   280
	BtnSinglePlayer->setFont(*font14);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   281
	PageMainLayout->addWidget(BtnSinglePlayer, 1, 1);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   282
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   283
	BtnMultiplayer = new QPushButton(Parent);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   284
	BtnMultiplayer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   285
	BtnMultiplayer->setFont(*font14);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   286
	PageMainLayout->addWidget(BtnMultiplayer, 2, 1);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   287
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   288
	BtnNet = new QPushButton(Parent);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   289
	BtnNet->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   290
	BtnNet->setFont(*font14);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   291
	PageMainLayout->addWidget(BtnNet, 3, 1);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   292
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   293
	BtnDemos = new QPushButton(Parent);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   294
	BtnDemos->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   295
	BtnDemos->setFont(*font14);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   296
	PageMainLayout->addWidget(BtnDemos, 4, 1);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   297
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   298
	BtnSetup = new QPushButton(Parent);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   299
	BtnSetup->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   300
	BtnSetup->setFont(*font14);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   301
	PageMainLayout->addWidget(BtnSetup, 5, 1);
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   302
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   303
	BtnExit = new QPushButton(Parent);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   304
	BtnExit->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   305
	BtnExit->setFont(*font14);
85
44d9045b26ff New GameCFGWidget. Now it's possible to set forts mode from ui
unc0rr
parents: 84
diff changeset
   306
	PageMainLayout->addWidget(BtnExit, 6, 1);
84
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   307
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   308
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   309
void Ui_HWForm::retranslateUi(QMainWindow *HWForm)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   310
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   311
	HWForm->setWindowTitle(QApplication::translate("HWForm", "-= by unC0Rr =-",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   312
	BtnSimpleGame->setText(QApplication::translate("HWForm", "Simple Game", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   313
	BtnSPBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   314
	GBoxHedgehogs->setTitle(QApplication::translate("HWForm", "Team Members", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   315
	GBoxTeam->setTitle(QApplication::translate("HWForm", "Team", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   316
	GBoxFort->setTitle(QApplication::translate("HWForm", "Fort", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   317
	FortPreview->setText(QApplication::translate("HWForm", "", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   318
	GBoxGrave->setTitle(QApplication::translate("HWForm", "Grave", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   319
	GravePreview->setText(QApplication::translate("HWForm", "",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   320
	GBoxBinds->setTitle(QApplication::translate("HWForm", "Key binds", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   321
	BindsBox->setItemText(BindsBox->indexOf(page_A), QApplication::translate("HWForm", "Actions", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   322
	BindsBox->setItemText(BindsBox->indexOf(page_W), QApplication::translate("HWForm", "Weapons", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   323
	BindsBox->setItemText(BindsBox->indexOf(page_WP), QApplication::translate("HWForm",	"Weapon	properties", 0,	QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   324
	BindsBox->setItemText(BindsBox->indexOf(page_O), QApplication::translate("HWForm", "Other",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   325
	BtnTeamDiscard->setText(QApplication::translate("HWForm", "Discard", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   326
	BtnTeamSave->setText(QApplication::translate("HWForm", "Save", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   327
	groupBox->setTitle(QApplication::translate("HWForm", "Teams", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   328
	BtnNewTeam->setText(QApplication::translate("HWForm", "New team", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   329
	BtnEditTeam->setText(QApplication::translate("HWForm", "Edit team",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   330
	CBResolution->addItem(QApplication::translate("HWForm", "640x480", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   331
	CBResolution->addItem(QApplication::translate("HWForm", "800x600", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   332
	CBResolution->addItem(QApplication::translate("HWForm", "1024x768",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   333
	CBResolution->addItem(QApplication::translate("HWForm", "1280x1024", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   334
	CBEnableSound->setText(QApplication::translate("HWForm", "Enable sound", 0,	QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   335
	CBFullscreen->setText(QApplication::translate("HWForm", "Fullscreen", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   336
	label->setText(QApplication::translate("HWForm", "Net nick", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   337
	editNetNick->setText(QApplication::translate("HWForm", "unnamed", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   338
	BtnSaveOptions->setText(QApplication::translate("HWForm", "Save", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   339
	BtnSetupBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   340
	BtnMPBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   341
	BtnPlayDemo->setText(QApplication::translate("HWForm", "Play demo",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   342
	BtnDemosBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   343
	BtnNetConnect->setText(QApplication::translate("HWForm", "Connect",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   344
	BtnNetBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   345
	BtnNetChatDisconnect->setText(QApplication::translate("HWForm", "Disconnect", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   346
	BtnNetChatJoin->setText(QApplication::translate("HWForm", "Join", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   347
	BtnNetChatCreate->setText(QApplication::translate("HWForm",	"Create", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   348
	BtnNetCFGBack->setText(QApplication::translate("HWForm", "Back", 0,	QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   349
	BtnNetCFGAddTeam->setText(QApplication::translate("HWForm",	"Add Team", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   350
	BtnNetCFGGo->setText(QApplication::translate("HWForm", "Go!", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   351
	BtnSinglePlayer->setText(QApplication::translate("HWForm", "Single Player",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   352
	BtnMultiplayer->setText(QApplication::translate("HWForm", "Multiplayer", 0,	QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   353
	BtnSetup->setText(QApplication::translate("HWForm",	"Setup", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   354
	BtnExit->setText(QApplication::translate("HWForm", "Exit", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   355
	BtnDemos->setText(QApplication::translate("HWForm",	"Demos", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   356
	BtnNet->setText(QApplication::translate("HWForm", "Net game", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   357
	Q_UNUSED(HWForm);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   358
}