Salome HOME
Fix for the issue #2689 : Groups in error after loading a python script
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetDoubleValue.h
index 07a22802d59fbcf19f28c364d2aa46f78df5326d..595cb8590bc8a7270f549122c8a67d0f0f02afd5 100644 (file)
@@ -59,15 +59,15 @@ Q_OBJECT
   /// \return a control list
   virtual QList<QWidget*> getControls() const;
 
-  /// Returns true if the event is processed.
-  virtual bool processEnter();
-
  public slots:
  // Delayed value chnged: when user starts typing something,
  // it gives him a 0,5 second to finish typing, when sends valueChnaged() signal
 //  void onValueChanged();
 
 protected:
+  /// Returns true if the event is processed.
+  virtual bool processEnter();
+
   /// Saves the internal parameters to the given feature
   /// \return True in success
   virtual bool storeValueCustom();
@@ -86,6 +86,11 @@ protected:
 
   /// Input value control
   ModuleBase_ParamSpinBox* mySpinBox;
+
+  FeaturePtr myParameter;
+
+  double myDefaultVal;
+  bool myHasDefault;
 };
 
 #endif