Results 1 to 7 of 7

Thread: Can't style QHeaderView::section:selected in QSS stylesheet

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Can't style QHeaderView::section:selected in QSS stylesheet

    Linux and Qt 4.7.4: QTreeWidget does not work, QTableWidget does if the table has content.

    Highlighting is part of the style... perhaps Windows Vista style does not honour it? I don't have a Vista box hand to try on.

  2. The following user says thank you to ChrisW67 for this useful post:

    dictoon (16th January 2012)

  3. #2
    Join Date
    Dec 2009
    Posts
    49
    Thanks
    3
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Can't style QHeaderView::section:selected in QSS stylesheet

    I reported a bug: https://bugreports.qt.nokia.com/browse/QTBUG-23689.

    Thanks all for your help.

    Cheers,
    Franz

Similar Threads

  1. Highlighting selected section on QDateTimeEdit
    By Yorma in forum Qt Programming
    Replies: 4
    Last Post: 3rd May 2013, 12:03
  2. Replies: 2
    Last Post: 10th August 2011, 07:16
  3. Stylesheet of selected item in combo-box
    By shrawan0786 in forum Qt Programming
    Replies: 1
    Last Post: 6th December 2010, 10:30
  4. QHeaderView: background of selected header item with CSS
    By antarctic in forum Qt Programming
    Replies: 5
    Last Post: 8th June 2009, 07:37
  5. QHeaderView section resizes
    By dimuz in forum Qt Programming
    Replies: 7
    Last Post: 11th October 2007, 16:44

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.