Salome HOME
Show tool tip of shape multi selector. Remove an article.
[modules/shaper.git] / src / ModuleBase / ModuleBase_IntSpinBox.h
index 2e6d959a48ce12c0ed40457685251b7eb401adc2..551e5f0b8234bdee8213ff524d8ec4642d2990d1 100755 (executable)
@@ -26,19 +26,9 @@ public:
   explicit ModuleBase_IntSpinBox(QWidget* theParent = 0);
   virtual ~ModuleBase_IntSpinBox() {};
 
-  /// Returns true if the current value is modified by has not been applyed yet
-  virtual bool isModified() const;
-
-  /// Clears modified state
-  void clearModified();
-
-protected slots:
-  /// Called on value changed
-  void onValueChanged(const QString& theValue);
-
- private:
-  /// Boolean value whether the spin box content is modified
-  bool myIsModified;
+protected:
+  /// Called on key press event
+  virtual void keyPressEvent(QKeyEvent* theEvent);
 };
 
 #endif