OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: rafm on December 06, 2004, 04:30:16 am

Title: Qtopia: How To Display "busy" Window
Post by: rafm on December 06, 2004, 04:30:16 am
Some Qtopia applications, when they are busy, show a gray window in the center of the screen with an hourglass and short information, like "Now updating information...".

Is there a class / method in Qtopia API to display such window? Or should I write my own code for that? Openning such window seems to be tricky as QSemiModal is not available in Qt/Embedded.
Title: Qtopia: How To Display "busy" Window
Post by: lpotter on December 06, 2004, 05:04:54 am
use
QCopEnvelope e("QPE/System", "busy()" );
and then
QCopEnvelope e("QPE/System", "notBusy()" );
Title: Qtopia: How To Display "busy" Window
Post by: rafm on December 07, 2004, 04:27:36 am
Quote
use
QCopEnvelope e("QPE/System", "busy()" );
and then
QCopEnvelope e("QPE/System", "notBusy()" );
QCopEnvelope e("QPE/System", "busy()" ) has slightly different behavior: it displays a small hourglass in the task bar.

What I would like to do is to give a distinct feedback to the user that the application has not crashed but is busy with some computation. An hour glass in the task bar is nice for launching applications but is difficult to notice when a lot of other things are happening on the screen.

So my question is what is the best way to show a progress/busy dialog if QProgressDialog is not available in Qt/Embedded?