Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59036

Support disabled checkboxes in QItemDelegate

    XMLWordPrintable

Details

    Description

      If the model returns a CheckStateRole for an item and the item has the flag ItemIsEnabled, but not the flag ItemIsUserCheckable, we'd like to have QItemDelegate render the checkbox as disabled.

      Today the only way to get a disabled checkbox out of the box is to not set the flag ItemIsEnabled, but that disables the whole item.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            stephan.reiter Stephan Reiter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes