Results 1 to 3 of 3

Thread: Qt Tree Widget Question

  1. #1
    Join Date
    Jul 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt Tree Widget Question

    Hi,
    I'm a Qt beginner, and I was wondering how to display a certain type of widget. I have a photo from the Qt designer of an expandable tree where sub-objects can have values or combo boxes associated with them. It looks like this:


    Is there a widget (or a combination of widgets) of do this? It's also similar to the properties menu you get in Qt's Visual Studio integration.

    So far I've been able to make trees with sub-objects and values associated with sub-objects, but none with combo boxes.

    Thanks,
    Al

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

    Default Re: Qt Tree Widget Question

    Read about custom delegates and custom editors (especially see the "spinbox delegate" example).

  3. #3
    Join Date
    Jul 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Tree Widget Question

    Thanks! Will do!

    Al

Similar Threads

  1. rich text in tree widget
    By magland in forum Qt Programming
    Replies: 19
    Last Post: 12th March 2009, 13:07
  2. Replies: 2
    Last Post: 14th February 2008, 20:06
  3. Tree widget sorting
    By ganeshshenoy in forum Qt Programming
    Replies: 3
    Last Post: 11th February 2008, 13:06
  4. Drag from tree widget
    By EricF in forum Qt Programming
    Replies: 9
    Last Post: 17th December 2007, 23:09
  5. Custom tab widget question
    By PrimeCP in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2007, 11:17

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.