36 EditionComponent::EditionComponent(
Subject* subject,
42 QHBoxLayout* hboxLayout =
new QHBoxLayout();
43 hboxLayout->setSizeConstraint(QLayout::SetDefaultConstraint);
44 QLabel* la_container =
new QLabel(
"Container:");
45 hboxLayout->addWidget(la_container);
48 _wid->gridLayout1->addLayout(hboxLayout, 3, 0, 1, 1);
78 std::map<string,Container*>::const_iterator it = proc->
containerMap.begin();
94 string contName =
_cb_container->itemText(index).toStdString();
103 DEBTRACE(
"-------------> not found : " << contName);
Base class for all component instances.
Container * getContainer() const
virtual std::string getName() const
Base class for all schema objects.
std::map< std::string, Container * > containerMap
virtual void changeContainer(int index)
virtual ~EditionComponent()
virtual void fillContainerPanel()
virtual void update(GuiEvent event, int type, Subject *son)
PropertyEditor * _propeditor
YACS::ENGINE::Proc * getProc()
std::map< YACS::ENGINE::Container *, YACS::HMI::SubjectContainerBase * > _mapOfSubjectContainer
static GuiContext * getCurrent()
static std::string eventName(GuiEvent event)
A class to edit properties of a subject.
void update()
Update the property items with their values in the subject.
YACS::ENGINE::ComponentInstance * getComponent() const
virtual bool associateToContainer(SubjectContainerBase *subcont)
virtual void select(bool isSelected)