Salome HOME
Fix for issue #1174
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetCreatorFactory.h
index 63c4d626085f11f733119af76bcde95ee4f018da..98f4d211d1b514d8f5d6f83e70766e6da8f1b0b0 100755 (executable)
@@ -18,6 +18,7 @@
 
 class ModuleBase_ModelWidget;
 class ModuleBase_PageBase;
+class ModuleBase_IWorkshop;
 
 class QWidget;
 
@@ -47,13 +48,18 @@ class MODULEBASE_EXPORT ModuleBase_WidgetCreatorFactory
   /// \param theType a type
   /// \param theParent a parent widget
   ModuleBase_PageBase* createPageByType(const std::string& theType,
-                                        QWidget* theParent = NULL);
+                                        QWidget* theParent,
+                                        Config_WidgetAPI* theWidgetApi,
+                                        std::string theParentId);
 
   /// Create widget by its type
   /// \param theType a type
   /// \param theParent a parent widget
   ModuleBase_ModelWidget* createWidgetByType(const std::string& theType,
-                                             QWidget* theParent = NULL);
+                                             QWidget* theParent,
+                                             Config_WidgetAPI* theWidgetApi,
+                                             std::string theParentId,
+                                             ModuleBase_IWorkshop* theWorkshop);
 
 private:
   /// Constructor is hidden