4.22. Slider widget class
The Slider class inherits QSlider Qt class.
Widget's input value
An integer or any object that can be converted to an integer.
Widget's attributes
- orientation
- This attribute holds the orientation of the slider. Possible values are horizontal or vertical. The default is horizontal.
- tick_position
- This attribute holds the tickmark position for the slider. Possible values are : none, above, below, both. The default is none.
- tick_interval
- This attribute holds the interval between tickmarks.
- tracking
- This attribute holds if slider tracking is enabled. If tracking is enabled (the default), the slider emits signals while the slider is being dragged. If tracking is disabled, the slider emits signals only when the user releases the slider.
- min
- This attribute holds the slider's minimum value.
- max
- This attribute holds the slider's maximum value.
- step
- This attribute holds the slider's smaller step. The default is 1.
Widget's output value
An integer representing the slider's value.