[Interest] QWidget::show()

Thiago Macieira thiago.macieira at intel.com
Fri Sep 18 23:34:38 CEST 2015


On Friday 18 September 2015 23:23:16 Igor Mironchik wrote:
> Hi,
> 
> If in some method create QWidget and invoke show() on it when this
> widget will be shown? Immediately or only after finish of method from
> within show() was invoked?

Qt will ask immediately that it be shown. When the user sees it, that's 
another story. Please consult your window manager for this.

Note that the drawing of the contents of this widget will only happen once the 
window manager tells Qt that the widget is shown and needs repainting. That 
can happen two years after you called show().

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list