QTfrontend/ui_hwform.cpp
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
#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"));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    10
	HWForm->resize(QSize(640, 450).expandedTo(HWForm->minimumSizeHint()));
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
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    86
	BtnSimpleGame = new	QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    87
	BtnSimpleGame->setGeometry(QRect(330, 380, 161, 41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    88
	BtnSimpleGame->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    89
	BtnSimpleGame->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    90
	BtnSimpleGame->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    91
	BtnSPBack =	new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    92
	BtnSPBack->setGeometry(QRect(120, 380, 161,	41));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    93
	BtnSPBack->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    94
	BtnSPBack->setCheckable(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    95
	BtnSPBack->setChecked(false);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
    96
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);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   274
	PageMainLayout->setMargin(15);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   275
	BtnSinglePlayer = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   276
	BtnSinglePlayer->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   277
	PageMainLayout->addWidget(BtnSinglePlayer, 0, 0);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   278
	BtnMultiplayer = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   279
	BtnMultiplayer->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   280
	PageMainLayout->addWidget(BtnMultiplayer, 0, 1);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   281
	BtnNet = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   282
	BtnNet->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   283
	PageMainLayout->addWidget(BtnNet, 1, 0);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   284
	BtnSetup = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   285
	BtnSetup->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   286
	PageMainLayout->addWidget(BtnSetup, 1, 1);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   287
	BtnDemos = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   288
	BtnDemos->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   289
	PageMainLayout->addWidget(BtnDemos, 2, 0);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   290
	BtnExit = new QPushButton(Parent);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   291
	BtnExit->setFont(*font14);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   292
	PageMainLayout->addWidget(BtnExit, 2, 1);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   293
}
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   294
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   295
void Ui_HWForm::retranslateUi(QMainWindow *HWForm)
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   296
{
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   297
	HWForm->setWindowTitle(QApplication::translate("HWForm", "-= by unC0Rr =-",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   298
	BtnSimpleGame->setText(QApplication::translate("HWForm", "Simple Game", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   299
	BtnSPBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   300
	GBoxHedgehogs->setTitle(QApplication::translate("HWForm", "Team Members", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   301
	GBoxTeam->setTitle(QApplication::translate("HWForm", "Team", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   302
	GBoxFort->setTitle(QApplication::translate("HWForm", "Fort", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   303
	FortPreview->setText(QApplication::translate("HWForm", "", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   304
	GBoxGrave->setTitle(QApplication::translate("HWForm", "Grave", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   305
	GravePreview->setText(QApplication::translate("HWForm", "",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   306
	GBoxBinds->setTitle(QApplication::translate("HWForm", "Key binds", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   307
	BindsBox->setItemText(BindsBox->indexOf(page_A), QApplication::translate("HWForm", "Actions", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   308
	BindsBox->setItemText(BindsBox->indexOf(page_W), QApplication::translate("HWForm", "Weapons", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   309
	BindsBox->setItemText(BindsBox->indexOf(page_WP), QApplication::translate("HWForm",	"Weapon	properties", 0,	QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   310
	BindsBox->setItemText(BindsBox->indexOf(page_O), QApplication::translate("HWForm", "Other",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   311
	BtnTeamDiscard->setText(QApplication::translate("HWForm", "Discard", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   312
	BtnTeamSave->setText(QApplication::translate("HWForm", "Save", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   313
	groupBox->setTitle(QApplication::translate("HWForm", "Teams", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   314
	BtnNewTeam->setText(QApplication::translate("HWForm", "New team", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   315
	BtnEditTeam->setText(QApplication::translate("HWForm", "Edit team",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   316
	CBResolution->addItem(QApplication::translate("HWForm", "640x480", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   317
	CBResolution->addItem(QApplication::translate("HWForm", "800x600", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   318
	CBResolution->addItem(QApplication::translate("HWForm", "1024x768",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   319
	CBResolution->addItem(QApplication::translate("HWForm", "1280x1024", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   320
	CBEnableSound->setText(QApplication::translate("HWForm", "Enable sound", 0,	QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   321
	CBFullscreen->setText(QApplication::translate("HWForm", "Fullscreen", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   322
	label->setText(QApplication::translate("HWForm", "Net nick", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   323
	editNetNick->setText(QApplication::translate("HWForm", "unnamed", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   324
	BtnSaveOptions->setText(QApplication::translate("HWForm", "Save", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   325
	BtnSetupBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   326
	BtnMPBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   327
	BtnPlayDemo->setText(QApplication::translate("HWForm", "Play demo",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   328
	BtnDemosBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   329
	BtnNetConnect->setText(QApplication::translate("HWForm", "Connect",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   330
	BtnNetBack->setText(QApplication::translate("HWForm", "Back", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   331
	BtnNetChatDisconnect->setText(QApplication::translate("HWForm", "Disconnect", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   332
	BtnNetChatJoin->setText(QApplication::translate("HWForm", "Join", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   333
	BtnNetChatCreate->setText(QApplication::translate("HWForm",	"Create", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   334
	BtnNetCFGBack->setText(QApplication::translate("HWForm", "Back", 0,	QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   335
	BtnNetCFGAddTeam->setText(QApplication::translate("HWForm",	"Add Team", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   336
	BtnNetCFGGo->setText(QApplication::translate("HWForm", "Go!", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   337
	BtnSinglePlayer->setText(QApplication::translate("HWForm", "Single Player",	0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   338
	BtnMultiplayer->setText(QApplication::translate("HWForm", "Multiplayer", 0,	QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   339
	BtnSetup->setText(QApplication::translate("HWForm",	"Setup", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   340
	BtnExit->setText(QApplication::translate("HWForm", "Exit", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   341
	BtnDemos->setText(QApplication::translate("HWForm",	"Demos", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   342
	BtnNet->setText(QApplication::translate("HWForm", "Net game", 0, QApplication::UnicodeUTF8));
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   343
	Q_UNUSED(HWForm);
0f6669da2fcb Start rewrite ui
unc0rr
parents:
diff changeset
   344
}