QTfrontend/pageinfo.cpp
changeset 6042 8b5345758f62
parent 6009 14f6fc9869f2
child 6059 ddf020d0941a
--- a/QTfrontend/pageinfo.cpp	Mon Sep 26 21:45:33 2011 +0400
+++ b/QTfrontend/pageinfo.cpp	Tue Sep 27 00:38:39 2011 +0200
@@ -22,9 +22,10 @@
 #include "pageinfo.h"
 #include "about.h"
 
-PageInfo::PageInfo(QWidget* parent) : AbstractPage(parent)
+QLayout * PageInfo::bodyLayoutDefinition()
 {
-    QGridLayout * pageLayout = new QGridLayout(this);
+    QGridLayout * pageLayout = new QGridLayout();
+
     pageLayout->setColumnStretch(0, 1);
     pageLayout->setColumnStretch(1, 1);
     pageLayout->setColumnStretch(2, 1);
@@ -34,7 +35,21 @@
     about = new About(this);
     pageLayout->addWidget(about, 0, 0, 1, 3);
 
+    return pageLayout;
+}
 
-    BtnBack = addButton(":/res/Exit.png", pageLayout, 1, 0, true);
-    connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack()));
+QLayout * PageInfo::footerLayoutDefinition()
+{
+   return NULL; // TODO: move screenshot button here
 }
+
+void PageInfo::connectSignals()
+{
+    //TODO
+}
+
+PageInfo::PageInfo(QWidget* parent) : AbstractPage(parent)
+{
+    initPage();
+}
+