equal
deleted
inserted
replaced
32 QLayout * PageMultiplayer::bodyLayoutDefinition() |
32 QLayout * PageMultiplayer::bodyLayoutDefinition() |
33 { |
33 { |
34 QHBoxLayout * pageLayout = new QHBoxLayout(); |
34 QHBoxLayout * pageLayout = new QHBoxLayout(); |
35 |
35 |
36 gameCFG = new GameCFGWidget(this); |
36 gameCFG = new GameCFGWidget(this); |
37 pageLayout->addWidget(gameCFG, 3, Qt::AlignTop); |
37 pageLayout->addWidget(gameCFG); |
|
38 pageLayout->setAlignment(gameCFG, Qt::AlignTop); |
38 |
39 |
39 teamsSelect = new TeamSelWidget(this); |
40 teamsSelect = new TeamSelWidget(this); |
40 pageLayout->addWidget(teamsSelect, 2, Qt::AlignTop); |
41 pageLayout->addWidget(teamsSelect); |
|
42 teamsSelect->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding); |
41 |
43 |
42 return pageLayout; |
44 return pageLayout; |
43 } |
45 } |
44 |
46 |
45 QLayout * PageMultiplayer::footerLayoutLeftDefinition() |
47 QLayout * PageMultiplayer::footerLayoutLeftDefinition() |