[Interest] [Qt5.1] Can I force a widget to fully show without giving back control to the event loop or use processEvents()?
michel.rosien at gmail.com
Wed Aug 7 09:38:40 CEST 2013
I have some old code that uses a QWidget::show(), followed by a
QWidget::repaint() to show a window (with a message) before a time
consuming operation starts.
In Qt4.8 this had the intended effect of fully showing the window before
In Qt5.1 this does not show the window fully. A QApplication::processEvents
According to the documentation, repaint() doesn’t repaint when the widget
So probably the show() call needs the event queue to execute first before
it is fully shown?
Is there a way to fully show a (newly constructed) QWidget without giving
back control to the event loop (or using processEvents) before continuing?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest