X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_IntSpinBox.h;h=551e5f0b8234bdee8213ff524d8ec4642d2990d1;hb=e48efe1ec56a7d7e0d8a57fc05f8220b846ea995;hp=2e6d959a48ce12c0ed40457685251b7eb401adc2;hpb=5ba2ac3f39478507bd781082adb879a43d4afe7e;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_IntSpinBox.h b/src/ModuleBase/ModuleBase_IntSpinBox.h index 2e6d959a4..551e5f0b8 100755 --- a/src/ModuleBase/ModuleBase_IntSpinBox.h +++ b/src/ModuleBase/ModuleBase_IntSpinBox.h @@ -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