Results 1 to 5 of 5

Thread: Subclassing QAbstractItemView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Oct 2008
    Posts
    71
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Subclassing QAbstractItemView

    Quote Originally Posted by wysota View Post
    If you are after graphics, it might be easier to use QGraphicsView.
    Yes, I'm after graphics, but interactive graphics, plus editable text. Basically I'm working on kind of a flow-chart editor. I believe it's quite complicated to implement it solely using QGraphicsView..

    Edit:
    Stupid question.. I should have checked QGraphicsView earlier! Probably I will go for it. Thanks!

    But still my question about QAbstractModelView is open. How complicated is it to subclass it? I looked at the Chart example, but painting in the example is implemented directly in the View paintEvent, but I want to draw using delegates.
    Last edited by psih128; 11th October 2008 at 16:50.

Similar Threads

  1. Replies: 2
    Last Post: 26th February 2009, 10:12
  2. QAbstractItemView
    By defumar in forum Newbie
    Replies: 9
    Last Post: 22nd January 2008, 13:50
  3. QAbstractItemView questions
    By krudio in forum Qt Programming
    Replies: 12
    Last Post: 15th January 2008, 10:32
  4. Subclassing QScrollView
    By sumsin in forum Qt Programming
    Replies: 13
    Last Post: 16th March 2006, 14:20
  5. setContentsMargins in QAbstractItemView
    By Promethee in forum Qt Programming
    Replies: 2
    Last Post: 4th February 2006, 14:40

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.