29 #include <QIntValidator>
33 #include <PyEditor_Editor.h>
43 QIntValidator *iv(
new QIntValidator(
_poolSz)); iv->setRange(1,INT_MAX);
45 label_15->setText(
"Size of pool :");
46 gridLayout_2_2->addWidget(
_poolSz);
49 ch_aoc->setEnabled(
false);
50 ch_aoc->setCheckState(Qt::Checked);
58 QGridLayout *gridLayout(
new QGridLayout(
_initScript));
68 DEBTRACE(
"FormHPContainer::FillPanel");
74 throw YACS::Exception(
"FormHPContainer::FillPanel : not a HP Container !");
76 std::string initScript;
93 return QString(
"Container (HP)");
103 sz=newSz.toUInt(&isOK);
115 bool ret(scont->
setName(le_name->text().toStdString()));
116 std::map<std::string,std::string> properties(
_properties);
119 std::string text(
_initScript->toPlainText().toStdString());
139 return std::string(
"\n");
140 std::size_t sz(script.length());
141 if(script[sz-1]!=
'\n')
143 std::string
ret(script);