Results 1 to 6 of 6

Thread: Checkboxes in Treeview do not get refreshed

Hybrid View

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

    Default Re: Checkboxes in Treeview do not get refreshed

    You can try emitting layoutChanged() for the most parent item instead of dataChanged() for subitems.

  2. The following 2 users say thank you to wysota for this useful post:

    drsm (18th March 2009), mesch.t (18th February 2009)

  3. #2
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    1

    Default Re: Checkboxes in Treeview do not get refreshed

    Yes!
    That did it and it's fast!
    Thank you!

  4. #3
    Join Date
    Dec 2010
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Wink Re: Checkboxes in Treeview do not get refreshed

    mesch.t, I am trying to resolve the same issue you have encounter in this thread. Can you provide some code snippet for your solution? Thanks!
    Last edited by phamtv; 13th April 2011 at 23:26.

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.