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

Can't style QHeaderView::section:checked when using QTreeWidget

XMLWordPrintable

    • macOS

      I seem unable to change the background color (or any other property) of a QHeaderView section using the QHeaderView::section:checked selector using Qt 4.7.0. Here's the relevant code:

      QHeaderView::section:checked
      {
          background-color: red;
      }
      

      There's a detailed account of this (potential) bug and a follow-up discussion in this post on Qt Centre.

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

            Unassigned Unassigned
            dictoon François Beaune
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes