]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetFactory.h
Salome HOME
Issue #1427: set header of modal dialog box
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetFactory.h
index b8ae7b465c0c9ae16009842ec50153016a9344fc..8fddaa4dd69590f3cc7fe6c851f04db1d8165cab 100644 (file)
@@ -68,6 +68,9 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFactory
   /// \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);