43 I_ASSIGN_MULTI_0(m_editorsCompPtr,
"Editors",
"List of GUI's for parameters edition",
true);
44 I_ASSIGN_TO(m_guisCompPtr, m_editorsCompPtr,
true);
45 I_ASSIGN_TO(m_observersCompPtr, m_editorsCompPtr,
true);
46 I_ASSIGN_TO(m_extendersCompPtr, m_editorsCompPtr,
false);
47 I_ASSIGN_TO(m_shapeFactoriesCompPtr, m_editorsCompPtr,
false);
48 I_ASSIGN(m_paramsLoaderCompPtr,
"ParamsLoader",
"Loader for the parameter set",
false,
"ParamsLoader");
49 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);
50 I_ASSIGN_MULTI_0(m_namesAttrPtr,
"Names",
"List of of gui names",
false);
51 I_ASSIGN(m_useHorizontalLayoutAttrPtr,
"UseHorizontalLayout",
"Use horizontal layout",
true,
false);
52 I_ASSIGN(m_useVerticalSpacerAttrPtr,
"UseVerticalSpacer",
"Use vertical spacer to keep inserted objects in place",
true,
false);
53 I_ASSIGN(m_showAllShapesAttrPtr,
"ShowAllShapes",
"If true all shapes, also generated by inactive GUI, will be shown",
true,
false);
54 I_ASSIGN(m_designTypeAttrPtr,
"DesignType",
"Type of design:\n* 0 - simple\n* 1 - tool box\n* 2 - tab",
true,
DT_SIMPLE);
55 I_ASSIGN(m_tabOrientationAttrPtr,
"TabBarOrientation",
"Orientation of the tab bar for tab design\n 0 - North\n 1 - South\n 2 - West\n 3 - East",
true, 0);
99 I_MULTIATTR(QByteArray, m_idsAttrPtr);
101 I_ATTR(
bool, m_useHorizontalLayoutAttrPtr);
102 I_ATTR(
bool, m_useVerticalSpacerAttrPtr);
103 I_ATTR(
bool, m_showAllShapesAttrPtr);
104 I_ATTR(
int, m_designTypeAttrPtr);
105 I_ATTR(
int, m_tabOrientationAttrPtr);
106 I_ATTR(
bool, m_flatViewAttrPtr);
108 typedef QMap<imod::IModelEditor*, bool> ConnectedEditorsMap;
109 ConnectedEditorsMap m_connectedEditorsMap;
111 int m_currentGuiIndex;
113 typedef QMap<iqt2d::IViewProvider*, int> ConnectedSceneFlags;
114 ConnectedSceneFlags m_connectedSceneFlags;
119 QWidget* m_guiContainerPtr;
125 paramWidgetPtr =
NULL;
128 QWidget* paramWidgetPtr;
130 QMap<iqtgui::IGuiObject*, PanelData> m_guiToWidgetMap;