Results 1 to 3 of 3

Thread: Screen get white on minimize?

  1. #1
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Screen get white on minimize?

    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

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Screen get white on minimize?

    What do you do on minimize, and restore of the dialog ?

  3. #3
    Join Date
    Aug 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Screen get white on minimize?

    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

Similar Threads

  1. Setting manually cursor position on multi screen systems
    By irreriwan in forum Qt Programming
    Replies: 0
    Last Post: 4th March 2008, 09:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.