|
|
|
@ -15,14 +15,12 @@ PlayPage::PlayPage(QWidget *parent) : QWidget(parent)
|
|
|
|
|
playBox->setFixedSize(QSize(425, 375));
|
|
|
|
|
playBox->setFlat(true);
|
|
|
|
|
|
|
|
|
|
QPushButton *playButton = new QPushButton(tr("Play"), playBox);
|
|
|
|
|
playButton->setMinimumSize(QSize(200, 50));
|
|
|
|
|
mPlayButton = new QPushButton(tr("Play"), playBox);
|
|
|
|
|
mPlayButton->setMinimumSize(QSize(200, 50));
|
|
|
|
|
|
|
|
|
|
QLabel *profileLabel = new QLabel(tr("Current Profile:"), playBox);
|
|
|
|
|
|
|
|
|
|
mProfilesModel = new QStringListModel();
|
|
|
|
|
mProfilesComboBox = new QComboBox(playBox);
|
|
|
|
|
mProfilesComboBox->setModel(mProfilesModel);
|
|
|
|
|
|
|
|
|
|
QGridLayout *playLayout = new QGridLayout(playBox);
|
|
|
|
|
|
|
|
|
@ -32,7 +30,7 @@ PlayPage::PlayPage(QWidget *parent) : QWidget(parent)
|
|
|
|
|
QSpacerItem *vSpacer1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
QSpacerItem *vSpacer2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
|
|
|
|
playLayout->addWidget(playButton, 1, 1, 1, 1);
|
|
|
|
|
playLayout->addWidget(mPlayButton, 1, 1, 1, 1);
|
|
|
|
|
playLayout->addWidget(profileLabel, 2, 1, 1, 1);
|
|
|
|
|
playLayout->addWidget(mProfilesComboBox, 3, 1, 1, 1);
|
|
|
|
|
playLayout->addItem(hSpacer1, 2, 0, 1, 1);
|
|
|
|
|