QTfrontend/ui/page/pageinfo.cpp
changeset 6200 6a4ace88d85a
parent 6060 fdfc01419815
child 6699 83dd3447a212
equal deleted inserted replaced
6199:582e85254110 6200:6a4ace88d85a
    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 <QGridLayout>
    19 #include <QGridLayout>
       
    20 #include <QHBoxLayout>
    20 #include <QPushButton>
    21 #include <QPushButton>
    21 
    22 
    22 #include "pageinfo.h"
    23 #include "pageinfo.h"
    23 #include "about.h"
    24 #include "about.h"
    24 
    25 
    36     return pageLayout;
    37     return pageLayout;
    37 }
    38 }
    38 
    39 
    39 QLayout * PageInfo::footerLayoutDefinition()
    40 QLayout * PageInfo::footerLayoutDefinition()
    40 {
    41 {
    41     QGridLayout * bottomLayout = new QGridLayout();
    42     QHBoxLayout * bottomLayout = new QHBoxLayout();
    42     BtnSnapshots = addButton(":/res/Star.png", bottomLayout, 1, 1, true);
    43     BtnSnapshots = addButton(":/res/Star.png", bottomLayout, 0, true);
    43     bottomLayout->setAlignment(BtnSnapshots, Qt::AlignRight | Qt::AlignVCenter);
    44     bottomLayout->setAlignment(BtnSnapshots, Qt::AlignRight | Qt::AlignVCenter);
    44     return bottomLayout;
    45     return bottomLayout;
    45 }
    46 }
    46 
    47 
    47 void PageInfo::connectSignals()
    48 void PageInfo::connectSignals()