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

QTreeView::header corners drawn incorrectly with Style Sheet

XMLWordPrintable

      QTreeView::header corners drawn incorrectly with Style Sheet.

      Setting round corners are overridden by the header on the QTreeView.

      It occurs with all styles. Tested on Linux.

      This Style Sheet will repoduce the error.

      /* Definitions for the treeview & header */
      QTreeView
      {
      border-radius: 5px;
      border-width: 1.3px;
      border-style: solid;
      }

      QTreeView QHeaderView:section
      {
      border-left: none;
      border-top: none;
      border-bottom: 1px solid rgb(181, 182, 200);
      border-right: 1px solid rgb(181, 182, 200);
      }

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

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            roschern Nils Christian Roscher-Nielsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes