QTfrontend/pageingame.cpp
changeset 6042 8b5345758f62
parent 5204 e1a5f4d5d86a
equal deleted inserted replaced
6040:a740069c21e3 6042:8b5345758f62
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  */
    17  */
    18 
    18 
       
    19 #include <QHBoxLayout>
    19 #include <QLabel>
    20 #include <QLabel>
    20 
    21 
    21 #include "pageingame.h"
    22 #include "pageingame.h"
    22 
    23 
    23 PageInGame::PageInGame(QWidget* parent) :
    24 QLayout * PageInGame::bodyLayoutDefinition()
    24   AbstractPage(parent)
       
    25 {
    25 {
       
    26     QHBoxLayout * pageLayout = new QHBoxLayout();
       
    27 
    26     QLabel * label = new QLabel(this);
    28     QLabel * label = new QLabel(this);
    27     label->setText("In game...");
    29     label->setText(tr("In game..."));
       
    30     pageLayout->addWidget(label);
       
    31 
       
    32     setBackButtonVisible(false);
       
    33 
       
    34     return pageLayout;
    28 }
    35 }
    29 
    36 
       
    37 PageInGame::PageInGame(QWidget * parent) :  AbstractPage(parent)
       
    38 {
       
    39     initPage();
       
    40 }