Results 1 to 4 of 4

Thread: How to set StyleSheet for checkbox in QTreeView;

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jun 2008
    Posts
    88
    Thanks
    4
    Thanked 4 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11
    Wiki edits
    1

    Default Re: How to set StyleSheet for checkbox in QTreeView;

    Just like you would a QCheckBox only with a QTreeView

    QTreeView::indicator:checked {
    image: url(path);
    }
    QTreeView::indicator:unchecked {
    image: url(path);
    }

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

    Snix (10th December 2013)

Similar Threads

  1. QTreeView rows (items) StyleSheet
    By Kostanev in forum Qt Programming
    Replies: 1
    Last Post: 15th September 2007, 10:36

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.