/// Creates content widget for property panel
/// \param thePage a parent page
- void createWidget(ModuleBase_PageBase* thePage);
+ void createWidget(ModuleBase_PageBase* thePage, bool alignToTop = true);
/// Creates property panel content for the feature
/// \param thePage a parent page
/// \param theAttributeId an outpup parameter with attribute
void getGreedAttribute(std::string& theAttributeId);
+ /// Returns widget API from XML
+ const Config_WidgetAPI* widgetAPI() const { return myWidgetApi; }
+
protected:
/// check if ModuleBase_Widget has expandable widgets in getControls
bool hasExpandingControls(QWidget* theParent);