QTfrontend/ui/page/pageinfo.cpp
changeset 11819 7642955690bc
parent 11046 47a8c19ecb60
child 12482 eeeb7e8de95c
equal deleted inserted replaced
11818:b421923c2577 11819:7642955690bc
    38 }
    38 }
    39 
    39 
    40 QLayout * PageInfo::footerLayoutDefinition()
    40 QLayout * PageInfo::footerLayoutDefinition()
    41 {
    41 {
    42     QHBoxLayout * bottomLayout = new QHBoxLayout();
    42     QHBoxLayout * bottomLayout = new QHBoxLayout();
    43     BtnSnapshots = addButton(":/res/Star.png", bottomLayout, 0, true);
    43     bottomLayout->setContentsMargins(0,0,0,0);
       
    44     BtnSnapshots = addButton(":/res/Star.png", bottomLayout, 0, true, Qt::AlignBottom);
    44     BtnSnapshots->setWhatsThis(tr("Open the snapshot folder"));
    45     BtnSnapshots->setWhatsThis(tr("Open the snapshot folder"));
    45     bottomLayout->setAlignment(BtnSnapshots, Qt::AlignRight | Qt::AlignVCenter);
    46     BtnSnapshots->setMinimumSize(50,50);
    46     return bottomLayout;
    47     return bottomLayout;
    47 }
    48 }
    48 
    49 
    49 void PageInfo::connectSignals()
    50 void PageInfo::connectSignals()
    50 {
    51 {