QTfrontend/pageingame.cpp
changeset 6042 8b5345758f62
parent 5204 e1a5f4d5d86a
--- a/QTfrontend/pageingame.cpp	Mon Sep 26 21:45:33 2011 +0400
+++ b/QTfrontend/pageingame.cpp	Tue Sep 27 00:38:39 2011 +0200
@@ -16,14 +16,25 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
+#include <QHBoxLayout>
 #include <QLabel>
 
 #include "pageingame.h"
 
-PageInGame::PageInGame(QWidget* parent) :
-  AbstractPage(parent)
+QLayout * PageInGame::bodyLayoutDefinition()
 {
+    QHBoxLayout * pageLayout = new QHBoxLayout();
+
     QLabel * label = new QLabel(this);
-    label->setText("In game...");
+    label->setText(tr("In game..."));
+    pageLayout->addWidget(label);
+
+    setBackButtonVisible(false);
+
+    return pageLayout;
 }
 
+PageInGame::PageInGame(QWidget * parent) :  AbstractPage(parent)
+{
+    initPage();
+}