#include <EditionNode.hxx>
Public Member Functions | |
EditionNode (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionNode () |
virtual void | update (GuiEvent event, int type, Subject *son) |
Public Member Functions inherited from YACS::HMI::ItemEdition | |
ItemEdition (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~ItemEdition () |
virtual void | synchronize () |
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 | |
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 | |
Public Slots inherited from YACS::HMI::ItemEdition | |
virtual void | onApply () |
virtual void | onCancel () |
virtual void | onModifyName (const QString &text) |
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 33 of file EditionNode.hxx.
Definition at line 35 of file EditionNode.cxx.
References _le_fullName, YACS::HMI::ItemEditionBase::_subject, _subjectNode, FormEditItem::_wid, DEBTRACE, YACS::ENGINE::ComposedNode::getChildName(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::GuiContext::getProc(), YACS::HMI::QtGuiContext::getQtCurrent(), and YASSERT.
|
virtual |
Definition at line 60 of file EditionNode.cxx.
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::ItemEdition.
Reimplemented in YACS::HMI::EditionSalomeNode, YACS::HMI::EditionSwitch, YACS::HMI::EditionOptimizerLoop, YACS::HMI::EditionForEachLoop, YACS::HMI::EditionProc, YACS::HMI::EditionLoop, YACS::HMI::EditionWhile, and YACS::HMI::EditionBloc.
Definition at line 64 of file EditionNode.cxx.
References _le_fullName, _subjectNode, DEBTRACE, YACS::ENGINE::ComposedNode::getChildName(), YACS::HMI::SubjectNode::getNode(), YACS::HMI::GuiContext::getProc(), YACS::HMI::QtGuiContext::getQtCurrent(), YACS::HMI::RENAME, and YACS::HMI::ItemEdition::update().
Referenced by gui.graph.MyCanvas::customEvent(), YACS::HMI::EditionWhile::update(), YACS::HMI::EditionLoop::update(), YACS::HMI::EditionForEachLoop::update(), YACS::HMI::EditionOptimizerLoop::update(), YACS::HMI::EditionScript::update(), and YACS::HMI::EditionSalomeNode::update().
|
protected |
Definition at line 47 of file EditionNode.hxx.
Referenced by EditionNode(), and update().
|
protected |
Definition at line 48 of file EditionNode.hxx.
Referenced by YACS::HMI::EditionForEachLoop::EditionForEachLoop(), EditionNode(), YACS::HMI::EditionForEachLoop::onModifyCollection(), YACS::HMI::EditionOptimizerLoop::onModifyEntry(), YACS::HMI::EditionOptimizerLoop::onModifyInitFile(), YACS::HMI::EditionOptimizerLoop::onModifyLib(), update(), YACS::HMI::EditionForEachLoop::update(), and YACS::HMI::EditionOptimizerLoop::update().