QTfrontend/ui/page/pagemultiplayer.cpp
changeset 8886 5c521d1fdd63
parent 8434 4821897a0f10
child 9080 9b42757d7e71
equal deleted inserted replaced
8884:08fe08651130 8886:5c521d1fdd63
    29 #include "gamecfgwidget.h"
    29 #include "gamecfgwidget.h"
    30 #include "teamselect.h"
    30 #include "teamselect.h"
    31 
    31 
    32 QLayout * PageMultiplayer::bodyLayoutDefinition()
    32 QLayout * PageMultiplayer::bodyLayoutDefinition()
    33 {
    33 {
    34     QGridLayout * pageLayout = new QGridLayout();
    34     QHBoxLayout * pageLayout = new QHBoxLayout();
    35 
    35 
    36     gameCFG = new GameCFGWidget(this);
    36     gameCFG = new GameCFGWidget(this);
    37     pageLayout->addWidget(gameCFG, 0, 0, 1, 2);
    37     pageLayout->addWidget(gameCFG, 3, Qt::AlignTop);
    38 
       
    39     pageLayout->setRowStretch(2, 1);
       
    40 
    38 
    41     teamsSelect = new TeamSelWidget(this);
    39     teamsSelect = new TeamSelWidget(this);
    42     pageLayout->addWidget(teamsSelect, 0, 2, 3, 2);
    40     pageLayout->addWidget(teamsSelect, 2, Qt::AlignTop);
    43 
    41 
    44     return pageLayout;
    42     return pageLayout;
    45 }
    43 }
    46 
    44 
    47 QLayout * PageMultiplayer::footerLayoutLeftDefinition()
    45 QLayout * PageMultiplayer::footerLayoutLeftDefinition()