Results 1 to 2 of 2

Thread: Add "separators" in QTreeWidget

  1. #1
    Join Date
    Jul 2009
    Posts
    1

    Default Add "separators" in QTreeWidget

    Hey,
    I'm trying to have those sub sections in a treeview, like for example in the property editor of Qt Designer. (I mean the grey expandable bars grouping the properties by class)
    Anyone an idea how to get such a thing?
    Thanks a lot,
    Lipha

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Add "separators" in QTreeWidget

    -> Look at the sources of the designer, there you will find your answer. I guess it is a custom delegate.

Similar Threads

  1. Filling QTreeWidget / Using QTreeView
    By stefanborries in forum Qt Programming
    Replies: 1
    Last Post: 15th April 2009, 16:25
  2. how to sync a QTreeWidget and a QListWidget?
    By zl2k in forum Qt Programming
    Replies: 2
    Last Post: 5th September 2008, 21:55
  3. QTreeWidget nextSibling()
    By user_mail07 in forum Newbie
    Replies: 1
    Last Post: 21st August 2008, 20:44
  4. how to add icons to QTreeWidget?
    By wei243 in forum Qt Programming
    Replies: 4
    Last Post: 21st September 2007, 09:34
  5. resizing a QTreeWidget
    By drhex in forum Qt Programming
    Replies: 6
    Last Post: 27th October 2006, 23:32

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.