QTfrontend/pages.cpp
changeset 2881 70d7976fa829
parent 2845 19db164dd20d
child 2882 b9aceb3fe3d6
equal deleted inserted replaced
2880:e95c2f489345 2881:70d7976fa829
  1100 	TBW_placehog = new ToggleButtonWidget(gbGameModes, ":/res/btnPlaceHog.png");
  1100 	TBW_placehog = new ToggleButtonWidget(gbGameModes, ":/res/btnPlaceHog.png");
  1101 	TBW_placehog->setText(ToggleButtonWidget::tr("Place Hedgehogs"));
  1101 	TBW_placehog->setText(ToggleButtonWidget::tr("Place Hedgehogs"));
  1102     TBW_placehog->setToolTip(tr("Take turns placing your hedgehogs before the start of play."));
  1102     TBW_placehog->setToolTip(tr("Take turns placing your hedgehogs before the start of play."));
  1103 	glGMLayout->addWidget(TBW_placehog,3,1,1,1);
  1103 	glGMLayout->addWidget(TBW_placehog,3,1,1,1);
  1104 
  1104 
       
  1105 	TBW_sharedammo = new ToggleButtonWidget(gbGameModes, ":/res/btnSharedAmmo.png");
       
  1106 	TBW_sharedammo->setText(ToggleButtonWidget::tr("Clan Shares Ammo"));
       
  1107     TBW_sharedammo->setToolTip(tr("Ammo is shared between all teams that share a colour."));
       
  1108 	glGMLayout->addWidget(TBW_sharedammo,3,2,1,1);
       
  1109 
  1105 	// Right
  1110 	// Right
  1106 	QLabel * l;
  1111 	QLabel * l;
  1107 
  1112 
  1108 	l = new QLabel(gbBasicSettings);
  1113 	l = new QLabel(gbBasicSettings);
  1109 	l->setText(QLabel::tr("Damage Modifier"));
  1114 	l->setText(QLabel::tr("Damage Modifier"));
  1250 	mapper->addMapping(TBW_karma->button(), 10);
  1255 	mapper->addMapping(TBW_karma->button(), 10);
  1251 	mapper->addMapping(TBW_artillery->button(), 11);
  1256 	mapper->addMapping(TBW_artillery->button(), 11);
  1252 	mapper->addMapping(TBW_randomorder->button(), 12);
  1257 	mapper->addMapping(TBW_randomorder->button(), 12);
  1253 	mapper->addMapping(TBW_king->button(), 13);
  1258 	mapper->addMapping(TBW_king->button(), 13);
  1254 	mapper->addMapping(TBW_placehog->button(), 14);
  1259 	mapper->addMapping(TBW_placehog->button(), 14);
  1255 	mapper->addMapping(SB_DamageModifier, 15);
  1260 	mapper->addMapping(TBW_sharedammo->button(), 15);
  1256 	mapper->addMapping(SB_TurnTime, 16);
  1261 	mapper->addMapping(SB_DamageModifier, 16);
  1257 	mapper->addMapping(SB_InitHealth, 17);
  1262 	mapper->addMapping(SB_TurnTime, 17);
  1258 	mapper->addMapping(SB_SuddenDeath, 18);
  1263 	mapper->addMapping(SB_InitHealth, 18);
  1259 	mapper->addMapping(SB_CaseProb, 19);
  1264 	mapper->addMapping(SB_SuddenDeath, 19);
  1260 	mapper->addMapping(SB_MinesTime, 20);
  1265 	mapper->addMapping(SB_CaseProb, 20);
  1261 	mapper->addMapping(SB_Mines, 21);
  1266 	mapper->addMapping(SB_MinesTime, 21);
       
  1267 	mapper->addMapping(SB_Mines, 22);
  1262 
  1268 
  1263 	mapper->toFirst();
  1269 	mapper->toFirst();
  1264 }
  1270 }
  1265 
  1271 
  1266 void PageScheme::newRow()
  1272 void PageScheme::newRow()