Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. ItemDelegate "checkable" property

ItemDelegate "checkable" property

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 600 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • QMLNewbieQ Offline
    QMLNewbieQ Offline
    QMLNewbie
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • jpnurmiJ Offline
      jpnurmiJ Offline
      jpnurmi
      wrote on last edited by
      #2

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

      • CheckDelegate
      • RadioDelegate
      • SwitchDelegate
      1 Reply Last reply
      1
      • QMLNewbieQ Offline
        QMLNewbieQ Offline
        QMLNewbie
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved