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

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

    XMLWordPrintable

Details

    • macOS

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes