--- 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 <QGridLayout>
+
+/**
+ * @file
+ * @brief PageMultiplayer class implementation
+ */
+
+#include <QHBoxLayout>
#include <QPushButton>
#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()
--- a/QTfrontend/ui/page/pagemultiplayer.h Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/ui/page/pagemultiplayer.h Fri Oct 21 18:53:36 2011 +0200
@@ -40,6 +40,7 @@
private:
QLayout * bodyLayoutDefinition();
+ QLayout * footerLayoutDefinition();
void connectSignals();
QPushButton * btnSetup;
--- a/QTfrontend/ui/widget/HistoryLineEdit.cpp Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/ui/widget/HistoryLineEdit.cpp Fri Oct 21 18:53:36 2011 +0200
@@ -18,7 +18,7 @@
*/
/**
- * @file HistoryLineEdit.cpp
+ * @file
* @brief HistoryLineEdit class implementation
*/
--- a/QTfrontend/ui/widget/HistoryLineEdit.h Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/ui/widget/HistoryLineEdit.h Fri Oct 21 18:53:36 2011 +0200
@@ -18,7 +18,7 @@
*/
/**
- * @file HistoryLineEdit.h
+ * @file
* @brief HistoryLineEdit class definition
*/
--- a/QTfrontend/ui/widget/SmartLineEdit.cpp Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/ui/widget/SmartLineEdit.cpp Fri Oct 21 18:53:36 2011 +0200
@@ -18,7 +18,7 @@
*/
/**
- * @file SmartLineEdit.cpp
+ * @file
* @brief SmartLineEdit class implementation
*/
--- a/QTfrontend/ui/widget/SmartLineEdit.h Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/ui/widget/SmartLineEdit.h Fri Oct 21 18:53:36 2011 +0200
@@ -18,7 +18,7 @@
*/
/**
- * @file SmartLineEdit.h
+ * @file
* @brief SmartLineEdit class definition
*/
--- a/QTfrontend/util/HWDataManager.cpp Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/util/HWDataManager.cpp Fri Oct 21 18:53:36 2011 +0200
@@ -18,7 +18,7 @@
*/
/**
- * @file HWDataManager.cpp
+ * @file
* @brief HWDataManager class implementation
*/
--- a/QTfrontend/util/HWDataManager.h Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/util/HWDataManager.h Fri Oct 21 18:53:36 2011 +0200
@@ -18,7 +18,7 @@
*/
/**
- * @file HWDataManager.h
+ * @file
* @brief HWDataManager class definition
*/
--- a/QTfrontend/util/SDLInteraction.cpp Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/util/SDLInteraction.cpp Fri Oct 21 18:53:36 2011 +0200
@@ -17,7 +17,7 @@
*/
/**
- * @file SDLInteraction.cpp
+ * @file
* @brief SDLInteraction class implementation
*/
--- a/QTfrontend/util/SDLInteraction.h Fri Oct 21 18:23:43 2011 +0200
+++ b/QTfrontend/util/SDLInteraction.h Fri Oct 21 18:53:36 2011 +0200
@@ -17,7 +17,7 @@
*/
/**
- * @file SDLInteraction.h
+ * @file
* @brief SDLInteraction class definition
*/