Results 1 to 4 of 4

Thread: Looking for examples of subclassing a QTreeView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 268 Times in 268 Posts
    Wiki edits
    20

    Default Re: Looking for examples of subclassing a QTreeView

    There's a very nice example of subclassing a view:
    http://doc.qt.nokia.com/4.7/itemviews-chart.html

    But I would first try if it is possible to use a delegate.
    You also might want to find out if you can just put another treeview inside an index, that would make it a lot easier to implement.

  2. The following user says thank you to tbscope for this useful post:

    kgimpelson (24th February 2011)

Similar Threads

  1. Subclassing QGraphicsItemGroup
    By onurozcelik in forum Qt Programming
    Replies: 0
    Last Post: 3rd May 2010, 07:41
  2. Subclassing QFontDialog
    By fsoltanshahi in forum Qt Programming
    Replies: 0
    Last Post: 23rd October 2008, 16:29
  3. Subclassing QGraphicsView
    By sincnarf in forum Qt Programming
    Replies: 11
    Last Post: 27th August 2007, 19:36
  4. Subclassing QScrollView
    By sumsin in forum Qt Programming
    Replies: 13
    Last Post: 16th March 2006, 14:20
  5. Subclassing
    By joseph in forum Newbie
    Replies: 1
    Last Post: 25th February 2006, 14:06

Tags for this Thread

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.