#include <EditionComponent.hxx>


Public Slots | |
| virtual void | fillContainerPanel () | 
| virtual void | changeContainer (int index) | 
  Public Slots inherited from YACS::HMI::ItemEdition | |
| virtual void | onApply () | 
| virtual void | onCancel () | 
| virtual void | onModifyName (const QString &text) | 
Public Member Functions | |
| EditionComponent (Subject *subject, QWidget *parent=0, const char *name=0) | |
| virtual | ~EditionComponent () | 
| 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 | |
| PropertyEditor * | _propeditor | 
| ComboBox * | _cb_container | 
  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 32 of file EditionComponent.hxx.
| EditionComponent::EditionComponent | ( | Subject * | subject, | 
| QWidget * | parent = 0,  | 
        ||
| const char * | name = 0  | 
        ||
| ) | 
Definition at line 36 of file EditionComponent.cxx.
References _cb_container, _propeditor, YACS::HMI::ItemEditionBase::_subject, FormEditItem::_wid, changeContainer(), and fillContainerPanel().
      
  | 
  virtual | 
Definition at line 60 of file EditionComponent.cxx.
      
  | 
  virtualslot | 
Definition at line 92 of file EditionComponent.cxx.
References _cb_container, YACS::HMI::GuiContext::_mapOfSubjectContainer, YACS::HMI::ItemEditionBase::_subject, YACS::HMI::SubjectComponent::associateToContainer(), YACS::ENGINE::Proc::containerMap, DEBTRACE, YACS::HMI::SubjectComponent::getComponent(), YACS::HMI::GuiContext::getCurrent(), YACS::HMI::GuiContext::getProc(), and YACS::HMI::Subject::select().
Referenced by EditionComponent().
      
  | 
  virtualslot | 
Definition at line 74 of file EditionComponent.cxx.
References _cb_container, YACS::HMI::ItemEditionBase::_subject, YACS::ENGINE::Proc::containerMap, YACS::HMI::SubjectComponent::getComponent(), YACS::ENGINE::ComponentInstance::getContainer(), YACS::HMI::GuiContext::getCurrent(), YACS::ENGINE::Container::getName(), and YACS::HMI::GuiContext::getProc().
Referenced by EditionComponent(), and 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::ItemEdition.
Definition at line 64 of file EditionComponent.cxx.
References _propeditor, YACS::HMI::ADDREF, YACS::HMI::ASSOCIATE, DEBTRACE, YACS::HMI::GuiObserver::eventName(), fillContainerPanel(), YACS::HMI::SETVALUE, and YACS::HMI::PropertyEditor::update().
Referenced by gui.graph.MyCanvas::customEvent().
      
  | 
  protected | 
Definition at line 43 of file EditionComponent.hxx.
Referenced by changeContainer(), EditionComponent(), and fillContainerPanel().
      
  | 
  protected | 
Definition at line 42 of file EditionComponent.hxx.
Referenced by EditionComponent(), and update().