]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_DoubleSpinBox.h
Salome HOME
#1042 Sometimes when setting distance constraints, the input field is not displayed...
[modules/shaper.git] / src / ModuleBase / ModuleBase_DoubleSpinBox.h
index ef22f8ad12bdfffb66dffd176af8d722e429deca..d0b20e6ac785cb062d7664b417c86ce53be67595 100644 (file)
@@ -63,7 +63,8 @@ Q_OBJECT
 signals:
   /// The signal about key release on the control, that corresponds to the attribute
   /// \param theEvent key release event
-  void keyReleased(QKeyEvent* theEvent);
+  void enterPressed();
+  void enterReleased();
 
  protected slots:
    /// Called on text changed
@@ -74,6 +75,9 @@ signals:
  protected:
    /// Removes extra trailing zero symbols
   QString removeTrailingZeroes(const QString&) const;
+  /// Called on key press event
+  virtual void keyReleaseEvent(QKeyEvent* theEvent);
+
   /// Called on key press event
   virtual void keyPressEvent(QKeyEvent* theEvent);