Results 1 to 5 of 5

Thread: Need advice regarding hierarchy view

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Need advice regarding hierarchy view

    Hi,

    I need to implement a widget that shows a hierarchy in the manner shown in the attached image.
    Those of you who know, it is very similar to the way that KProfiler shows the profiling graph.
    My question is, which base class should I use?
    In a way its exactly like a treeview, only the graphical representation is different (and there is no way to collapse/ expand), so I am thinking to subclass QAbstractItemView, but would like to hear (read) your opinions, may be you know a better class, or a better way.

    Thanks in advance.
    Attached Images Attached Images
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Graphics View - Scene & Item hierarchy
    By mooreaa in forum Qt Programming
    Replies: 0
    Last Post: 29th June 2008, 23:49
  2. Model, View and Proxy
    By No-Nonsense in forum Qt Programming
    Replies: 2
    Last Post: 21st November 2006, 08:50

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.