Results 1 to 9 of 9

Thread: Avoiding flickering when dynamically changing content of a widget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    Join Date
    Nov 2006
    Location
    Dresden, Germany
    Posts
    109
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    9
    Thanked 12 Times in 10 Posts

    Default Re: Avoiding flickering when dynamically changing content of a widget

    Marcel (and others who want to see the effect), I attached a short example that illustrates the problem.

    Compile, run and then press the buttons 1 and 5 (toggle visibility of a group box) and check/uncheck the advanced box.

    You will see in either case a flickering when the layout is redone.

    Mind that this is a fairly "lightweight" example of a dialog with about 50 widgets, others have about 150 to 300 widgets. For these cases the layout updating should really be done in the background before the whole thing gets drawn again.

    Thanks for any suggestions!
    Andreas
    Attached Files Attached Files
    Andreas

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.