QTfrontend/ui/page/pageplayrecord.cpp
changeset 12241 a0ed4caa6d35
parent 11824 7642955690bc
child 12476 a79fe5666d90
equal deleted inserted replaced
12240:0844c680b4bc 12241:a0ed4caa6d35
    60     QHBoxLayout * bottomLayout = new QHBoxLayout();
    60     QHBoxLayout * bottomLayout = new QHBoxLayout();
    61 
    61 
    62     BtnPlayDemo = addButton(tr("Play demo"), bottomLayout, 0, false, Qt::AlignBottom);
    62     BtnPlayDemo = addButton(tr("Play demo"), bottomLayout, 0, false, Qt::AlignBottom);
    63     const QIcon& lp = QIcon(":/res/Start.png");
    63     const QIcon& lp = QIcon(":/res/Start.png");
    64     QSize sz = lp.actualSize(QSize(65535, 65535));
    64     QSize sz = lp.actualSize(QSize(65535, 65535));
    65     BtnPlayDemo->setMinimumWidth(sz.width());
    65     BtnPlayDemo->setStyleSheet("padding: 5px 10px");
    66     BtnPlayDemo->setIcon(lp);
    66     BtnPlayDemo->setIcon(lp);
    67     BtnPlayDemo->setFixedHeight(50);
    67     BtnPlayDemo->setFixedHeight(50);
    68     BtnPlayDemo->setIconSize(sz);
    68     BtnPlayDemo->setIconSize(sz);
    69     BtnPlayDemo->setFlat(true);
    69     BtnPlayDemo->setFlat(true);
    70     BtnPlayDemo->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
    70     BtnPlayDemo->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);