QTfrontend/ui/page/pagescheme.cpp
changeset 11818 5bda5af6a9c7
parent 11760 ae881363fc64
child 11820 68bc5ebce319
equal deleted inserted replaced
11817:92b3b0fcb41f 11818:5bda5af6a9c7
   168     glGMLayout->addWidget(TBW_king,4,4,1,1);
   168     glGMLayout->addWidget(TBW_king,4,4,1,1);
   169 
   169 
   170     // Right
   170     // Right
   171     QLabel * l;
   171     QLabel * l;
   172 
   172 
       
   173     QString wtDamageModifier = tr("Overall damage and knockback");
       
   174     QString wtTurnTime = tr("Turn time in seconds");
       
   175     QString wtInitHealth = tr("Initial health of hedgehogs");
       
   176     QString wtSuddenDeath = tr("How many rounds have to be played before Sudden Death begins");
       
   177     QString wtWaterRise = tr("How much the water rises per turn while in Sudden Death. Set to 0 along with Sudden Death Health Decrease to disable Sudden Death.");
       
   178     QString wtHealthDecrease = tr("How much health hedgehogs lose per turn while in Sudden Death, down to 1 health. Set to 0 along with Sudden Death Water Rise to disable Sudden Death.");
       
   179     QString wtRopeModifier = tr("Maximum rope length in percent");
       
   180     QString wtHealthCrates = tr("Likelihood of a dropped crate being a health crate. All other crates will be weapon or utility crates.");
       
   181     QString wtCaseProb = tr("Likelihood of a crate dropping before a turn");
       
   182     QString wtCrateHealth= tr("Health bonus for collecting a health crate");
       
   183     QString wtMinesTime = tr("Detonation timer of mines. The random timer lies between 0 and 5 seconds. The timer of air mines will be a quarter of the mines timer.");
       
   184     QString wtMines = tr("Average number of mines to be placed a medium-sized island map. This number will be scaled for other maps.");
       
   185     QString wtMineDuds = tr("Likelihood of a mine being a dud. Does not affect mines placed by hedgehogs.");
       
   186     QString wtExplosives = tr("Average number of barrels to be placed a medium-sized island map. This number will be scaled for other maps.");
       
   187     QString wtAirMines = tr("Average number of air mines to be placed a medium-sized island map. This number will be scaled for other maps.");
       
   188     QString wtWorldEdge = tr("Affects the left and right boundaries of the map");
       
   189     QString wtGetAwayTime = tr("Time you get after an attack");
       
   190     QString wtScriptParam = tr("Additional parameter to configure game styles. The meaning depends on the used style, refer to the documentation. When in doubt, leave it empty.");
       
   191 
   173     l = new QLabel(gbBasicSettings);
   192     l = new QLabel(gbBasicSettings);
   174     l->setText(QLabel::tr("Damage Modifier"));
   193     l->setText(QLabel::tr("Damage Modifier"));
       
   194     l->setWhatsThis(wtDamageModifier);
   175     l->setWordWrap(true);
   195     l->setWordWrap(true);
   176     glBSLayout->addWidget(l,0,0,1,1);
   196     glBSLayout->addWidget(l,0,0,1,1);
   177     l = new QLabel(gbBasicSettings);
   197     l = new QLabel(gbBasicSettings);
       
   198     l->setWhatsThis(wtDamageModifier);
   178     l->setFixedSize(32,32);
   199     l->setFixedSize(32,32);
   179     l->setPixmap(QPixmap(":/res/iconDamage.png"));
   200     l->setPixmap(QPixmap(":/res/iconDamage.png"));
   180     glBSLayout->addWidget(l,0,1,1,1);
   201     glBSLayout->addWidget(l,0,1,1,1);
   181     SB_DamageModifier = new QSpinBox(gbBasicSettings);
   202     SB_DamageModifier = new QSpinBox(gbBasicSettings);
       
   203     SB_DamageModifier->setWhatsThis(wtDamageModifier);
   182     SB_DamageModifier->setRange(10, 300);
   204     SB_DamageModifier->setRange(10, 300);
   183     SB_DamageModifier->setValue(100);
   205     SB_DamageModifier->setValue(100);
   184     SB_DamageModifier->setSingleStep(25);
   206     SB_DamageModifier->setSingleStep(25);
   185     glBSLayout->addWidget(SB_DamageModifier,0,2,1,1);
   207     glBSLayout->addWidget(SB_DamageModifier,0,2,1,1);
   186 
   208 
   187     l = new QLabel(gbBasicSettings);
   209     l = new QLabel(gbBasicSettings);
   188     l->setText(QLabel::tr("Turn Time"));
   210     l->setText(QLabel::tr("Turn Time"));
       
   211     l->setWhatsThis(wtTurnTime);
   189     l->setWordWrap(true);
   212     l->setWordWrap(true);
   190     glBSLayout->addWidget(l,1,0,1,1);
   213     glBSLayout->addWidget(l,1,0,1,1);
   191     l = new QLabel(gbBasicSettings);
   214     l = new QLabel(gbBasicSettings);
       
   215     l->setWhatsThis(wtTurnTime);
   192     l->setFixedSize(32,32);
   216     l->setFixedSize(32,32);
   193     l->setPixmap(QPixmap(":/res/iconTime.png"));
   217     l->setPixmap(QPixmap(":/res/iconTime.png"));
   194     glBSLayout->addWidget(l,1,1,1,1);
   218     glBSLayout->addWidget(l,1,1,1,1);
   195     SB_TurnTime = new QSpinBox(gbBasicSettings);
   219     SB_TurnTime = new QSpinBox(gbBasicSettings);
       
   220     SB_TurnTime->setWhatsThis(wtTurnTime);
   196     SB_TurnTime->setRange(1, 9999);
   221     SB_TurnTime->setRange(1, 9999);
   197     SB_TurnTime->setValue(45);
   222     SB_TurnTime->setValue(45);
   198     SB_TurnTime->setSingleStep(15);
   223     SB_TurnTime->setSingleStep(15);
   199     glBSLayout->addWidget(SB_TurnTime,1,2,1,1);
   224     glBSLayout->addWidget(SB_TurnTime,1,2,1,1);
   200 
   225 
   201     l = new QLabel(gbBasicSettings);
   226     l = new QLabel(gbBasicSettings);
   202     l->setText(QLabel::tr("Initial Health"));
   227     l->setText(QLabel::tr("Initial Health"));
       
   228     l->setWhatsThis(wtInitHealth);
   203     l->setWordWrap(true);
   229     l->setWordWrap(true);
   204     glBSLayout->addWidget(l,2,0,1,1);
   230     glBSLayout->addWidget(l,2,0,1,1);
   205     l = new QLabel(gbBasicSettings);
   231     l = new QLabel(gbBasicSettings);
       
   232     l->setWhatsThis(wtInitHealth);
   206     l->setFixedSize(32,32);
   233     l->setFixedSize(32,32);
   207     l->setPixmap(QPixmap(":/res/iconHealth.png"));
   234     l->setPixmap(QPixmap(":/res/iconHealth.png"));
   208     glBSLayout->addWidget(l,2,1,1,1);
   235     glBSLayout->addWidget(l,2,1,1,1);
   209     SB_InitHealth = new QSpinBox(gbBasicSettings);
   236     SB_InitHealth = new QSpinBox(gbBasicSettings);
       
   237     SB_InitHealth->setWhatsThis(wtInitHealth);
   210     SB_InitHealth->setRange(50, 200);
   238     SB_InitHealth->setRange(50, 200);
   211     SB_InitHealth->setValue(100);
   239     SB_InitHealth->setValue(100);
   212     SB_InitHealth->setSingleStep(25);
   240     SB_InitHealth->setSingleStep(25);
   213     glBSLayout->addWidget(SB_InitHealth,2,2,1,1);
   241     glBSLayout->addWidget(SB_InitHealth,2,2,1,1);
   214 
   242 
   215     l = new QLabel(gbBasicSettings);
   243     l = new QLabel(gbBasicSettings);
   216     l->setText(QLabel::tr("Sudden Death Timeout"));
   244     l->setText(QLabel::tr("Sudden Death Timeout"));
       
   245     l->setWhatsThis(wtSuddenDeath);
   217     l->setWordWrap(true);
   246     l->setWordWrap(true);
   218     glBSLayout->addWidget(l,3,0,1,1);
   247     glBSLayout->addWidget(l,3,0,1,1);
   219     l = new QLabel(gbBasicSettings);
   248     l = new QLabel(gbBasicSettings);
   220     l->setFixedSize(32,32);
   249     l->setFixedSize(32,32);
       
   250     l->setWhatsThis(wtSuddenDeath);
   221     l->setPixmap(QPixmap(":/res/iconSuddenDeathTime.png"));
   251     l->setPixmap(QPixmap(":/res/iconSuddenDeathTime.png"));
   222     glBSLayout->addWidget(l,3,1,1,1);
   252     glBSLayout->addWidget(l,3,1,1,1);
   223     SB_SuddenDeath = new QSpinBox(gbBasicSettings);
   253     SB_SuddenDeath = new QSpinBox(gbBasicSettings);
       
   254     SB_SuddenDeath->setWhatsThis(wtSuddenDeath);
   224     SB_SuddenDeath->setRange(0, 50);
   255     SB_SuddenDeath->setRange(0, 50);
   225     SB_SuddenDeath->setValue(15);
   256     SB_SuddenDeath->setValue(15);
   226     SB_SuddenDeath->setSingleStep(3);
   257     SB_SuddenDeath->setSingleStep(3);
   227     glBSLayout->addWidget(SB_SuddenDeath,3,2,1,1);
   258     glBSLayout->addWidget(SB_SuddenDeath,3,2,1,1);
   228 
   259 
   229     l = new QLabel(gbBasicSettings);
   260     l = new QLabel(gbBasicSettings);
   230     l->setText(QLabel::tr("Sudden Death Water Rise"));
   261     l->setText(QLabel::tr("Sudden Death Water Rise"));
       
   262     l->setWhatsThis(wtWaterRise);
   231     l->setWordWrap(true);
   263     l->setWordWrap(true);
   232     glBSLayout->addWidget(l,4,0,1,1);
   264     glBSLayout->addWidget(l,4,0,1,1);
   233     l = new QLabel(gbBasicSettings);
   265     l = new QLabel(gbBasicSettings);
       
   266     l->setWhatsThis(wtWaterRise);
   234     l->setFixedSize(32,32);
   267     l->setFixedSize(32,32);
   235     l->setPixmap(QPixmap(":/res/iconSuddenDeathWater.png"));
   268     l->setPixmap(QPixmap(":/res/iconSuddenDeathWater.png"));
   236     glBSLayout->addWidget(l,4,1,1,1);
   269     glBSLayout->addWidget(l,4,1,1,1);
   237     SB_WaterRise = new QSpinBox(gbBasicSettings);
   270     SB_WaterRise = new QSpinBox(gbBasicSettings);
       
   271     SB_WaterRise->setWhatsThis(wtWaterRise);
   238     SB_WaterRise->setRange(0, 100);
   272     SB_WaterRise->setRange(0, 100);
   239     SB_WaterRise->setValue(47);
   273     SB_WaterRise->setValue(47);
   240     SB_WaterRise->setSingleStep(5);
   274     SB_WaterRise->setSingleStep(5);
   241     glBSLayout->addWidget(SB_WaterRise,4,2,1,1);
   275     glBSLayout->addWidget(SB_WaterRise,4,2,1,1);
   242 
   276 
   243     l = new QLabel(gbBasicSettings);
   277     l = new QLabel(gbBasicSettings);
   244     l->setText(QLabel::tr("Sudden Death Health Decrease"));
   278     l->setText(QLabel::tr("Sudden Death Health Decrease"));
       
   279     l->setWhatsThis(wtHealthDecrease);
   245     l->setWordWrap(true);
   280     l->setWordWrap(true);
   246     glBSLayout->addWidget(l,5,0,1,1);
   281     glBSLayout->addWidget(l,5,0,1,1);
   247     l = new QLabel(gbBasicSettings);
   282     l = new QLabel(gbBasicSettings);
       
   283     l->setWhatsThis(wtHealthDecrease);
   248     l->setFixedSize(32,32);
   284     l->setFixedSize(32,32);
   249     l->setPixmap(QPixmap(":/res/iconSuddenDeath.png"));
   285     l->setPixmap(QPixmap(":/res/iconSuddenDeath.png"));
   250     glBSLayout->addWidget(l,5,1,1,1);
   286     glBSLayout->addWidget(l,5,1,1,1);
   251     SB_HealthDecrease = new QSpinBox(gbBasicSettings);
   287     SB_HealthDecrease = new QSpinBox(gbBasicSettings);
       
   288     SB_HealthDecrease->setWhatsThis(wtHealthDecrease);
   252     SB_HealthDecrease->setRange(0, 100);
   289     SB_HealthDecrease->setRange(0, 100);
   253     SB_HealthDecrease->setValue(5);
   290     SB_HealthDecrease->setValue(5);
   254     SB_HealthDecrease->setSingleStep(1);
   291     SB_HealthDecrease->setSingleStep(1);
   255     glBSLayout->addWidget(SB_HealthDecrease,5,2,1,1);
   292     glBSLayout->addWidget(SB_HealthDecrease,5,2,1,1);
   256 
   293 
   257     l = new QLabel(gbBasicSettings);
   294     l = new QLabel(gbBasicSettings);
   258     l->setText(QLabel::tr("% Rope Length"));
   295     l->setText(QLabel::tr("% Rope Length"));
       
   296     l->setWhatsThis(wtRopeModifier);
   259     l->setWordWrap(true);
   297     l->setWordWrap(true);
   260     glBSLayout->addWidget(l,6,0,1,1);
   298     glBSLayout->addWidget(l,6,0,1,1);
   261     l = new QLabel(gbBasicSettings);
   299     l = new QLabel(gbBasicSettings);
       
   300     l->setWhatsThis(wtRopeModifier);
   262     l->setFixedSize(32,32);
   301     l->setFixedSize(32,32);
   263     l->setPixmap(QPixmap(":/res/iconRope.png"));
   302     l->setPixmap(QPixmap(":/res/iconRope.png"));
   264     glBSLayout->addWidget(l,6,1,1,1);
   303     glBSLayout->addWidget(l,6,1,1,1);
   265     SB_RopeModifier = new QSpinBox(gbBasicSettings);
   304     SB_RopeModifier = new QSpinBox(gbBasicSettings);
       
   305     SB_RopeModifier->setWhatsThis(wtRopeModifier);
   266     SB_RopeModifier->setRange(25, 999);
   306     SB_RopeModifier->setRange(25, 999);
   267     SB_RopeModifier->setValue(100);
   307     SB_RopeModifier->setValue(100);
   268     SB_RopeModifier->setSingleStep(25);
   308     SB_RopeModifier->setSingleStep(25);
   269     glBSLayout->addWidget(SB_RopeModifier,6,2,1,1);
   309     glBSLayout->addWidget(SB_RopeModifier,6,2,1,1);
   270 
   310 
   271     l = new QLabel(gbBasicSettings);
   311     l = new QLabel(gbBasicSettings);
   272     l->setText(QLabel::tr("Crate Drops"));
   312     l->setText(QLabel::tr("Crate Drops"));
       
   313     l->setWhatsThis(wtCaseProb);
   273     l->setWordWrap(true);
   314     l->setWordWrap(true);
   274     glBSLayout->addWidget(l,7,0,1,1);
   315     glBSLayout->addWidget(l,7,0,1,1);
   275     l = new QLabel(gbBasicSettings);
   316     l = new QLabel(gbBasicSettings);
   276     l->setFixedSize(32,32);
   317     l->setFixedSize(32,32);
       
   318     l->setWhatsThis(wtCaseProb);
   277     l->setPixmap(QPixmap(":/res/iconBox.png"));
   319     l->setPixmap(QPixmap(":/res/iconBox.png"));
   278     glBSLayout->addWidget(l,7,1,1,1);
   320     glBSLayout->addWidget(l,7,1,1,1);
   279     SB_CaseProb = new FreqSpinBox(gbBasicSettings);
   321     SB_CaseProb = new FreqSpinBox(gbBasicSettings);
       
   322     SB_CaseProb->setWhatsThis(wtCaseProb);
   280     SB_CaseProb->setRange(0, 9);
   323     SB_CaseProb->setRange(0, 9);
   281     SB_CaseProb->setValue(5);
   324     SB_CaseProb->setValue(5);
   282     glBSLayout->addWidget(SB_CaseProb,7,2,1,1);
   325     glBSLayout->addWidget(SB_CaseProb,7,2,1,1);
   283 
   326 
   284     l = new QLabel(gbBasicSettings);
   327     l = new QLabel(gbBasicSettings);
   285     l->setText(QLabel::tr("% Health Crates"));
   328     l->setText(QLabel::tr("% Health Crates"));
       
   329     l->setWhatsThis(wtHealthCrates);
   286     l->setWordWrap(true);
   330     l->setWordWrap(true);
   287     glBSLayout->addWidget(l,8,0,1,1);
   331     glBSLayout->addWidget(l,8,0,1,1);
   288     l = new QLabel(gbBasicSettings);
   332     l = new QLabel(gbBasicSettings);
   289     l->setFixedSize(32,32);
   333     l->setFixedSize(32,32);
       
   334     l->setWhatsThis(wtHealthCrates);
   290     l->setPixmap(QPixmap(":/res/iconHealthPercent.png"));
   335     l->setPixmap(QPixmap(":/res/iconHealthPercent.png"));
   291     glBSLayout->addWidget(l,8,1,1,1);
   336     glBSLayout->addWidget(l,8,1,1,1);
   292     SB_HealthCrates = new QSpinBox(gbBasicSettings);
   337     SB_HealthCrates = new QSpinBox(gbBasicSettings);
       
   338     SB_HealthCrates->setWhatsThis(wtHealthCrates);
   293     SB_HealthCrates->setRange(0, 100);
   339     SB_HealthCrates->setRange(0, 100);
   294     SB_HealthCrates->setValue(35);
   340     SB_HealthCrates->setValue(35);
   295     SB_HealthCrates->setSingleStep(5);
   341     SB_HealthCrates->setSingleStep(5);
   296     glBSLayout->addWidget(SB_HealthCrates,8,2,1,1);
   342     glBSLayout->addWidget(SB_HealthCrates,8,2,1,1);
   297 
   343 
   298     l = new QLabel(gbBasicSettings);
   344     l = new QLabel(gbBasicSettings);
   299     l->setText(QLabel::tr("Health in Crates"));
   345     l->setText(QLabel::tr("Health in Crates"));
       
   346     l->setWhatsThis(wtCrateHealth);
   300     l->setWordWrap(true);
   347     l->setWordWrap(true);
   301     glBSLayout->addWidget(l,9,0,1,1);
   348     glBSLayout->addWidget(l,9,0,1,1);
   302     l = new QLabel(gbBasicSettings);
   349     l = new QLabel(gbBasicSettings);
   303     l->setFixedSize(32,32);
   350     l->setFixedSize(32,32);
       
   351     l->setWhatsThis(wtCrateHealth);
   304     l->setPixmap(QPixmap(":/res/iconHealth.png"));
   352     l->setPixmap(QPixmap(":/res/iconHealth.png"));
   305     glBSLayout->addWidget(l,9,1,1,1);
   353     glBSLayout->addWidget(l,9,1,1,1);
   306     SB_CrateHealth = new QSpinBox(gbBasicSettings);
   354     SB_CrateHealth = new QSpinBox(gbBasicSettings);
       
   355     SB_CrateHealth->setWhatsThis(wtCrateHealth);
   307     SB_CrateHealth->setRange(0, 200);
   356     SB_CrateHealth->setRange(0, 200);
   308     SB_CrateHealth->setValue(25);
   357     SB_CrateHealth->setValue(25);
   309     SB_CrateHealth->setSingleStep(5);
   358     SB_CrateHealth->setSingleStep(5);
   310     glBSLayout->addWidget(SB_CrateHealth,9,2,1,1);
   359     glBSLayout->addWidget(SB_CrateHealth,9,2,1,1);
   311 
   360 
   312     l = new QLabel(gbBasicSettings);
   361     l = new QLabel(gbBasicSettings);
   313     l->setText(QLabel::tr("Mines Time"));
   362     l->setText(QLabel::tr("Mines Time"));
       
   363     l->setWhatsThis(wtMinesTime);
   314     l->setWordWrap(true);
   364     l->setWordWrap(true);
   315     glBSLayout->addWidget(l,10,0,1,1);
   365     glBSLayout->addWidget(l,10,0,1,1);
   316     l = new QLabel(gbBasicSettings);
   366     l = new QLabel(gbBasicSettings);
       
   367     l->setWhatsThis(wtMinesTime);
   317     l->setFixedSize(32,32);
   368     l->setFixedSize(32,32);
   318     l->setPixmap(QPixmap(":/res/iconMineTime.png"));
   369     l->setPixmap(QPixmap(":/res/iconMineTime.png"));
   319     glBSLayout->addWidget(l,10,1,1,1);
   370     glBSLayout->addWidget(l,10,1,1,1);
   320     SB_MinesTime = new QSpinBox(gbBasicSettings);
   371     SB_MinesTime = new QSpinBox(gbBasicSettings);
       
   372     SB_MinesTime->setWhatsThis(wtMinesTime);
   321     SB_MinesTime->setRange(-1, 5);
   373     SB_MinesTime->setRange(-1, 5);
   322     SB_MinesTime->setValue(3);
   374     SB_MinesTime->setValue(3);
   323     SB_MinesTime->setSingleStep(1);
   375     SB_MinesTime->setSingleStep(1);
   324     SB_MinesTime->setSpecialValueText(tr("Random"));
   376     SB_MinesTime->setSpecialValueText(tr("Random"));
   325     SB_MinesTime->setSuffix(" "+ tr("Seconds"));
   377     SB_MinesTime->setSuffix(" "+ tr("Seconds"));
   326     glBSLayout->addWidget(SB_MinesTime,10,2,1,1);
   378     glBSLayout->addWidget(SB_MinesTime,10,2,1,1);
   327 
   379 
   328     l = new QLabel(gbBasicSettings);
   380     l = new QLabel(gbBasicSettings);
   329     l->setText(QLabel::tr("Mines"));
   381     l->setText(QLabel::tr("Mines"));
       
   382     l->setWhatsThis(wtMines);
   330     l->setWordWrap(true);
   383     l->setWordWrap(true);
   331     glBSLayout->addWidget(l,11,0,1,1);
   384     glBSLayout->addWidget(l,11,0,1,1);
   332     l = new QLabel(gbBasicSettings);
   385     l = new QLabel(gbBasicSettings);
       
   386     l->setWhatsThis(wtMines);
   333     l->setFixedSize(32,32);
   387     l->setFixedSize(32,32);
   334     l->setPixmap(QPixmap(":/res/iconMine.png"));
   388     l->setPixmap(QPixmap(":/res/iconMine.png"));
   335     glBSLayout->addWidget(l,11,1,1,1);
   389     glBSLayout->addWidget(l,11,1,1,1);
   336     SB_Mines = new QSpinBox(gbBasicSettings);
   390     SB_Mines = new QSpinBox(gbBasicSettings);
       
   391     SB_Mines->setWhatsThis(wtMines);
   337     SB_Mines->setRange(0, 200);
   392     SB_Mines->setRange(0, 200);
   338     SB_Mines->setValue(0);
   393     SB_Mines->setValue(0);
   339     SB_Mines->setSingleStep(5);
   394     SB_Mines->setSingleStep(5);
   340     glBSLayout->addWidget(SB_Mines,11,2,1,1);
   395     glBSLayout->addWidget(SB_Mines,11,2,1,1);
   341 
   396 
   342     l = new QLabel(gbBasicSettings);
   397     l = new QLabel(gbBasicSettings);
   343     l->setText(QLabel::tr("% Dud Mines"));
   398     l->setText(QLabel::tr("% Dud Mines"));
       
   399     l->setWhatsThis(wtMineDuds);
   344     l->setWordWrap(true);
   400     l->setWordWrap(true);
   345     glBSLayout->addWidget(l,12,0,1,1);
   401     glBSLayout->addWidget(l,12,0,1,1);
   346     l = new QLabel(gbBasicSettings);
   402     l = new QLabel(gbBasicSettings);
       
   403     l->setWhatsThis(wtMineDuds);
   347     l->setFixedSize(32,32);
   404     l->setFixedSize(32,32);
   348     l->setPixmap(QPixmap(":/res/iconDud.png"));
   405     l->setPixmap(QPixmap(":/res/iconDud.png"));
   349     glBSLayout->addWidget(l,12,1,1,1);
   406     glBSLayout->addWidget(l,12,1,1,1);
   350     SB_MineDuds = new QSpinBox(gbBasicSettings);
   407     SB_MineDuds = new QSpinBox(gbBasicSettings);
       
   408     SB_MineDuds->setWhatsThis(wtMineDuds);
   351     SB_MineDuds->setRange(0, 100);
   409     SB_MineDuds->setRange(0, 100);
   352     SB_MineDuds->setValue(0);
   410     SB_MineDuds->setValue(0);
   353     SB_MineDuds->setSingleStep(5);
   411     SB_MineDuds->setSingleStep(5);
   354     glBSLayout->addWidget(SB_MineDuds,12,2,1,1);
   412     glBSLayout->addWidget(SB_MineDuds,12,2,1,1);
   355 
   413 
   356     l = new QLabel(gbBasicSettings);
   414     l = new QLabel(gbBasicSettings);
   357     l->setText(QLabel::tr("Explosives"));
   415     l->setText(QLabel::tr("Barrels"));
       
   416     l->setWhatsThis(wtExplosives);
   358     l->setWordWrap(true);
   417     l->setWordWrap(true);
   359     glBSLayout->addWidget(l,13,0,1,1);
   418     glBSLayout->addWidget(l,13,0,1,1);
   360     l = new QLabel(gbBasicSettings);
   419     l = new QLabel(gbBasicSettings);
       
   420     l->setWhatsThis(wtExplosives);
   361     l->setFixedSize(32,32);
   421     l->setFixedSize(32,32);
   362     l->setPixmap(QPixmap(":/res/iconExplosive.png"));
   422     l->setPixmap(QPixmap(":/res/iconExplosive.png"));
   363     glBSLayout->addWidget(l,13,1,1,1);
   423     glBSLayout->addWidget(l,13,1,1,1);
   364     SB_Explosives = new QSpinBox(gbBasicSettings);
   424     SB_Explosives = new QSpinBox(gbBasicSettings);
       
   425     SB_Explosives->setWhatsThis(wtExplosives);
   365     SB_Explosives->setRange(0, 200);
   426     SB_Explosives->setRange(0, 200);
   366     SB_Explosives->setValue(0);
   427     SB_Explosives->setValue(0);
   367     SB_Explosives->setSingleStep(3);
   428     SB_Explosives->setSingleStep(3);
   368     glBSLayout->addWidget(SB_Explosives,13,2,1,1);
   429     glBSLayout->addWidget(SB_Explosives,13,2,1,1);
   369 
   430 
   370     l = new QLabel(gbBasicSettings);
   431     l = new QLabel(gbBasicSettings);
   371     l->setText(QLabel::tr("Air Mines"));
   432     l->setText(QLabel::tr("Air Mines"));
       
   433     l->setWhatsThis(wtAirMines);
   372     l->setWordWrap(true);
   434     l->setWordWrap(true);
   373     glBSLayout->addWidget(l,14,0,1,1);
   435     glBSLayout->addWidget(l,14,0,1,1);
   374     l = new QLabel(gbBasicSettings);
   436     l = new QLabel(gbBasicSettings);
       
   437     l->setWhatsThis(wtAirMines);
   375     l->setFixedSize(32,32);
   438     l->setFixedSize(32,32);
   376     l->setPixmap(QPixmap(":/res/iconAirMine.png"));
   439     l->setPixmap(QPixmap(":/res/iconAirMine.png"));
   377     glBSLayout->addWidget(l,14,1,1,1);
   440     glBSLayout->addWidget(l,14,1,1,1);
   378     SB_AirMines = new QSpinBox(gbBasicSettings);
   441     SB_AirMines = new QSpinBox(gbBasicSettings);
       
   442     SB_AirMines->setWhatsThis(wtAirMines);
   379     SB_AirMines->setRange(0, 200);
   443     SB_AirMines->setRange(0, 200);
   380     SB_AirMines->setValue(0);
   444     SB_AirMines->setValue(0);
   381     SB_AirMines->setSingleStep(5);
   445     SB_AirMines->setSingleStep(5);
   382     glBSLayout->addWidget(SB_AirMines,14,2,1,1);
   446     glBSLayout->addWidget(SB_AirMines,14,2,1,1);
   383 
   447 
   384     l = new QLabel(gbBasicSettings);
   448     l = new QLabel(gbBasicSettings);
   385     l->setText(QLabel::tr("% Get Away Time"));
   449     l->setText(QLabel::tr("% Retreat Time"));
       
   450     l->setWhatsThis(wtGetAwayTime);
   386     l->setWordWrap(true);
   451     l->setWordWrap(true);
   387     glBSLayout->addWidget(l,15,0,1,1);
   452     glBSLayout->addWidget(l,15,0,1,1);
   388     l = new QLabel(gbBasicSettings);
   453     l = new QLabel(gbBasicSettings);
       
   454     l->setWhatsThis(wtGetAwayTime);
   389     l->setFixedSize(32,32);
   455     l->setFixedSize(32,32);
   390     l->setPixmap(QPixmap(":/res/iconTime.png"));
   456     l->setPixmap(QPixmap(":/res/iconTime.png"));
   391     glBSLayout->addWidget(l,15,1,1,1);
   457     glBSLayout->addWidget(l,15,1,1,1);
   392     SB_GetAwayTime = new QSpinBox(gbBasicSettings);
   458     SB_GetAwayTime = new QSpinBox(gbBasicSettings);
       
   459     SB_GetAwayTime->setWhatsThis(wtGetAwayTime);
   393     SB_GetAwayTime->setRange(0, 999);
   460     SB_GetAwayTime->setRange(0, 999);
   394     SB_GetAwayTime->setValue(100);
   461     SB_GetAwayTime->setValue(100);
   395     SB_GetAwayTime->setSingleStep(25);
   462     SB_GetAwayTime->setSingleStep(25);
   396     glBSLayout->addWidget(SB_GetAwayTime,15,2,1,1);
   463     glBSLayout->addWidget(SB_GetAwayTime,15,2,1,1);
   397 
   464 
   398     l = new QLabel(gbBasicSettings);
   465     l = new QLabel(gbBasicSettings);
   399     l->setText(QLabel::tr("World Edge"));
   466     l->setText(QLabel::tr("World Edge"));
       
   467     l->setWhatsThis(wtWorldEdge);
   400     l->setWordWrap(true);
   468     l->setWordWrap(true);
   401     glBSLayout->addWidget(l,16,0,1,1);
   469     glBSLayout->addWidget(l,16,0,1,1);
   402     l = new QLabel(gbBasicSettings);
   470     l = new QLabel(gbBasicSettings);
       
   471     l->setWhatsThis(wtWorldEdge);
   403     l->setFixedSize(32,32);
   472     l->setFixedSize(32,32);
   404     l->setPixmap(QPixmap(":/res/iconEarth.png"));
   473     l->setPixmap(QPixmap(":/res/iconEarth.png"));
   405     glBSLayout->addWidget(l,16,1,1,1);
   474     glBSLayout->addWidget(l,16,1,1,1);
   406 
   475 
   407     CB_WorldEdge = new QComboBox(gbBasicSettings);
   476     CB_WorldEdge = new QComboBox(gbBasicSettings);
       
   477     CB_WorldEdge->setWhatsThis(wtWorldEdge);
   408     CB_WorldEdge->insertItem(0, tr("None (Default)"));
   478     CB_WorldEdge->insertItem(0, tr("None (Default)"));
   409     CB_WorldEdge->insertItem(1, tr("Wrap (World wraps)"));
   479     CB_WorldEdge->insertItem(1, tr("Wrap (World wraps)"));
   410     CB_WorldEdge->insertItem(2, tr("Bounce (Edges reflect)"));
   480     CB_WorldEdge->insertItem(2, tr("Bounce (Edges reflect)"));
   411     CB_WorldEdge->insertItem(3, tr("Sea (Edges connect to sea)"));
   481     CB_WorldEdge->insertItem(3, tr("Sea (Edges connect to sea)"));
   412     /* CB_WorldEdge->insertItem(4, tr("Skybox")); */
   482     /* CB_WorldEdge->insertItem(4, tr("Skybox")); */
   413     glBSLayout->addWidget(CB_WorldEdge,16,2,1,1);
   483     glBSLayout->addWidget(CB_WorldEdge,16,2,1,1);
   414 
   484 
   415 
   485 
   416     l = new QLabel(gbBasicSettings);
   486     l = new QLabel(gbBasicSettings);
   417     l->setText(QLabel::tr("Script parameter"));
   487     l->setText(QLabel::tr("Script parameter"));
       
   488     l->setWhatsThis(wtScriptParam);
   418     l->setWordWrap(true);
   489     l->setWordWrap(true);
   419     glBSLayout->addWidget(l,17,0,1,1);
   490     glBSLayout->addWidget(l,17,0,1,1);
   420     l = new QLabel(gbBasicSettings);
   491     l = new QLabel(gbBasicSettings);
       
   492     l->setWhatsThis(wtScriptParam);
   421     l->setFixedSize(32,32);
   493     l->setFixedSize(32,32);
   422     l->setPixmap(QPixmap(":/res/iconScript.png"));
   494     l->setPixmap(QPixmap(":/res/iconScript.png"));
   423     glBSLayout->addWidget(l,17,1,1,1);
   495     glBSLayout->addWidget(l,17,1,1,1);
   424 
   496 
   425     LE_ScriptParam = new QLineEdit(gbBasicSettings);
   497     LE_ScriptParam = new QLineEdit(gbBasicSettings);
       
   498     LE_ScriptParam->setWhatsThis(wtScriptParam);
   426     LE_ScriptParam->setMaxLength(240);
   499     LE_ScriptParam->setMaxLength(240);
   427     glBSLayout->addWidget(LE_ScriptParam,17,2,1,1);
   500     glBSLayout->addWidget(LE_ScriptParam,17,2,1,1);
   428 
   501 
   429 
   502 
   430     l = new QLabel(gbBasicSettings);
   503     l = new QLabel(gbBasicSettings);
   431     l->setText(QLabel::tr("Scheme Name:"));
   504     l->setText(QLabel::tr("Scheme Name:"));
   432 
   505 
   433     LE_name = new QLineEdit(this);
   506     LE_name = new QLineEdit(this);
       
   507     LE_name->setWhatsThis("Name of this scheme");
   434 
   508 
   435     gl->addWidget(LE_name,15,1,1,5);
   509     gl->addWidget(LE_name,15,1,1,5);
   436     gl->addWidget(l,15,0,1,1);
   510     gl->addWidget(l,15,0,1,1);
   437 
   511 
   438     return pageLayout;
   512     return pageLayout;