Results 1 to 3 of 3

Thread: QTreeView branch images won't show up

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2014
    Posts
    53
    Thanks
    9

    Default Re: QTreeView branch images won't show up

    solved it.
    apparently stylesheet text need to have new lines otherwise the QT engine doesn't interpret them

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: QTreeView branch images won't show up

    setStylesheet overrides the previously set stylesheet so only the last statement you used in your initial post has any effect.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QTreeView: shift-click [+] decorator to fully expand branch
    By chezifresh in forum Qt Programming
    Replies: 1
    Last Post: 2nd September 2015, 11:47
  2. QTreeView::branch gridline-color?
    By chouqud in forum Newbie
    Replies: 2
    Last Post: 21st March 2014, 11:48
  3. QTreeView branch indicator bug?
    By ugluk in forum Qt Programming
    Replies: 2
    Last Post: 28th May 2012, 10:55
  4. Replies: 2
    Last Post: 2nd November 2009, 13:24
  5. Looking for a method to show several images
    By harakiri in forum Newbie
    Replies: 3
    Last Post: 26th June 2007, 10:57

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.