QTfrontend/ui/page/pagedata.cpp
changeset 12487 eeeb7e8de95c
parent 12245 88b31fdc760b
child 12679 8d266b2d0f9c
equal deleted inserted replaced
12486:37bcd4ef9242 12487:eeeb7e8de95c
    57     pbHome = addButton(":/res/home.png", bottomLayout, 1, true, Qt::AlignBottom);
    57     pbHome = addButton(":/res/home.png", bottomLayout, 1, true, Qt::AlignBottom);
    58     pbHome->setMinimumHeight(50);
    58     pbHome->setMinimumHeight(50);
    59     pbHome->setMinimumWidth(50);
    59     pbHome->setMinimumWidth(50);
    60     pbHome->setWhatsThis(tr("Load the start page"));
    60     pbHome->setWhatsThis(tr("Load the start page"));
    61 
    61 
    62     pbOpenDir = addButton(tr("Open packages directory"), bottomLayout, 2, false, Qt::AlignBottom);
    62     pbOpenDir = addButton(":/res/folder.png", bottomLayout, 2, true, Qt::AlignBottom);
    63     pbOpenDir->setStyleSheet("padding: 5px 10px");
    63     pbOpenDir->setStyleSheet("padding: 5px 10px");
    64     pbOpenDir->setWhatsThis(tr("Open the directory in which the downloaded files are stored in your system"));
    64     pbOpenDir->setWhatsThis(tr("Open packages directory"));
    65     pbOpenDir->setMinimumHeight(50);
    65     pbOpenDir->setMinimumHeight(50);
    66 
    66 
    67     bottomLayout->setStretch(2, 1);
    67     bottomLayout->setStretch(2, 1);
    68 
    68 
    69     return bottomLayout;
    69     return bottomLayout;