Results 1 to 5 of 5

Thread: How to indicate that hasChildren() has changed when using lazy population?

Threaded View

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

    Default Re: How to indicate that hasChildren() has changed when using lazy population?

    Quote Originally Posted by Coises View Post
    The problem I can’t seem to resolve is what to do when the status of an unpopulated parent changes such that it no longer has children;
    I would emit layoutChanged() or dataChanged() for the parent in question.
    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.


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

    Coises (7th May 2010)

Similar Threads

  1. Delayed QAbstractItemModel population
    By BlackDemon in forum Qt Programming
    Replies: 0
    Last Post: 8th December 2009, 00:17
  2. QStandardItemModel Lazy Population
    By AaronMK in forum Qt Programming
    Replies: 0
    Last Post: 15th September 2009, 08:05
  3. Replies: 1
    Last Post: 9th August 2009, 19:51
  4. Replies: 4
    Last Post: 6th February 2009, 19:18
  5. Lazy population of QAbstractModel
    By bastien in forum Qt Programming
    Replies: 1
    Last Post: 16th January 2009, 20: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.