Salome HOME
Issue #1424: Make impossible to create non-valid parameters more the a one
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetExprEditor.h
index 6e9941cf0d3f84860d43a1316e44d280f257014d..ef04f238603f630a194ba093bfc0486e43590934 100644 (file)
@@ -104,10 +104,12 @@ class MODULEBASE_EXPORT ModuleBase_WidgetExprEditor : public ModuleBase_ModelWid
   /// \param thePlaceHolder a placeholder string
   ModuleBase_WidgetExprEditor( QWidget* theParent,
                                const Config_WidgetAPI* theData,
-                               const std::string& theParentId,
                                const std::string& thePlaceHolder );
   virtual ~ModuleBase_WidgetExprEditor();
 
+  /// The methiod called when widget is activated
+  virtual void activateCustom();
+
   /// Redefinition of virtual method
   virtual QList<QWidget*> getControls() const;
 
@@ -124,7 +126,7 @@ protected:
 
   /// Saves the internal parameters to the given feature
   /// \return True in success
-  virtual bool storeValueCustom() const;
+  virtual bool storeValueCustom();
 
   /// Redefinition of virtual method
   virtual bool restoreValueCustom();