PyQt5 QDoubleSpinBox – Stepping Down
In this article we will see how we can step down the value of the QDoubleSpinBox programmatically. Double spin box can take decimal value as input, we can set value with the help of
setValue method, stepping down will only decrement the value by 1 for default or by decimal if adaptive decimal type is selected.
In order to do this we will use
stepDownmethod with the double spin box object.
Syntax : dd_spin.stepDown()
Argument : It takes no argument
Return : It returns None
Below is the implementation
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course