$setOrientation(<orientation>) |
Sets the slider's orientation. Orientation value can be "Horizontal" or "Vertical"
|
$setTracking(<bool>) |
Sets whether slider tracking is enabled to enable. Value can be 1 or 0.
|
$setMaxValue(<value>) |
Sets maximum value for slider's range.
|
$setMinValue(<value>) |
Sets minimum value for slider's range.
|
$setLineStep(<value>) |
Sets the line step to <value>.
|
$setPageStep(<value>) |
Sets the page step to <value>.
|
$setTickmarks(<value>) |
Sets the tickmark settings for this slider. Values are: NoMarks - do not draw any tickmarks. Both - draw tickmarks on both sides of the groove. Above - draw tickmarks above the (horizontal) slider Below - draw tickmarks below the (horizontal) slider Left - draw tickmarks to the left of the (vertical) slider Right - draw tickmarks to the right of the (vertical) slider
|
$setTickInterval(<value>) |
Sets the interval between tickmarks.
|
$value() |
Returns slider value.
|
$minValue() |
Returns slider minValue.
|
$maxValue() |
Returns slider maxValue.
|
$lineStep() |
Returns slider lineStep value.
|
$pageStep() |
Returns slider pageStep value.
|
$valueChangedEvent(<new slider valure>) |
This function is called by the framework when the slider value is changed and return the new slider value as its argument. The default implementation emits the $valueChanged() signal, so it is easy to handle the values from many sliders without reimplementing the $valueChangedEvent() for every one. Note: If you reimplement this function to catch the slider value, you will have to emit the signal by yourself (if you still need it , obviously).
|