[SOLVED] Disable/Enable CheckBox
is there any simple way to disable a CheckBox?
Meaning it does not respond to any mice or keyboard events any more
and also to have the possibility to give it a "grayisch" disabled look.
If there is no simple solution, has anyone already found a workaround and
wants to share his/her solution?
Thank you for your help
Are you thinking of something like the "enabled":http://doc.qt.io/qt-5/qwidget.html#enabled-prop property ?
yes this was exactly what I was searching for.
The QML Item has this property so the CheckBox too.
Must have been blind to overlook this one while searching for disable.
Thanks a lot and sorry for the stupid question
That's not a stupid question, it's a beginner one plus I've missed the fact that you where asking for QtQuick ;)
Happy coding !