PyQt5 QDoubleSpinBox – Setting Maximum Possible Value
In this article we will see how we can set the maximum possible value to the QDoubleSpinBox. By default maximum possible value is <100 for double spin box. i.e user cant enter value greater or equal to the 100 although we can change this maximum value any time. By changing the maximum value we allow user to enter value which is less than the maximum value.
In order to do this we will use
setMaximummethod with the double spin box object.
Syntax : dd_spin.setMaximum(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