equal
deleted
inserted
replaced
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); |