PyQt5 QDoubleSpinBox – Getting Step Type Property
In this article we will see how we can get the step type property of the QDoubleSpinBox. This property holds the step type. The step type can be single step or adaptive decimal step. By default when we change the value it get change by whole number not by the decimal value although we can change this with the help of step type property, it can be set with the help of
In order to do this we will use
stepType method with the QDateTimeEdit object.
Syntax : dd_spin.stepType()
Argument : It takes no argument
Return : It returns step type object but when printed it shows the associated value with it
Below is the implementation