PyQt5 QDoubleSpinBox – Setting Minimum Possible Value
In this article we will see how we can set the minimum possible value to the QDoubleSpinBox. By default minimum possible value is 0 for double spin box. i.e user cant enter value less than 0 although we can change this maximum value any time. By changing the minimum value we allow user to enter value which is greater than the minimum value.
In order to do this we will use
setMinimummethod with the double spin box object.
Syntax : dd_spin.setMinimum(n)
Argument : It takes float as 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