75 HHNameEdit[i] = new QLineEdit(GBoxHedgehogs); |
75 HHNameEdit[i] = new QLineEdit(GBoxHedgehogs); |
76 HHNameEdit[i]->setMaxLength(64); |
76 HHNameEdit[i]->setMaxLength(64); |
77 HHNameEdit[i]->setMinimumWidth(120); |
77 HHNameEdit[i]->setMinimumWidth(120); |
78 GBHLayout->addWidget(HHNameEdit[i], i, 1); |
78 GBHLayout->addWidget(HHNameEdit[i], i, 1); |
79 |
79 |
80 btnRandomHogName[i] = addButton(":/res/dice.png", GBHLayout, i, 3, true); |
80 btnRandomHogName[i] = addButton(":/res/dice.png", GBHLayout, i, 3, 1, 1, true); |
81 } |
81 } |
82 |
82 |
83 btnRandomTeam = addButton(QPushButton::tr("Random Team"), GBHLayout, 9, false); |
83 btnRandomTeam = addButton(QPushButton::tr("Random Team"), GBHLayout, 9, 1); |
84 |
84 |
85 vbox1->addWidget(GBoxHedgehogs); |
85 vbox1->addWidget(GBoxHedgehogs); |
86 |
86 |
87 GBoxTeam = new QGroupBox(this); |
87 GBoxTeam = new QGroupBox(this); |
88 GBoxTeam->setTitle(QGroupBox::tr("Team Settings")); |
88 GBoxTeam->setTitle(QGroupBox::tr("Team Settings")); |