Results 1 to 3 of 3

Thread: QPersistentModelIndex problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    849
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    6
    Thanked 163 Times in 151 Posts

    Default Re: QPersistentModelIndex problem

    you must not store the perstistent model indexes in a QModelIndexList; use
    Qt Code:
    1. QList<QPersistentModelIndex>
    To copy to clipboard, switch view to plain text mode 
    instead

    HTH

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

    laugusti (2nd November 2009)

  3. #2
    Join Date
    Aug 2009
    Posts
    23
    Thanks
    3

    Default Re: QPersistentModelIndex problem

    Thank you Caduel,

    It works perfectly now!

    Regards,
    Lionel

Similar Threads

  1. Problem with QAbstractListModel
    By eekhoorn12 in forum Qt Programming
    Replies: 3
    Last Post: 26th August 2009, 15:26
  2. Replies: 1
    Last Post: 23rd April 2009, 10:05
  3. Replies: 19
    Last Post: 4th April 2009, 00:17
  4. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 13:45
  5. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 22:36

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.