120 GBoxTeam->setTitle(QGroupBox::tr("Team")); |
121 GBoxTeam->setTitle(QGroupBox::tr("Team")); |
121 GBoxTeam->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
122 GBoxTeam->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
122 QGridLayout * GBTLayout = new QGridLayout(GBoxTeam); |
123 QGridLayout * GBTLayout = new QGridLayout(GBoxTeam); |
123 TeamNameEdit = new QLineEdit(GBoxTeam); |
124 TeamNameEdit = new QLineEdit(GBoxTeam); |
124 TeamNameEdit->setMaxLength(15); |
125 TeamNameEdit->setMaxLength(15); |
125 GBTLayout->addWidget(TeamNameEdit); |
126 GBTLayout->addWidget(TeamNameEdit, 0, 0, 1, 0); |
|
127 |
|
128 QLabel* difficultyLabel=new QLabel(GBoxTeam); |
|
129 difficultyLabel->setText("difficulty:"); |
|
130 difficultyBox=new QSpinBox(GBoxTeam); |
|
131 difficultyBox->setRange(0, 5); |
|
132 difficultyBox->setSingleStep(1); |
|
133 difficultyBox->setValue(0); |
|
134 GBTLayout->addWidget(difficultyLabel, 1, 0); |
|
135 GBTLayout->addWidget(difficultyBox, 1, 1); |
|
136 |
126 pageLayout->addWidget(GBoxTeam, 0, 0); |
137 pageLayout->addWidget(GBoxTeam, 0, 0); |
127 |
138 |
128 GBoxHedgehogs = new QGroupBox(this); |
139 GBoxHedgehogs = new QGroupBox(this); |
129 GBoxHedgehogs->setTitle(QGroupBox::tr("Team Members")); |
140 GBoxHedgehogs->setTitle(QGroupBox::tr("Team Members")); |
130 GBoxHedgehogs->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |
141 GBoxHedgehogs->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); |