Results 1 to 7 of 7

Thread: QTableModel - beginInsertRows, index not known

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: QTableModel - beginInsertRows, index not known

    When you modify a row, wouldn't that just require dataChanged()?

    Anyway, if you don't see any bad behavior in your view you should be fine.

    And insert/remove is definitely better than reset.

    Cheers,
    _

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

    tuli (20th August 2015)

Similar Threads

  1. Replies: 2
    Last Post: 4th January 2014, 02:49
  2. Replies: 1
    Last Post: 6th December 2013, 21:08
  3. Replies: 0
    Last Post: 2nd April 2011, 17:50
  4. Replies: 1
    Last Post: 4th June 2009, 18:44
  5. QTableView QTablemodel & insertRow
    By pfusterschmied in forum Qt Programming
    Replies: 2
    Last Post: 5th June 2007, 13:43

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.