--- a/QTfrontend/ui/page/pagescheme.cpp Wed Jan 01 13:42:38 2014 +0400
+++ b/QTfrontend/ui/page/pagescheme.cpp Wed Jan 01 14:16:01 2014 +0400
@@ -390,6 +390,7 @@
l->setFixedSize(32,32);
l->setPixmap(QPixmap(":/res/iconEarth.png"));
glBSLayout->addWidget(l,15,1,1,1);
+
CB_WorldEdge = new QComboBox(gbBasicSettings);
CB_WorldEdge->insertItem(0, tr("None (Default)"));
CB_WorldEdge->insertItem(1, tr("Wrap (World wraps)"));
@@ -400,6 +401,20 @@
l = new QLabel(gbBasicSettings);
+ l->setText(QLabel::tr("Script parameter"));
+ l->setWordWrap(true);
+ glBSLayout->addWidget(l,16,0,1,1);
+ l = new QLabel(gbBasicSettings);
+ l->setFixedSize(32,32);
+ l->setPixmap(QPixmap(":/res/iconBox.png"));
+ glBSLayout->addWidget(l,16,1,1,1);
+
+ LE_ScriptParam = new QLineEdit(gbBasicSettings);
+ LE_ScriptParam->setMaxLength(240);
+ glBSLayout->addWidget(LE_ScriptParam,16,2,1,1);
+
+
+ l = new QLabel(gbBasicSettings);
l->setText(QLabel::tr("Scheme Name:"));
LE_name = new QLineEdit(this);
@@ -489,6 +504,7 @@
mapper->addMapping(SB_RopeModifier, 39);
mapper->addMapping(SB_GetAwayTime, 40);
mapper->addMapping(CB_WorldEdge, 41, "currentIndex");
+ mapper->addMapping(LE_ScriptParam, 42);
mapper->toFirst();
}