QTfrontend/pages.cpp
changeset 2703 fbde0d971ba6
parent 2654 622d89be57b6
child 2726 a84fc5113d01
equal deleted inserted replaced
2702:48fc46a922fd 2703:fbde0d971ba6
  1047 	TBW_artillery = new ToggleButtonWidget(gbGameModes, ":/res/btnArtillery.png");
  1047 	TBW_artillery = new ToggleButtonWidget(gbGameModes, ":/res/btnArtillery.png");
  1048 	TBW_artillery->setText(ToggleButtonWidget::tr("Artillery"));
  1048 	TBW_artillery->setText(ToggleButtonWidget::tr("Artillery"));
  1049     TBW_artillery->setToolTip(tr("Your hogs are unable to move, put your artillery skills to the test"));
  1049     TBW_artillery->setToolTip(tr("Your hogs are unable to move, put your artillery skills to the test"));
  1050 	glGMLayout->addWidget(TBW_artillery,2,2,1,1);
  1050 	glGMLayout->addWidget(TBW_artillery,2,2,1,1);
  1051 
  1051 
       
  1052 	TBW_randomorder = new ToggleButtonWidget(gbGameModes, ":/res/btnRandomOrder.png");
       
  1053 	TBW_randomorder->setText(ToggleButtonWidget::tr("Random 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);
       
  1056 
  1052 	// Right
  1057 	// Right
  1053 	QLabel * l;
  1058 	QLabel * l;
  1054 
  1059 
  1055 	l = new QLabel(gbBasicSettings);
  1060 	l = new QLabel(gbBasicSettings);
  1056 	l->setText(QLabel::tr("Damage Modifier"));
  1061 	l->setText(QLabel::tr("Damage Modifier"));
  1194 	mapper->addMapping(TBW_invulnerable->button(), 7);
  1199 	mapper->addMapping(TBW_invulnerable->button(), 7);
  1195 	mapper->addMapping(TBW_mines->button(), 8);
  1200 	mapper->addMapping(TBW_mines->button(), 8);
  1196 	mapper->addMapping(TBW_vampiric->button(), 9);
  1201 	mapper->addMapping(TBW_vampiric->button(), 9);
  1197 	mapper->addMapping(TBW_karma->button(), 10);
  1202 	mapper->addMapping(TBW_karma->button(), 10);
  1198 	mapper->addMapping(TBW_artillery->button(), 11);
  1203 	mapper->addMapping(TBW_artillery->button(), 11);
  1199 	mapper->addMapping(SB_DamageModifier, 12);
  1204 	mapper->addMapping(TBW_randomorder->button(), 12);
  1200 	mapper->addMapping(SB_TurnTime, 13);
  1205 	mapper->addMapping(SB_DamageModifier, 13);
  1201 	mapper->addMapping(SB_InitHealth, 14);
  1206 	mapper->addMapping(SB_TurnTime, 14);
  1202 	mapper->addMapping(SB_SuddenDeath, 15);
  1207 	mapper->addMapping(SB_InitHealth, 15);
  1203 	mapper->addMapping(SB_CaseProb, 16);
  1208 	mapper->addMapping(SB_SuddenDeath, 16);
  1204 	mapper->addMapping(SB_MinesTime, 17);
  1209 	mapper->addMapping(SB_CaseProb, 17);
  1205 	mapper->addMapping(SB_Mines, 18);
  1210 	mapper->addMapping(SB_MinesTime, 18);
       
  1211 	mapper->addMapping(SB_Mines, 19);
  1206 
  1212 
  1207 	mapper->toFirst();
  1213 	mapper->toFirst();
  1208 }
  1214 }
  1209 
  1215 
  1210 void PageScheme::newRow()
  1216 void PageScheme::newRow()