QTfrontend/pagescheme.cpp
changeset 5717 6d513913b7a9
parent 5204 e1a5f4d5d86a
child 5719 0ed1f543f301
equal deleted inserted replaced
5716:9505a6f3fe05 5717:6d513913b7a9
    76     TBW_solid = new ToggleButtonWidget(gbGameModes, ":/res/btnSolid.png");
    76     TBW_solid = new ToggleButtonWidget(gbGameModes, ":/res/btnSolid.png");
    77     TBW_solid->setToolTip("<b>" + ToggleButtonWidget::tr("Solid Land") + "</b>:<br />" + tr("Land can not be destroyed!"));
    77     TBW_solid->setToolTip("<b>" + ToggleButtonWidget::tr("Solid Land") + "</b>:<br />" + tr("Land can not be destroyed!"));
    78     glGMLayout->addWidget(TBW_solid,0,2,1,1);
    78     glGMLayout->addWidget(TBW_solid,0,2,1,1);
    79 
    79 
    80     TBW_border = new ToggleButtonWidget(gbGameModes, ":/res/btnBorder.png");
    80     TBW_border = new ToggleButtonWidget(gbGameModes, ":/res/btnBorder.png");
    81     TBW_border->setToolTip("<b>" + ToggleButtonWidget::tr("Add Border") + "</b>:<br />" + tr("Add an indestructable border around the terrain"));
    81     TBW_border->setToolTip("<b>" + ToggleButtonWidget::tr("Add Border") + "</b>:<br />" + tr("Add an indestructible border around the terrain"));
    82     glGMLayout->addWidget(TBW_border,0,3,1,1);
    82     glGMLayout->addWidget(TBW_border,0,3,1,1);
    83 
    83 
    84     TBW_lowGravity = new ToggleButtonWidget(gbGameModes, ":/res/btnLowGravity.png");
    84     TBW_lowGravity = new ToggleButtonWidget(gbGameModes, ":/res/btnLowGravity.png");
    85     TBW_lowGravity->setToolTip("<b>" + ToggleButtonWidget::tr("Low Gravity") + "</b>:<br />" + tr("Lower gravity"));
    85     TBW_lowGravity->setToolTip("<b>" + ToggleButtonWidget::tr("Low Gravity") + "</b>:<br />" + tr("Lower gravity"));
    86     glGMLayout->addWidget(TBW_lowGravity,0,4,1,1);
    86     glGMLayout->addWidget(TBW_lowGravity,0,4,1,1);
   158     glGMLayout->addWidget(TBW_morewind,4,2,1,1);
   158     glGMLayout->addWidget(TBW_morewind,4,2,1,1);
   159 
   159 
   160     TBW_tagteam = new ToggleButtonWidget(gbGameModes, ":/res/btnTagTeam.png");
   160     TBW_tagteam = new ToggleButtonWidget(gbGameModes, ":/res/btnTagTeam.png");
   161     TBW_tagteam->setToolTip("<b>" + ToggleButtonWidget::tr("Tag Team") + "</b>:<br />" + tr("Teams in each clan take successive turns sharing their turn time."));
   161     TBW_tagteam->setToolTip("<b>" + ToggleButtonWidget::tr("Tag Team") + "</b>:<br />" + tr("Teams in each clan take successive turns sharing their turn time."));
   162     glGMLayout->addWidget(TBW_tagteam,4,3,1,1);
   162     glGMLayout->addWidget(TBW_tagteam,4,3,1,1);
       
   163 
       
   164     TBW_bottomborder = new ToggleButtonWidget(gbGameModes, ":/res/btnBorder.png");
       
   165     TBW_bottomborder->setToolTip("<b>" + ToggleButtonWidget::tr("Add Bottom Border") + "</b>:<br />" + tr("Add an indestructible border along the bottom"));
       
   166     glGMLayout->addWidget(TBW_bottomborder,4,4,1,1);
       
   167 
   163 
   168 
   164     // Right
   169     // Right
   165     QLabel * l;
   170     QLabel * l;
   166 
   171 
   167     l = new QLabel(gbBasicSettings);
   172     l = new QLabel(gbBasicSettings);
   428     mapper->addMapping(TBW_resetweps, 20);
   433     mapper->addMapping(TBW_resetweps, 20);
   429     mapper->addMapping(TBW_perhogammo, 21);
   434     mapper->addMapping(TBW_perhogammo, 21);
   430     mapper->addMapping(TBW_nowind, 22);
   435     mapper->addMapping(TBW_nowind, 22);
   431     mapper->addMapping(TBW_morewind, 23);
   436     mapper->addMapping(TBW_morewind, 23);
   432     mapper->addMapping(TBW_tagteam, 24);
   437     mapper->addMapping(TBW_tagteam, 24);
   433     mapper->addMapping(SB_DamageModifier, 25);
   438     mapper->addMapping(TBW_bottomborder, 25);
   434     mapper->addMapping(SB_TurnTime, 26);
   439     mapper->addMapping(SB_DamageModifier, 26);
   435     mapper->addMapping(SB_InitHealth, 27);
   440     mapper->addMapping(SB_TurnTime, 27);
   436     mapper->addMapping(SB_SuddenDeath, 28);
   441     mapper->addMapping(SB_InitHealth, 28);
   437     mapper->addMapping(SB_CaseProb, 29);
   442     mapper->addMapping(SB_SuddenDeath, 29);
   438     mapper->addMapping(SB_MinesTime, 30);
   443     mapper->addMapping(SB_CaseProb, 30);
   439     mapper->addMapping(SB_Mines, 31);
   444     mapper->addMapping(SB_MinesTime, 31);
   440     mapper->addMapping(SB_MineDuds, 32);
   445     mapper->addMapping(SB_Mines, 32);
   441     mapper->addMapping(SB_Explosives, 33);
   446     mapper->addMapping(SB_MineDuds, 33);
   442     mapper->addMapping(SB_HealthCrates, 34);
   447     mapper->addMapping(SB_Explosives, 34);
   443     mapper->addMapping(SB_CrateHealth, 35);
   448     mapper->addMapping(SB_HealthCrates, 35);
   444     mapper->addMapping(SB_WaterRise, 36);
   449     mapper->addMapping(SB_CrateHealth, 36);
   445     mapper->addMapping(SB_HealthDecrease, 37);
   450     mapper->addMapping(SB_WaterRise, 37);
   446     mapper->addMapping(SB_RopeModifier, 38);
   451     mapper->addMapping(SB_HealthDecrease, 38);
   447 		mapper->addMapping(SB_GetAwayTime, 39);
   452     mapper->addMapping(SB_RopeModifier, 39);
       
   453 	mapper->addMapping(SB_GetAwayTime, 40);
   448 
   454 
   449     mapper->toFirst();
   455     mapper->toFirst();
   450 }
   456 }
   451 
   457 
   452 void PageScheme::newRow()
   458 void PageScheme::newRow()