Results 1 to 1 of 1

Thread: Apply stylesheet to QTableView but not QScrollBar

  1. #1
    Join Date
    Jan 2012
    Location
    Canary Islands, Spain
    Posts
    86
    Thanks
    4
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Apply stylesheet to QTableView but not QScrollBar

    There is any way to apply "background-color" stylesheet to a QTableView without losing QScrollBar style?
    if i apply the "background-color" value to the QTableView, the scrollbars looks like in windows98, it loses all the style, only get the background color from the QTableView, but looks very ugly with that old windows style




    EDIT: Solved using object name.
    Last edited by aguayro; 13th January 2013 at 00:30.
    Always trying to learn >.<

Similar Threads

  1. StyleSheet and QScrollBar
    By fruzzo in forum Qt Programming
    Replies: 3
    Last Post: 30th April 2010, 08:28
  2. How to Apply stylesheet to QMessageBox?
    By sudhansu in forum Qt Programming
    Replies: 1
    Last Post: 7th January 2010, 08:32
  3. Replies: 4
    Last Post: 28th March 2008, 04:55
  4. Replies: 8
    Last Post: 17th March 2008, 14:04
  5. QScrollbar stylesheet
    By GuS in forum Qt Programming
    Replies: 34
    Last Post: 4th December 2007, 16:12

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.