Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Solved] Flickering while widget pops up.



  • I'm creating configuration editor that has quite lots of child widgets and layout. My problem is... how to remove flickering of top-level widget while it pops up with QWidget::show() . If it were due to layouting, I thought it could be solved by calling QWidget::updateGeometry() before calling it but Qt Doc says it does nothing when widget is invisible so it failed.

    any idea?

    Need your help.



  • I found why my widget flickered while it pops up.
    In deeper level of boxed layout, there was a widget who calls 'show()' in its ctor. after removing it flickering was removed.

    Just writing down here to share


  • Moderators

    Be sure and add [Solved] to the title of your post!

    Thanks!



  • @joonhwan Thank you so much. i understood your reply and solved my issue in 2021 which was creating flikering into my pyside2 scrollarea widget.


Log in to reply