Salome HOME
Create validator for distance constraint
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetPoint2D.h
index 5c72695209625ec94169c2c433678a4e745ae571..77fbd74eee380035412274465eab65596b922668 100644 (file)
@@ -29,7 +29,7 @@ public:
   /// \theParent the parent object
   /// \theParent the parent object
   /// \theData the widget configuation. The attribute of the model widget is obtained from
-  ModuleBase_WidgetPoint2D(QWidget* theParent, const Config_WidgetAPI* theData);
+  ModuleBase_WidgetPoint2D(QWidget* theParent, const Config_WidgetAPI* theData, const std::string& theParentId);
   /// Destructor
   virtual ~ModuleBase_WidgetPoint2D();
 
@@ -40,9 +40,9 @@ public:
 
   /// Saves the internal parameters to the given feature
   /// \param theObject a model feature to be changed
-  virtual bool storeValue(ObjectPtr theObject) const;
+  virtual bool storeValue() const;
 
-  virtual bool restoreValue(ObjectPtr theObject);
+  virtual bool restoreValue();
 
   /// Returns the internal parent wiget control, that can be shown anywhere
   /// \returns the widget