- protected:
- //Widgets
- QWidget* createWidgetByType(const std::string& theType, QWidget* theParent = NULL);
- QWidget* createContainer(const std::string& theType, QWidget* theParent = NULL);
- QWidget* labelControl(QWidget* theParent);
- QWidget* doubleSpinBoxControl(QWidget* theParent);
- QWidget* doubleValueEditor(QWidget* theParent);
- QWidget* shapeSelectorControl(QWidget* theParent);
- QWidget* booleanControl(QWidget* theParent);
- QWidget* fileSelectorControl(QWidget* theParent);
- QWidget* choiceControl(QWidget* theParent);
- QWidget* lineEditControl(QWidget* theParent);
- QWidget* multiSelectorControl(QWidget* theParent);
+ /// Returns the value of the title key from XML definition of the attribute in the feature
+ /// \param theFeatureKind a value of a kind of a feature
+ /// \param theAttributeId a value of a kind of the attribute under the feature
+ /// \param theTitle the result title
+ void getAttributeTitle(const std::string& theFeatureKind,
+ const std::string& theAttributeId,
+ std::string& theTitle);
+
+protected:
+ /// check if ModuleBase_Widget has expandable widgets in getControls
+ bool hasExpandingControls(QWidget* theParent);
+
+ /// Create page by its type
+ /// \param theType a type
+ /// \param theParent a parent widget
+ ModuleBase_PageBase* createPageByType(const std::string& theType,
+ QWidget* theParent);