How to limiti Dial control value?
Unsolved
General and Desktop
-
Hi
i created a QML page contains a Dial control and a Slider. values of each of them controls the value of another.Dial { id: dialC value: slider.value } ... Slider { value: dialC.value id:sliderC orientation: Qt.Vertical }
i have this problem: when i rotate the dial control, after that it reaches to max value, it goes to 0.0 value (because it can rotate unlimited rounds!), slider goes to min value too.
how i can limit max rounds of dial control to 1 round?
i mean dial only rotates one rounds and stays in max/min.
i want it rotates only one round. (for example only values between 0.0 and 1.0)thanks in advance