6#ifndef iqtinsp_CTeachableParamsDecoratorGuiComp_included
7#define iqtinsp_CTeachableParamsDecoratorGuiComp_included
15#include <GeneratedFiles/iinspgui/ui_CTeachableParamsDecoratorGuiComp.h>
30 I_ASSIGN(m_slaveEditorCompPtr,
"SlaveEditor",
"Slave editor will be displayed inside",
true,
"SlaveEditor");
31 I_ASSIGN_TO(m_slaveGuiCompPtr, m_slaveEditorCompPtr,
true);
32 I_ASSIGN_TO(m_slaveObserverCompPtr, m_slaveEditorCompPtr,
true);
33 I_ASSIGN(m_teachControllerCompPtr,
"TeachController",
"Teach controller for observed parameters",
true,
"TeachController");
Interface for someone controlling teaching of model data.
void OnGuiCreated() override
Called just after GUI is initialized.
void UpdateButtonsState()
void on_TeachModelButton_clicked()
void UpdateEditor(const istd::IChangeable::ChangeSet &changeSet) override
Updates editor with model data.
bool IsReadOnly() const override
Returns true if the model data can be changed.
void OnGuiDestroyed() override
Called just before GUI is released.
bool OnModelDetached(imod::IModel *modelPtr) override
This call back function will be called, if an observable object is about to be detached.
void UpdateModelFromEditor() const override
Updates model from editor.
void SetReadOnly(bool state) override
Set flag that the model data can be changed.
void on_ResetModelButton_clicked()
bool OnModelAttached(imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override
This call back function will be called, if an observable object is about to be attached.
istdgui::TDesignerGuiObserverCompBase< Ui::CTeachableParamsDecoratorGuiComp, iprm::IParamsSet > BaseClass
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...
Set of change flags (its IDs).
Common interface for GUI objects using in component context.
Base class for all Qt GUI components.
Contains Qt based implementations of inspection classes and components.