#include <EditionForEachLoop.hxx>
Public Slots | |
virtual void | onModifyCollection () |
virtual void | onNbBranchesEdited () |
Public Member Functions | |
EditionForEachLoop (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionForEachLoop () |
virtual void | synchronize () |
virtual void | update (GuiEvent event, int type, Subject *son) |
Public Member Functions inherited from YACS::HMI::EditionNode | |
EditionNode (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionNode () |
Public Member Functions inherited from YACS::HMI::ItemEdition | |
ItemEdition (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~ItemEdition () |
virtual void | select (bool isSelected) |
virtual void | setName (std::string name) |
virtual void | setEdited (bool isEdited) |
Public Member Functions inherited from FormEditItem | |
FormEditItem (QWidget *parent=0) | |
virtual | ~FormEditItem () |
Public Member Functions inherited from YACS::HMI::ItemEditionBase | |
ItemEditionBase (Subject *subject) | |
virtual | ~ItemEditionBase () |
virtual Subject * | getSubject () |
Public Member Functions inherited from YACS::HMI::GuiObserver | |
GuiObserver () | |
virtual | ~GuiObserver () |
virtual void | incrementSubjects (Subject *subject) |
virtual void | decrementSubjects (Subject *subject) |
int | getNbSubjects () |
bool | isDestructible () |
Protected Attributes | |
FormEachLoop * | _formEachLoop |
int | _nbBranches |
Protected Attributes inherited from YACS::HMI::EditionNode | |
QLineEdit * | _le_fullName |
SubjectNode * | _subjectNode |
Protected Attributes inherited from YACS::HMI::ItemEdition | |
bool | _isEdited |
bool | _haveScript |
Protected Attributes inherited from FormEditItem | |
WidEditItem * | _wid |
Protected Attributes inherited from YACS::HMI::ItemEditionBase | |
Subject * | _subject |
int | _stackId |
std::string | _name |
std::string | _type |
std::string | _category |
Protected Attributes inherited from YACS::HMI::GuiObserver | |
std::set< Subject * > | _subjectSet |
bool | _destructible |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::HMI::ItemEdition | |
static std::string | filterName (const std::string &name) |
Static Protected Attributes inherited from YACS::HMI::GuiObserver | |
static std::map< int, std::string > | _eventNameMap |
Definition at line 31 of file EditionForEachLoop.hxx.
EditionForEachLoop::EditionForEachLoop | ( | Subject * | subject, |
QWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Definition at line 39 of file EditionForEachLoop.cxx.
References _formEachLoop, _nbBranches, YACS::HMI::EditionNode::_subjectNode, FormEditItem::_wid, YACS::ENGINE::DynParaLoop::edGetSamplePort(), YACS::ENGINE::DataPort::edGetType(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::ENGINE::TypeCode::name(), onModifyCollection(), and onNbBranchesEdited().
|
virtual |
Definition at line 62 of file EditionForEachLoop.cxx.
|
virtualslot |
Definition at line 66 of file EditionForEachLoop.cxx.
References _formEachLoop, YACS::HMI::GuiContext::_mapOfSubjectDataPort, YACS::HMI::EditionNode::_subjectNode, DEBTRACE, YACS::ENGINE::ForEachLoop::edGetSeqOfSamplesPort(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::QtGuiContext::getQtCurrent(), and YACS::HMI::SubjectDataPort::setValue().
Referenced by EditionForEachLoop().
|
virtualslot |
Definition at line 77 of file EditionForEachLoop.cxx.
References _formEachLoop, _nbBranches, YACS::HMI::ItemEditionBase::_subject, DEBTRACE, YACS::HMI::SubjectDynParaLoop::setNbBranches(), and YASSERT.
Referenced by EditionForEachLoop().
|
virtual |
used in derived nodes for synchronisation with schema model.
Reimplemented from YACS::HMI::ItemEdition.
Definition at line 90 of file EditionForEachLoop.cxx.
References YACS::HMI::ItemEditionBase::_subject, YACS::HMI::SETVALUE, and YACS::HMI::Subject::update().
when loading a schema, creation of all edition widgets is time and memory consuming, so, widget edition creation is differed until user select an item in tree or 2D vue.
Reimplemented from YACS::HMI::EditionNode.
Definition at line 95 of file EditionForEachLoop.cxx.
References _formEachLoop, _nbBranches, YACS::HMI::ItemEditionBase::_subject, YACS::HMI::EditionNode::_subjectNode, DEBTRACE, YACS::HMI::GuiObserver::eventName(), YACS::ENGINE::DataPort::getAsString(), YACS::ENGINE::Node::getInputPort(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::SubjectComposedNode::getValue(), CORBAEngineTest::i, YACS::HMI::SETVALUE, and YACS::HMI::EditionNode::update().
Referenced by gui.graph.MyCanvas::customEvent().
|
protected |
Definition at line 48 of file EditionForEachLoop.hxx.
Referenced by EditionForEachLoop(), onModifyCollection(), onNbBranchesEdited(), and update().
|
protected |
Definition at line 49 of file EditionForEachLoop.hxx.
Referenced by EditionForEachLoop(), onNbBranchesEdited(), and update().