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

ItemViews : Checkboxes in headers

    XMLWordPrintable

Details

    Description

      Consider a column in a table view that is composed of checkboxes.

      It would be nice for the column header to show a checkbox which, when clicked, will change the checked state of all of the checkboxes beneath it.

      It could also show the checked state of those checkboxes,
      showing a check if all are checked, unchecked if all
      are unchecked, and indeterminate if there is a mix of checked and
      unchecked.

      To do this currently the application needs to return a Pixmap for the
      Qt::DecorationRole, with the pixmap being a pixmap constructed using
      the drawPrimitive.

      It would be nice if this would be supported "out of the box".

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes