#include <EditionBloc.hxx>
Public Member Functions | |
EditionBloc (Subject *subject, QWidget *parent=0, const char *name=0) | |
virtual | ~EditionBloc () |
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 | 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 | |
PropertyEditor * | _propeditor |
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 | |
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 31 of file EditionBloc.hxx.
Definition at line 31 of file EditionBloc.cxx.
References _propeditor, YACS::HMI::ItemEditionBase::_subject, and FormEditItem::_wid.
|
virtual |
Definition at line 40 of file EditionBloc.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::EditionNode.
Reimplemented in YACS::HMI::EditionSwitch, and YACS::HMI::EditionProc.
Definition at line 44 of file EditionBloc.cxx.
References _propeditor, DEBTRACE, YACS::HMI::GuiObserver::eventName(), YACS::HMI::SETVALUE, and YACS::HMI::PropertyEditor::update().
Referenced by gui.graph.MyCanvas::customEvent(), YACS::HMI::EditionProc::update(), and YACS::HMI::EditionSwitch::update().
|
protected |
Definition at line 41 of file EditionBloc.hxx.
Referenced by EditionBloc(), and update().