equal
deleted
inserted
replaced
48 #include "netwwwwidget.h" |
48 #include "netwwwwidget.h" |
49 #include "chatwidget.h" |
49 #include "chatwidget.h" |
50 #include "SDLs.h" |
50 #include "SDLs.h" |
51 #include "playrecordpage.h" |
51 #include "playrecordpage.h" |
52 #include "selectWeapon.h" |
52 #include "selectWeapon.h" |
|
53 #include "igbox.h" |
53 |
54 |
54 PageMain::PageMain(QWidget* parent) : |
55 PageMain::PageMain(QWidget* parent) : |
55 AbstractPage(parent) |
56 AbstractPage(parent) |
56 { |
57 { |
57 QGridLayout * pageLayout = new QGridLayout(this); |
58 QGridLayout * pageLayout = new QGridLayout(this); |
282 GBTlayout->addWidget(CBTeamName, 0, 1); |
283 GBTlayout->addWidget(CBTeamName, 0, 1); |
283 |
284 |
284 BtnEditTeam = addButton(tr("Edit team"), GBTlayout, 0, 2); |
285 BtnEditTeam = addButton(tr("Edit team"), GBTlayout, 0, 2); |
285 |
286 |
286 AGGroupBox = new QGroupBox(this); |
287 AGGroupBox = new QGroupBox(this); |
287 AGGroupBox->setCheckable(true); |
288 //AGGroupBox->setIcon(QIcon(":/res/graphicsicon.png")); |
288 AGGroupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
289 AGGroupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
289 AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options")); |
290 AGGroupBox->setTitle(QGroupBox::tr("Audio/Graphic options")); |
290 pageLayout->addWidget(AGGroupBox, 2, 1); |
291 pageLayout->addWidget(AGGroupBox, 2, 1); |
291 |
292 |
292 QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox); |
293 QVBoxLayout * GBAlayout = new QVBoxLayout(AGGroupBox); |