[Interest] Slider value question
Harish Surana
surana4u at gmail.com
Fri Dec 6 12:23:11 CET 2013
You need to block signals of slider when you are setting value programmatic
..
On Fri, Dec 6, 2013 at 11:58 AM, Damian Ivanov <damianatorrpm at gmail.com>wrote:
> Hi all,
>
> I have a question regarding the Slider element form Controls:
> Slider {
> minimumValue: 30
> maximumValue: 100
> stepSize: 1
> value: mySettings.myValue
> }
> should myValue by updated when I slide the slider? Because my value
> does not. I need to add
> onValueChanged: mySettings.myValue = (value)
> which results in a binding loop. What is the proper way to do it?
>
> Thanks in advance,
> Damian
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131206/992d7007/attachment.html>
More information about the Interest
mailing list