[Interest] Slider value question

Damian Ivanov damianatorrpm at gmail.com
Fri Dec 6 12:39:53 CET 2013


Hi Harish,

Thanks for your answer. How can I block the signals ?

2013/12/6 Harish Surana <surana4u at gmail.com>:
> 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
>
>



More information about the Interest mailing list