Important: Please read the Qt Code of Conduct -

ItemDelegate "checkable" property

  • I am royally confused. We are trying to update from Qt.labs.controls to what is now QtQuick.Controls 2.0.

    ItemDelegate used to have a property called "checkable" where you could define if an item was, well, checkable, and then it would have a CheckBox. In Controls 2.0 this does not seem to exist anymore, however the property "checked" still exists and can be set to true or false - but no CheckBox will be displayed.

    How is this supposed to be used? Does ItemDelegate now not have the CheckBox at all anymore? Is there another solution we should be using, or is this a bug?

  • Hi, you can use these depending on what kind of checkable delegates you want:

    • CheckDelegate
    • RadioDelegate
    • SwitchDelegate

  • Awesome, thank you! That was exactly what I was looking for!

Log in to reply