6#ifndef iqtprm_CExtComposedParamsSetGuiComp_included
7#define iqtprm_CExtComposedParamsSetGuiComp_included
11#include <QtCore/QString>
32 istdgui::CComposedGuiComp, imod::TSingleModelObserverBase<iprm::IParamsSet> >,
42 I_ASSIGN_MULTI_0(m_editorsCompPtr,
"Editors",
"List of GUI's for parameters edition",
true);
43 I_ASSIGN_TO(m_observersCompPtr, m_editorsCompPtr,
true);
44 I_ASSIGN_TO(m_extendersCompPtr, m_editorsCompPtr,
false);
45 I_ASSIGN_MULTI_0(m_idsAttrPtr,
"Ids",
"List of parameter ID's according to defined editors, if ID equals '*' then the observed parameter set will be used, if it is empty than only GUI will be shown, but no parameter will be connected",
true);
46 I_ASSIGN(m_showAllShapesAttrPtr,
"ShowAllShapes",
"If true all shapes, also generated by inactive GUI, will be shown",
true,
false);
78 I_MULTIATTR(QByteArray, m_idsAttrPtr);
79 I_MULTITEXTATTR(m_namesAttrPtr);
80 I_ATTR(
bool, m_showAllShapesAttrPtr);
82 typedef QMap<imod::IModelEditor*, bool> ConnectedEditorsMap;
83 ConnectedEditorsMap m_connectedEditorsMap;
85 typedef QMap<i2dgui::IViewProvider*, int> ConnectedSceneFlags;
86 ConnectedSceneFlags m_connectedSceneFlags;
Interface for GUI objects presenting its results using extern view objects.
Interface for GUI objects managing view.
Common interface for an model editor.
Common interface for all classes implementing the Observer functionality in the Model/Observer design...
Basic implementation for a single model observer with binding to concrete data object interface.
New version of parameter set UI based on standard multi page UI concept.
void DetachFromScene(i2dgui::IViewProvider *providerPtr)
void OnGuiDestroyed() override
Called just before GUI is released.
void UpdateModel() const override
Do update of the model to reflect the current contents of GUI.
void RemoveItemsFromScene(i2dgui::IViewProvider *providerPtr) override
Called when items should be removed from specified scene.
void SetReadOnly(bool state) override
Set flag that the model data can be changed.
void AddItemsToScene(i2dgui::IViewProvider *providerPtr, int flags) override
Called when items should be added to specified scene.
void CreatePages() override
Create all container pages.
void OnGuiModelDetached() override
Called when model is detached or GUI is destroyed.
void OnPageChanged(int widgetIndex) override
void OnGuiCreated() override
Called just after GUI is initialized.
istdgui::TGuiObserverWrap< istdgui::CComposedGuiComp, imod::TSingleModelObserverBase< iprm::IParamsSet > > BaseClass
void AttachToScene(i2dgui::IViewProvider *providerPtr, int flags)
void UpdateEditor(const istd::IChangeable::ChangeSet &changeSet) override
Updates editor with model data.
void OnGuiModelAttached() override
Called when model is attached and GUI is created.
Set of change flags (its IDs).
Component for the layouting/grouping of the UI-subcomponents.
Join functionality of istdgui::IGuiObject interface and imod::IObserver.
This package contains Qt based implementations of standard parameter components.