Go to the documentation of this file.
6#ifndef iqtprm_CMultiParamsManagerGuiComp_included
7#define iqtprm_CMultiParamsManagerGuiComp_included
11#include <QtCore/QtGlobal>
12#include <QtWidgets/QStackedWidget>
30 I_ASSIGN_MULTI_0(m_paramsGuiCompPtr,
"ParamsGui",
"GUI object used to display parameters",
false);
31 I_ASSIGN_TO(m_paramsObserverCompPtr, m_paramsGuiCompPtr,
false);
32 I_ASSIGN_TO(m_viewExtendersCompPtr, m_paramsGuiCompPtr,
false);
33 I_ASSIGN_MULTI_0(m_paramsSetTypeIdsAttrPtr,
"ParamTypeIds",
"The list of type IDs for supported parameter sets",
true);
53 I_MULTIATTR(QByteArray, m_paramsSetTypeIdsAttrPtr);
55 QStackedWidget* m_parameterEditorStackPtr;
57 typedef QMap<QWidget*, istdgui::IGuiObject*> WidgetGuiMap;
58 typedef QMap<QByteArray ,
int > TypeToStackPositionMap;
60 typedef QMap<i2dgui::IViewProvider*, int> ConnectedSceneFlags;
62 WidgetGuiMap m_widgetToGuiMap;
63 TypeToStackPositionMap m_typeToStackPositionMap;
64 TypeToExtenderMap m_typeToExtenderMap;
Interface for GUI objects presenting its results using extern view objects.
Common interface for all classes implementing the Observer functionality in the Model/Observer design...
Set of general parameters.
void OnGuiDestroyed() override
Called just before GUI is released.
istdgui::IGuiObject * GetEditorGui(const iprm::IParamsSet *paramsSetPtr) const override
Get the editor GUI for a given parameter set.
void UpdateParamsView(int selectedIndex) override
imod::IObserver * GetEditorObserver(const iprm::IParamsSet *paramsSetPtr) const override
Get the observer for a given parameter set.
CMultiParamsManagerGuiComp()
i2dgui::IViewExtender * GetCurrentViewExtenderPtr() const override
Get the currently active view extender.
void OnGuiCreated() override
Called just after GUI is initialized.
CParamsManagerGuiCompBase BaseClass
Common interface for GUI objects using in component context.
This package contains Qt based implementations of standard parameter components.
© Witold Gantzke and Kirill Lepskiy