Range.setValue

Sets the current value of the range; if the value is outside the minimum or maximum range values, it will be clamped to fit inside them. The range emits the value-changed signal if the value changes.

class Range
void
setValue
(
double value
)

Parameters

value double

new value of the range