35 using namespace YACS::HMI;
37 EditionLoop::EditionLoop(
Subject* subject,
46 QHBoxLayout* _hbl_index =
new QHBoxLayout();
47 QLabel* _la_index =
new QLabel(
this);
48 _hbl_index->addWidget(_la_index);
49 _la_index->setText(
"index:");
54 _formLoop->gridLayout->addLayout(_hbl_index, 1, 0);
57 _formLoop->sb_nsteps->setMaximum(INT_MAX);
61 connect(
_formLoop->sb_nsteps, SIGNAL(editingFinished()),
71 int newval =
_formLoop->sb_nsteps->value();
77 QString text =
_formLoop->sb_nsteps->cleanText();
97 istringstream ss(val);