QTfrontend/pages.cpp
changeset 2726 a84fc5113d01
parent 2703 fbde0d971ba6
child 2733 52a5a160566f
equal deleted inserted replaced
2725:89908847b155 2726:a84fc5113d01
  1052 	TBW_randomorder = new ToggleButtonWidget(gbGameModes, ":/res/btnRandomOrder.png");
  1052 	TBW_randomorder = new ToggleButtonWidget(gbGameModes, ":/res/btnRandomOrder.png");
  1053 	TBW_randomorder->setText(ToggleButtonWidget::tr("Random Order"));
  1053 	TBW_randomorder->setText(ToggleButtonWidget::tr("Random Order"));
  1054     TBW_randomorder->setToolTip(tr("Order of play is random instead of in room order."));
  1054     TBW_randomorder->setToolTip(tr("Order of play is random instead of in room order."));
  1055 	glGMLayout->addWidget(TBW_randomorder,2,3,1,1);
  1055 	glGMLayout->addWidget(TBW_randomorder,2,3,1,1);
  1056 
  1056 
       
  1057 	TBW_king = new ToggleButtonWidget(gbGameModes, ":/res/btnKing.png");
       
  1058 	TBW_king->setText(ToggleButtonWidget::tr("King"));
       
  1059     TBW_king->setToolTip(tr("Play with a King. If he dies, your side dies."));
       
  1060 	glGMLayout->addWidget(TBW_king,3,0,1,1);
       
  1061 
  1057 	// Right
  1062 	// Right
  1058 	QLabel * l;
  1063 	QLabel * l;
  1059 
  1064 
  1060 	l = new QLabel(gbBasicSettings);
  1065 	l = new QLabel(gbBasicSettings);
  1061 	l->setText(QLabel::tr("Damage Modifier"));
  1066 	l->setText(QLabel::tr("Damage Modifier"));
  1200 	mapper->addMapping(TBW_mines->button(), 8);
  1205 	mapper->addMapping(TBW_mines->button(), 8);
  1201 	mapper->addMapping(TBW_vampiric->button(), 9);
  1206 	mapper->addMapping(TBW_vampiric->button(), 9);
  1202 	mapper->addMapping(TBW_karma->button(), 10);
  1207 	mapper->addMapping(TBW_karma->button(), 10);
  1203 	mapper->addMapping(TBW_artillery->button(), 11);
  1208 	mapper->addMapping(TBW_artillery->button(), 11);
  1204 	mapper->addMapping(TBW_randomorder->button(), 12);
  1209 	mapper->addMapping(TBW_randomorder->button(), 12);
  1205 	mapper->addMapping(SB_DamageModifier, 13);
  1210 	mapper->addMapping(TBW_king->button(), 13);
  1206 	mapper->addMapping(SB_TurnTime, 14);
  1211 	mapper->addMapping(SB_DamageModifier, 14);
  1207 	mapper->addMapping(SB_InitHealth, 15);
  1212 	mapper->addMapping(SB_TurnTime, 15);
  1208 	mapper->addMapping(SB_SuddenDeath, 16);
  1213 	mapper->addMapping(SB_InitHealth, 16);
  1209 	mapper->addMapping(SB_CaseProb, 17);
  1214 	mapper->addMapping(SB_SuddenDeath, 17);
  1210 	mapper->addMapping(SB_MinesTime, 18);
  1215 	mapper->addMapping(SB_CaseProb, 18);
  1211 	mapper->addMapping(SB_Mines, 19);
  1216 	mapper->addMapping(SB_MinesTime, 19);
       
  1217 	mapper->addMapping(SB_Mines, 20);
  1212 
  1218 
  1213 	mapper->toFirst();
  1219 	mapper->toFirst();
  1214 }
  1220 }
  1215 
  1221 
  1216 void PageScheme::newRow()
  1222 void PageScheme::newRow()