268 pageLayout->setRowStretch(1, 0); |
268 pageLayout->setRowStretch(1, 0); |
269 pageLayout->setRowStretch(2, 0); |
269 pageLayout->setRowStretch(2, 0); |
270 pageLayout->setRowStretch(3, 100); |
270 pageLayout->setRowStretch(3, 100); |
271 pageLayout->setRowStretch(4, 0); |
271 pageLayout->setRowStretch(4, 0); |
272 |
272 |
273 groupBox = new QGroupBox(this); |
273 teamsBox = new IconedGroupBox(this); |
274 groupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
274 teamsBox->setIcon(QIcon(":/res/teamicon.png")); |
275 groupBox->setTitle(QGroupBox::tr("Teams")); |
275 teamsBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
276 pageLayout->addWidget(groupBox, 0, 0, 1, 3); |
276 teamsBox->setTitle(QGroupBox::tr("Teams")); |
277 |
277 pageLayout->addWidget(teamsBox, 0, 0, 1, 3); |
278 QGridLayout * GBTlayout = new QGridLayout(groupBox); |
278 |
|
279 QGridLayout * GBTlayout = new QGridLayout(teamsBox); |
279 |
280 |
280 BtnNewTeam = addButton(tr("New team"), GBTlayout, 0, 0); |
281 BtnNewTeam = addButton(tr("New team"), GBTlayout, 0, 0); |
281 |
282 |
282 CBTeamName = new QComboBox(groupBox); |
283 CBTeamName = new QComboBox(teamsBox); |
283 GBTlayout->addWidget(CBTeamName, 0, 1); |
284 GBTlayout->addWidget(CBTeamName, 0, 1); |
284 |
285 |
285 BtnEditTeam = addButton(tr("Edit team"), GBTlayout, 0, 2); |
286 BtnEditTeam = addButton(tr("Edit team"), GBTlayout, 0, 2); |
286 |
287 |
287 AGGroupBox = new IconedGroupBox(this); |
288 AGGroupBox = new IconedGroupBox(this); |
337 |
338 |
338 BtnSaveOptions = addButton(":/res/Save.png", pageLayout, 4, 2, true); |
339 BtnSaveOptions = addButton(":/res/Save.png", pageLayout, 4, 2, true); |
339 |
340 |
340 BtnBack = addButton(":/res/Exit.png", pageLayout, 4, 0, true); |
341 BtnBack = addButton(":/res/Exit.png", pageLayout, 4, 0, true); |
341 |
342 |
342 QGroupBox* groupWeapons = new QGroupBox(this); |
343 IconedGroupBox* groupWeapons = new IconedGroupBox(this); |
|
344 groupWeapons->setIcon(QIcon(":/res/weaponsicon.png")); |
343 groupWeapons->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
345 groupWeapons->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
344 groupWeapons->setTitle(QGroupBox::tr("Weapons")); |
346 groupWeapons->setTitle(QGroupBox::tr("Weapons")); |
345 pageLayout->addWidget(groupWeapons, 1, 0, 1, 3); |
347 pageLayout->addWidget(groupWeapons, 1, 0, 1, 3); |
346 QGridLayout * WeaponsLayout = new QGridLayout(groupWeapons); |
348 QGridLayout * WeaponsLayout = new QGridLayout(groupWeapons); |
347 |
349 |