Salome HOME
Fix fillet validator
[modules/shaper.git] / src / ModuleBase / ModuleBase_IntSpinBox.h
index 2e6d959a48ce12c0ed40457685251b7eb401adc2..565e437144a724c8cffba088298b555a9cdaaf75 100755 (executable)
@@ -27,18 +27,22 @@ public:
   virtual ~ModuleBase_IntSpinBox() {};
 
   /// Returns true if the current value is modified by has not been applyed yet
-  virtual bool isModified() const;
+  //virtual bool isModified() const;
 
   /// Clears modified state
-  void clearModified();
+  //void clearModified();
 
 protected slots:
   /// Called on value changed
-  void onValueChanged(const QString& theValue);
+  //void onValueChanged(const QString& theValue);
 
- private:
+protected:
+  /// Called on key press event
+  virtual void keyPressEvent(QKeyEvent* theEvent);
+
+private:
   /// Boolean value whether the spin box content is modified
-  bool myIsModified;
+  //bool myIsModified;
 };
 
 #endif