Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Flickering while widget pops up.
Forum Updated to NodeBB v4.3 + New Features

[Solved] Flickering while widget pops up.

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 3.5k Views 1 Watching
  • 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 Offline
    J Offline
    joonhwan
    wrote on last edited by
    #1

    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
    0
    • J Offline
      J Offline
      joonhwan
      wrote on last edited by
      #2

      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
      1
      • M Offline
        M Offline
        mlong
        wrote on last edited by
        #3

        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
        0
        • J joonhwan

          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

          S Offline
          S Offline
          sunil chauhan
          wrote on last edited by
          #4

          @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
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved