Results 1 to 13 of 13

Thread: Subclasing QAbstractItemModel Issue

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    14
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3

    Default Re: Subclasing QAbstractItemModel Issue

    hmmm...but problem? I just read about subclasing to check it from here
    http://doc.qt.nokia.com/4.6/model-vi...ng-models.html

    As I understand, it should be enough to create methods which I have. I supposed if I created data methode, AbstractItemModel should be able to work with default mehtods for finish it.

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

    Default Re: Subclasing QAbstractItemModel Issue

    I'll be gentle and I will stuff the answer right in front of your nose this time: you are using a wrong role.
    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.


  3. #3
    Join Date
    Sep 2010
    Posts
    14
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3

    Default Re: Subclasing QAbstractItemModel Issue

    Thanks your for patience. I just figured it out and its working now. I know sometimes Im little bit blockheaded(hope its the right term in english ).

    One more time thank you guys, you didnt give up with me.

Similar Threads

  1. subclasing a Qlist?
    By Ricardo_arg in forum Qt Programming
    Replies: 3
    Last Post: 21st March 2010, 08:40
  2. Once more : QAbstractItemModel woes
    By Valheru in forum Qt Programming
    Replies: 10
    Last Post: 15th January 2008, 10:44
  3. Checkboxes in QAbstractITemModel
    By Valheru in forum Qt Programming
    Replies: 5
    Last Post: 28th November 2007, 20:23
  4. QAbstractItemModel shifiting up and down
    By mattjgalloway in forum Qt Programming
    Replies: 2
    Last Post: 6th June 2007, 08:41
  5. QAbstractItemModel for dummies
    By morty in forum Qt Programming
    Replies: 1
    Last Post: 10th October 2006, 15:25

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.