Results 1 to 2 of 2

Thread: tree widget like designer's widget tree

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Posts
    97
    Thanks
    6
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default tree widget like designer's widget tree

    I'd like a toolbox thing sort of like the widget tree in the designer. As far as I can tell, for the categories it simply adds a top level tree item to a basic QTreeWidget subclass. I can't recreate the way the categories draw themselves in the designer though. How is this done?

  2. #2
    Join Date
    Nov 2010
    Posts
    97
    Thanks
    6
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: tree widget like designer's widget tree

    It's done by sheet_delegate.

    Thanks for all the help.

Similar Threads

  1. get selected object from tree widget.
    By red in forum Newbie
    Replies: 0
    Last Post: 27th July 2010, 14:39
  2. Tree Widget
    By bismitapadhy in forum Qt Programming
    Replies: 1
    Last Post: 9th June 2009, 07:31
  3. Qt Tree Widget Question
    By alavtec in forum Qt Programming
    Replies: 2
    Last Post: 16th July 2008, 16:21
  4. Tree widget sorting
    By ganeshshenoy in forum Qt Programming
    Replies: 3
    Last Post: 11th February 2008, 13:06
  5. Drag from tree widget
    By EricF in forum Qt Programming
    Replies: 9
    Last Post: 17th December 2007, 23:09

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.