142 TeamNameEdit = new QLineEdit(GBoxTeam); |
142 TeamNameEdit = new QLineEdit(GBoxTeam); |
143 TeamNameEdit->setMaxLength(64); |
143 TeamNameEdit->setMaxLength(64); |
144 GBTLayout->addWidget(TeamNameEdit); |
144 GBTLayout->addWidget(TeamNameEdit); |
145 vbox2->addWidget(GBoxTeam); |
145 vbox2->addWidget(GBoxTeam); |
146 |
146 |
147 CBTeamLvl = new QComboBox(GBoxTeamLvl); |
147 CBTeamLvl = new QComboBox(GBoxTeam); |
148 CBTeamLvl->setIconSize(QSize(32, 32)); |
148 CBTeamLvl->setIconSize(QSize(32, 32)); |
149 CBTeamLvl->addItem(QIcon(":/res/botlevels/0.png"), QComboBox::tr("Human")); |
149 CBTeamLvl->addItem(QIcon(":/res/botlevels/0.png"), QComboBox::tr("Human")); |
150 for(int i = 5; i > 0; i--) |
150 for(int i = 5; i > 0; i--) |
151 CBTeamLvl->addItem( |
151 CBTeamLvl->addItem( |
152 QIcon(QString(":/res/botlevels/%1.png").arg(6 - i)), |
152 QIcon(QString(":/res/botlevels/%1.png").arg(6 - i)), |
153 QString("%1 %2").arg(QComboBox::tr("Level")).arg(i) |
153 QString("%1 %2").arg(QComboBox::tr("Level")).arg(i) |
154 ); |
154 ); |
155 GBTLayout->addWidget(CBTeamLvl); |
155 GBTLayout->addWidget(CBTeamLvl); |
156 |
156 |
157 CBGrave = new QComboBox(GBoxGrave); |
157 CBGrave = new QComboBox(GBoxTeam); |
158 CBGrave->setMaxCount(65535); |
158 CBGrave->setMaxCount(65535); |
159 CBGrave->setIconSize(QSize(32, 32)); |
159 CBGrave->setIconSize(QSize(32, 32)); |
160 GBTLayout->addWidget(CBGrave); |
160 GBTLayout->addWidget(CBGrave); |
161 |
161 |
162 GBoxFort = new QGroupBox(this); |
162 GBoxFort = new QGroupBox(this); |