Salome HOME
Issue #1648: Dump Python in the High Level Parameterized Geometry API
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetLabel.h
index 97454bf6f771c737fbd266395db9cb5ff77fa627..4812f29b60adee8a41b051c92eae777d2f948836 100644 (file)
@@ -31,20 +31,17 @@ Q_OBJECT
   /// It returns false because this is an info widget
   virtual bool canAcceptFocus() const { return false; };
 
-  virtual bool restoreValueCustom()
-  {
-    return true;
-  }
+  virtual bool restoreValueCustom();
 
   virtual QList<QWidget*> getControls() const;
 
   /// This control doesn't accept focus
-  virtual bool focusTo() { return false; }
+  virtual bool focusTo();
 
 protected:
   /// Saves the internal parameters to the given feature
   /// \return True in success
-  virtual bool storeValueCustom() const
+  virtual bool storeValueCustom()
   {
     return true;
   }