QTfrontend/pagegamestats.cpp
changeset 5916 c76212c34192
parent 5734 d710db47a1ef
child 6009 14f6fc9869f2
equal deleted inserted replaced
5913:1791f776b726 5916:c76212c34192
    41 {
    41 {
    42     QGridLayout * pageLayout = new QGridLayout(this);
    42     QGridLayout * pageLayout = new QGridLayout(this);
    43     pageLayout->setSpacing(20);
    43     pageLayout->setSpacing(20);
    44     pageLayout->setColumnStretch(0, 1);
    44     pageLayout->setColumnStretch(0, 1);
    45     pageLayout->setColumnStretch(1, 1);
    45     pageLayout->setColumnStretch(1, 1);
    46 
    46     pageLayout->setContentsMargins(7, 7, 7, 0);
    47     BtnBack = addButton(":/res/Exit.png", pageLayout, 3, 0, true);
       
    48     BtnBack->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
       
    49 
    47 
    50     BtnSave = addButton(":/res/Save.png", pageLayout, 3, 2, true);
    48     BtnSave = addButton(":/res/Save.png", pageLayout, 3, 2, true);
    51     BtnSave->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
       
    52     BtnSave->setStyleSheet("QPushButton{margin: 12px 0px 12px 0px;}");
    49     BtnSave->setStyleSheet("QPushButton{margin: 12px 0px 12px 0px;}");
    53     connect(BtnSave, SIGNAL(clicked()), this, SIGNAL(saveDemoRequested()));
    50     connect(BtnSave, SIGNAL(clicked()), this, SIGNAL(saveDemoRequested()));
       
    51 
       
    52     BtnBack = addButton(":/res/Exit.png", pageLayout, 3, 0, true);
       
    53     BtnBack->setFixedHeight(BtnSave->height());
       
    54     BtnBack->setFixedWidth(BtnBack->width()+2);
       
    55     BtnBack->setStyleSheet("QPushButton{margin: 22px 0 9px 2px;}");
    54 
    56 
    55     QGroupBox * gb = new QGroupBox(this);
    57     QGroupBox * gb = new QGroupBox(this);
    56     QVBoxLayout * gbl = new QVBoxLayout;
    58     QVBoxLayout * gbl = new QVBoxLayout;
    57 
    59 
    58     // details
    60     // details