Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #1015: The validate icon must be greyed and inactive instead of red and active
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_DoubleSpinBox.h
diff --git
a/src/ModuleBase/ModuleBase_DoubleSpinBox.h
b/src/ModuleBase/ModuleBase_DoubleSpinBox.h
index d0b20e6ac785cb062d7664b417c86ce53be67595..8c60c6d2d36261cb59145653aea1fe0c3b915051 100644
(file)
--- a/
src/ModuleBase/ModuleBase_DoubleSpinBox.h
+++ b/
src/ModuleBase/ModuleBase_DoubleSpinBox.h
@@
-49,12
+49,6
@@
Q_OBJECT
/// Validate current value
virtual QValidator::State validate(QString&, int&) const;
/// Validate current value
virtual QValidator::State validate(QString&, int&) const;
- /// Returns true if the current value is modified by has not been applyed yet
- //virtual bool isModified() const;
-
- /// Clears modified state
- //void clearModified();
-
/// Change enable/disable internal state to emit key press event
/// \param theEnable if true, the signal is emitted
/// \return the previous value
/// Change enable/disable internal state to emit key press event
/// \param theEnable if true, the signal is emitted
/// \return the previous value
@@
-62,15
+56,11
@@
Q_OBJECT
signals:
/// The signal about key release on the control, that corresponds to the attribute
signals:
/// The signal about key release on the control, that corresponds to the attribute
- /// \param theEvent key release event
- void enterPressed();
void enterReleased();
protected slots:
/// Called on text changed
virtual void onTextChanged(const QString&);
void enterReleased();
protected slots:
/// Called on text changed
virtual void onTextChanged(const QString&);
- /// Called on value changed
- //void onValueChanged(const QString& theValue);
protected:
/// Removes extra trailing zero symbols
protected:
/// Removes extra trailing zero symbols
@@
-90,8
+80,6
@@
signals:
/// Precision value
int myPrecision;
/// Precision value
int myPrecision;
- /// Boolean value whether the spin box content is modified
- //bool myIsModified;
};
#endif
};
#endif