[Interest] [Qt5.1] Can I force a widget to fully show without giving back control to the event loop or use processEvents()?

Thiago Macieira thiago.macieira at intel.com
Wed Aug 7 17:29:36 CEST 2013


On quarta-feira, 7 de agosto de 2013 09:38:40, Michel Rosien wrote:
> According to the documentation, repaint() doesn’t repaint when the widget
> is hidden.
> So probably the show() call needs the event queue to execute first before
> it is fully shown?

Yes. It possibly also waits for the window manager to respond, indicating that 
the window was successfully shown. This is an async operation.

> Is there a way to fully show a (newly constructed) QWidget without giving
> back control to the event loop (or using processEvents) before continuing?

No.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130807/82579262/attachment.sig>


More information about the Interest mailing list