Salome HOME
Issue #1157: Using parameters in point coordinates
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetFactory.h
index 1e1f29fa76e8dfc54e6de9b682f1efc2881cc0f5..05f3b7b8a2bba7c6fc1c8750ac3e109523047785 100644 (file)
@@ -51,9 +51,16 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFactory
  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
+
+  /// Create page by its type
+  /// \param theType a type
+  /// \param theParent a parent widget
+  ModuleBase_PageBase* createPageByType(const std::string& theType,
+                                        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);