Salome HOME
Disable sketch input fields unconditionally.
[modules/shaper.git] / src / ModuleBase / ModuleBase_IWidgetCreator.cpp
index 3daffa8bf532e4ef505676edf0d3088c0f3e0ff5..10e495f7b6f11d8665f02cd80916072c2927ba50 100755 (executable)
@@ -10,17 +10,24 @@ ModuleBase_IWidgetCreator::~ModuleBase_IWidgetCreator()
 {
 }
 
-const std::set<std::string>& ModuleBase_IWidgetCreator::panelTypes()
+QWidget* ModuleBase_IWidgetCreator::createPanelByType(const std::string& theType,
+                                                      QWidget* theParent,
+                                                      const FeaturePtr& theFeature)
 {
-  return std::set<std::string>();
+  return 0;
 }
 
-const std::set<std::string>& ModuleBase_IWidgetCreator::pageTypes()
+ModuleBase_PageBase* ModuleBase_IWidgetCreator::createPageByType(const std::string& theType,
+                                                                 QWidget* theParent,
+                                                                 Config_WidgetAPI* theWidgetApi)
 {
-  return std::set<std::string>();
+  return 0;
 }
 
-const std::set<std::string>& ModuleBase_IWidgetCreator::widgetTypes()
+ModuleBase_ModelWidget* ModuleBase_IWidgetCreator::createWidgetByType(const std::string& theType,
+                                                                 QWidget* theParent,
+                                                                 Config_WidgetAPI* theWidgetApi,
+                                                                 ModuleBase_IWorkshop* theWorkshop)
 {
-  return std::set<std::string>();
+  return 0;
 }