PDA

View Full Version : Screen get white on minimize?



vishal.chauhan
11th August 2008, 06:02
Hi All,

I am using QT 4.3.4 on my Mac.
I am having a QDialog and over it I have another dialog as sheet.
In the sheet I have a progress bar and a Label to show the progress of
the Process.

But when I minimize the dialog and again restore it to its position the dialog under sheet
show only white screen and it refreshed when i move the mouse over the mnimize button
again.

So please help me out.

Thanks.
Vishal

aamer4yu
11th August 2008, 17:19
What do you do on minimize, and restore of the dialog ?

netuno
11th August 2008, 21:22
Trying using qApp->processEvents() after updating the ProgressBar and on show and resize events. This white screen usually means that tha application is busy with a process, and it's other events (like painting) are pending. ProcessEvents forces the app to process all the pending events.

Hope this helps