Salome HOME
Fix of crash on undo/redo/undo of extrusion: the comment of sketch result was erased...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetDoubleValue.h
index 6c819866e8575bd6f2bbc6164c4293deca7f53d2..a4f0a1b8b8b5fcc1abea08c9b2e7745f584de2a9 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        ModuleBase_WidgetDoubleValue.h
 // Created:     04 June 2014
 // Author:      Vitaly Smetannikov
 #include "ModuleBase.h"
 #include "ModuleBase_ModelWidget.h"
 
+class ModuleBase_DoubleSpinBox;
 class Config_WidgetAPI;
 class QWidget;
 class QLabel;
-class QDoubleSpinBox;
+class QTimer;
 
 class MODULEBASE_EXPORT ModuleBase_WidgetDoubleValue : public ModuleBase_ModelWidget
 {
@@ -42,15 +45,15 @@ Q_OBJECT
     return myContainer;
   }
 
-  /// Process key release envent on the widget spin box controls
-  /// \param theObject the object where the event happens
-  /// \param theEvent the processed event
-  virtual bool eventFilter(QObject *theObject, QEvent *theEvent);
+ 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:
   QWidget* myContainer;
   QLabel* myLabel;
-  QDoubleSpinBox* mySpinBox;
+  ModuleBase_DoubleSpinBox* mySpinBox;
 };
 
 #endif