QTfrontend/pageinfo.cpp
changeset 6059 ddf020d0941a
parent 6042 8b5345758f62
--- a/QTfrontend/pageinfo.cpp	Wed Sep 28 04:21:24 2011 +0200
+++ b/QTfrontend/pageinfo.cpp	Wed Sep 28 06:24:10 2011 +0200
@@ -30,9 +30,7 @@
     pageLayout->setColumnStretch(1, 1);
     pageLayout->setColumnStretch(2, 1);
 
-    BtnSnapshots = addButton(":/res/Star.png", pageLayout, 1, 2, true);
-
-    about = new About(this);
+    about = new About();
     pageLayout->addWidget(about, 0, 0, 1, 3);
 
     return pageLayout;
@@ -40,7 +38,10 @@
 
 QLayout * PageInfo::footerLayoutDefinition()
 {
-   return NULL; // TODO: move screenshot button here
+    QGridLayout * bottomLayout = new QGridLayout();
+    BtnSnapshots = addButton(":/res/Star.png", bottomLayout, 1, 1, true);
+    bottomLayout->setAlignment(BtnSnapshots, Qt::AlignRight | Qt::AlignVCenter);
+    return bottomLayout;
 }
 
 void PageInfo::connectSignals()