Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    [Solved] Flickering while widget pops up.

    General and Desktop
    3
    4
    3110
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      joonhwan last edited by

      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.

      joonhwan at gmail dot com

      1 Reply Last reply Reply Quote 0
      • J
        joonhwan last edited by

        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

        joonhwan at gmail dot com

        S 1 Reply Last reply Reply Quote 1
        • M
          mlong last edited by

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

          Thanks!

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply Reply Quote 0
          • S
            sunil chauhan @joonhwan last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post