388 glBSLayout->addWidget(l,15,0,1,1); |
388 glBSLayout->addWidget(l,15,0,1,1); |
389 l = new QLabel(gbBasicSettings); |
389 l = new QLabel(gbBasicSettings); |
390 l->setFixedSize(32,32); |
390 l->setFixedSize(32,32); |
391 l->setPixmap(QPixmap(":/res/iconEarth.png")); |
391 l->setPixmap(QPixmap(":/res/iconEarth.png")); |
392 glBSLayout->addWidget(l,15,1,1,1); |
392 glBSLayout->addWidget(l,15,1,1,1); |
|
393 |
393 CB_WorldEdge = new QComboBox(gbBasicSettings); |
394 CB_WorldEdge = new QComboBox(gbBasicSettings); |
394 CB_WorldEdge->insertItem(0, tr("None (Default)")); |
395 CB_WorldEdge->insertItem(0, tr("None (Default)")); |
395 CB_WorldEdge->insertItem(1, tr("Wrap (World wraps)")); |
396 CB_WorldEdge->insertItem(1, tr("Wrap (World wraps)")); |
396 CB_WorldEdge->insertItem(2, tr("Bounce (Edges reflect)")); |
397 CB_WorldEdge->insertItem(2, tr("Bounce (Edges reflect)")); |
397 CB_WorldEdge->insertItem(3, tr("Sea (Edges connect to sea)")); |
398 CB_WorldEdge->insertItem(3, tr("Sea (Edges connect to sea)")); |
398 /* CB_WorldEdge->insertItem(4, tr("Skybox")); */ |
399 /* CB_WorldEdge->insertItem(4, tr("Skybox")); */ |
399 glBSLayout->addWidget(CB_WorldEdge,15,2,1,1); |
400 glBSLayout->addWidget(CB_WorldEdge,15,2,1,1); |
|
401 |
|
402 |
|
403 l = new QLabel(gbBasicSettings); |
|
404 l->setText(QLabel::tr("Script parameter")); |
|
405 l->setWordWrap(true); |
|
406 glBSLayout->addWidget(l,16,0,1,1); |
|
407 l = new QLabel(gbBasicSettings); |
|
408 l->setFixedSize(32,32); |
|
409 l->setPixmap(QPixmap(":/res/iconBox.png")); |
|
410 glBSLayout->addWidget(l,16,1,1,1); |
|
411 |
|
412 LE_ScriptParam = new QLineEdit(gbBasicSettings); |
|
413 LE_ScriptParam->setMaxLength(240); |
|
414 glBSLayout->addWidget(LE_ScriptParam,16,2,1,1); |
400 |
415 |
401 |
416 |
402 l = new QLabel(gbBasicSettings); |
417 l = new QLabel(gbBasicSettings); |
403 l->setText(QLabel::tr("Scheme Name:")); |
418 l->setText(QLabel::tr("Scheme Name:")); |
404 |
419 |
487 mapper->addMapping(SB_WaterRise, 37); |
502 mapper->addMapping(SB_WaterRise, 37); |
488 mapper->addMapping(SB_HealthDecrease, 38); |
503 mapper->addMapping(SB_HealthDecrease, 38); |
489 mapper->addMapping(SB_RopeModifier, 39); |
504 mapper->addMapping(SB_RopeModifier, 39); |
490 mapper->addMapping(SB_GetAwayTime, 40); |
505 mapper->addMapping(SB_GetAwayTime, 40); |
491 mapper->addMapping(CB_WorldEdge, 41, "currentIndex"); |
506 mapper->addMapping(CB_WorldEdge, 41, "currentIndex"); |
|
507 mapper->addMapping(LE_ScriptParam, 42); |
492 |
508 |
493 mapper->toFirst(); |
509 mapper->toFirst(); |
494 } |
510 } |
495 |
511 |
496 void PageScheme::newRow() |
512 void PageScheme::newRow() |