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

Stylesheets breaks when painting QTableView header in Vista.

    XMLWordPrintable

Details

    Description

      When using style sheets on a QTableView in Windows Vista, headers are not painted right. When typing:

      QTableView {
      alternate-background-color: rgb(70, 70, 70);
      background: rgb(39, 39, 39);
      color: rgb(200, 200, 200);
      selection-background-color: rgb(120, 120, 120);
      selection-color: rgb(255, 255, 255);
      }
      QHeaderView::section {
      alternate-background-color: rgb(70, 70, 70);
      background: rgb(39, 39, 39);
      color: rgb(200, 200, 200);
      selection-background-color: red;
      selection-color: red;
      }
      QHeaderView {
      alternate-background-color: rgb(70, 70, 70);
      background: rgb(39, 39, 39);
      color: rgb(200, 200, 200);
      selection-background-color: rgb(120, 120, 120);
      selection-color: rgb(255, 255, 255);
      }
      ..and selecting a line the headers break the color. The should turn red.

      Attachments

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

        Activity

          People

            bachewii Jens
            engvolds Morten Engvoldsen (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