Solved QDoubleSpinBox when to know final value set
-
I am working of QDoubleSpinBox . The user can change the value of QDoubleSpinbox by changing entering the value manually .
For example user manually enters 100
then decides to make it 1000In such cases how to know what is the final value entered by the User
It is compulsory to have a apply QPushButton to apply the final value entered by the user
-
-
@Qt-Enthusiast said in QDoubleSpinBox when to know final value set:
In such cases how to know what is the final value entered by the User
You can't - the user decides what the final value is.
You either use the signal or the apply button. -
theres also the signal
void QAbstractSpinBox::editingFinished()
, that is emitted when spinbox loses focus and when enter is pressed.