36 EditionWhile::EditionWhile(
Subject* subject,
49 connect(
_formWhile->sb_nsteps, SIGNAL(editingFinished()),
65 QString text =
_formWhile->sb_nsteps->cleanText();
84 if (val ==
"True") val =
"1";
85 else if (val ==
"False") val =
"0";
87 istringstream ss(val);
#define YASSERT(val)
YASSERT macro is always defined, used like assert, but throw a YACS::Exception instead of abort.
virtual void update(GuiEvent event, int type, Subject *son)
virtual void onConditionEdited()
virtual void synchronize()
virtual void update(GuiEvent event, int type, Subject *son)
static std::string eventName(GuiEvent event)
static QtGuiContext * getQtCurrent()
virtual std::string getValue()
virtual bool setCondition(std::string condition)
virtual void update(GuiEvent event, int type, Subject *son)