[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KStatusBar only show once the widgets and text.
From: Guillaume Laurent <glaurent () telegraph-road ! org>
Date: 2005-12-11 11:14:31
Message-ID: 200512111214.31083.glaurent () telegraph-road ! org
[Download RAW message or body]
On Sunday 11 December 2005 09:22, Thomas Baumgart wrote:
>
> You might want to call "qApp->processEvents()" while processing to force an
> update of the screen. At least, that is what we do in KMyMoney and it
> works for us.
This has the drawback that user events (keypresses and mouse clicks) will
*also* be processed, which may not be what you want during a long operation,
depending on how you display that state. If you pop up a modal dialog with a
'cancel' button, then yes, QApplication::processEvents() is the right thing
to do. Otherwise, it's preferable to use
QEventLoop::processEvent(QEventLoop::ExcludeUserInput |
QEventLoop::ExcludeSocketNotifiers,
maxTime);
--
Guillaume.
http://www.telegraph-road.org
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic