Results 1 to 5 of 5

Thread: Could somebody please tell me what is the name of this class?

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Could somebody please tell me what is the name of this class?

    Hello!

    I'ld like to implement a widget as the one in the print screen, but I simply can't find it in Qt Creator's implementation of Qt Designer, nor in the QtAssitant files - and I'm certain that I've seen in before as a Qt avaliable class.

    Pergunta.jpg



    Thanks,

    Momergil



    Note: I'm using Qt 5.1, and I remember seeing this in Qt 4.8. Was it removed?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,316
    Thanks
    314
    Thanked 870 Times in 857 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Could somebody please tell me what is the name of this class?

    Well, it is probably based on QTreeView / QTreeWidget, but after 15 minutes of looking in the QtCreator source code I can't find anything that seems like a good candidate for a derived class. But then there is so much abstraction and indirection in the QtCreator source code that it is nearly impossible to discover how anything is implemented.

    You might find something you can use in the QSint widgets library.

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

    Default Re: Could somebody please tell me what is the name of this class?

    As far as I remember it's a standard QTreeWidget with a custom delegate.
    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.


  4. #4
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Could somebody please tell me what is the name of this class?

    Well, I was looking now to Qt Creator once again and thinking how could I be mistaken about having seing that already in the Designer, when I noticed I didn't checked the QToolBox widget - and so I found it At least it seems to me the widget in question is far more closely related to QToolBox than QTreeWidget/View...


    Well, thanks for the help (and d_stranz, for the interesting link).


    Momergil

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

    Default Re: Could somebody please tell me what is the name of this class?

    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.


  6. The following user says thank you to wysota for this useful post:

    Momergil (16th January 2014)

Similar Threads

  1. Replies: 5
    Last Post: 13th January 2014, 09:24
  2. Replies: 1
    Last Post: 20th January 2012, 04:39
  3. Replies: 7
    Last Post: 18th August 2011, 14:43
  4. Replies: 3
    Last Post: 27th December 2008, 19:34
  5. Replies: 3
    Last Post: 16th May 2007, 11:07

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.