34 I_ASSIGN(m_slaveEditorCompPtr,
"SlaveEditorGui",
"Slave GUI object will be connected to model",
true,
"SlaveEditor");
35 I_ASSIGN_TO(m_slaveGuiCompPtr, m_slaveEditorCompPtr,
true);
36 I_ASSIGN_TO(m_slaveObserverCompPtr, m_slaveEditorCompPtr,
false);
37 I_ASSIGN(m_modelCompPtr,
"Model",
"Model will be observed and modify using editor",
true,
"Model");
44 virtual bool CreateGui(QWidget* parentPtr)
override;
Base class for component implementation.
Common interface for an model editor.
Common interface for model objects, that supports Model/Observer design pattern.
Common interface for all classes implementing the Observer functionality in the Model/Observer design...
Component realizing static connection between GUI and model components.
virtual void SetReadOnly(bool state) override
Set flag that the model data can be changed.
virtual void UpdateModelFromEditor() const override
Updates model from editor.
icomp::CComponentBase BaseClass
virtual bool DestroyGui() override
Releases GUI resources and disconnects from the parent.
virtual QWidget * GetWidget() const override
Gets access to the internal QWidget object.
virtual bool IsReadOnly() const override
Returns true if the model data can be changed.
virtual void UpdateEditor(const istd::IChangeable::ChangeSet &changeSet) override
Updates editor with model data.
virtual void OnTryClose(bool *ignoredPtr=NULL) override
Called when the application is attempting to close.
virtual bool CreateGui(QWidget *parentPtr) override
Initializes the GUI and connects it to the parent widget.
virtual bool IsGuiCreated() const override
Checks if the GUI has been initialized and created.
virtual void OnComponentDestroyed() override
virtual void OnComponentCreated() override
Common interface for GUI objects used in ACF component context.
Set of change flags (its IDs).
Standard GUI specific interfaces and components based on Qt.