-protected:
- //Widgets
- QWidget* createWidgetByType(const std::string& theType, QWidget* theParent = NULL);
- QWidget* labelControl(QWidget* theParent);
- QWidget* doubleSpinBoxControl();
- QWidget* pointSelectorControl(QWidget* theParent);
- QWidget* createContainer(const std::string& theType, QWidget* theParent = NULL);
+ protected:
+ /// check if ModuleBase_Widget has expandable widgets in getControls
+ bool hasExpandingControls(QWidget* theParent);
+ /// Create widget by its type
+ /// \param theType a type
+ /// \param theParent a parent widget
+ ModuleBase_ModelWidget* createWidgetByType(const std::string& theType,
+ QWidget* theParent = NULL);