diff -r 582f9f61b972 -r 2b1748161278 QTfrontend/ui/page/pagemultiplayer.cpp --- a/QTfrontend/ui/page/pagemultiplayer.cpp Fri Oct 21 18:23:43 2011 +0200 +++ b/QTfrontend/ui/page/pagemultiplayer.cpp Fri Oct 21 18:53:36 2011 +0200 @@ -15,8 +15,13 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ - -#include + +/** + * @file + * @brief PageMultiplayer class implementation + */ + +#include #include #include "pagemultiplayer.h" @@ -39,9 +44,20 @@ teamsSelect = new TeamSelWidget(this); pageLayout->addWidget(teamsSelect, 0, 2, 3, 2); - BtnStartMPGame = addButton(tr("Start"), pageLayout, 3, 3); + return pageLayout; +} + +QLayout * PageMultiplayer::footerLayoutDefinition() +{ + QHBoxLayout * footerLayout = new QHBoxLayout(); - return pageLayout; + BtnStartMPGame = formattedButton(tr("Start")); + BtnStartMPGame->setMinimumWidth(180); + + footerLayout->addStretch(); + footerLayout->addWidget(BtnStartMPGame); + + return footerLayout; } void PageMultiplayer::connectSignals()