Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is there any analogue to Qt's setEnabled() in QML ?
I mean control(checkbox in my case) must be disabled and has inactive("grey") color. Disable part is ok: it is an enable property but how to change its color to inactive?
Thanx
Hi, I don't understand what's the problem. Setting enabled to false automatically changes the color of the checkbox.
CheckBox { text: "Hello" enabled: !checked }