Salome HOME
Issue #1368: Creation of a Qt panel. Code improvement.
[modules/shaper.git] / src / ModuleBase / ModuleBase_IWidgetCreator.h
index 91a076d447335fb4be8fad3ec1c390a3971d5f98..3d0789cceeb969252377a0aae21480cf2b862b33 100755 (executable)
@@ -41,18 +41,18 @@ public:
   /// Create page by its type
   /// \param theType a type
   /// \param theParent a parent widget
+  /// \param theData a low-level API for reading xml definitions of widgets
   virtual ModuleBase_PageBase* createPageByType(const std::string& theType,
                                                 QWidget* theParent,
-                                                Config_WidgetAPI* theWidgetApi,
-                                                std::string theParentId) = 0;
+                                                Config_WidgetAPI* theWidgetApi) = 0;
 
   /// Create widget by its type
-   /// \param theType a type
-   /// \param theParent a parent widget
+  /// \param theType a type
+  /// \param theParent a parent widget
+  /// \param theData a low-level API for reading xml definitions of widgets
   virtual ModuleBase_ModelWidget* createWidgetByType(const std::string& theType,
                                                      QWidget* theParent,
                                                      Config_WidgetAPI* theWidgetApi,
-                                                     std::string theParentId,
                                                      ModuleBase_IWorkshop* theWorkshop) = 0;
 };