Author Topic: Qtopia: How To Display "busy" Window  (Read 3432 times)

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Qtopia: How To Display "busy" Window
« 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.
SL-C1000 w/ Cacko ROM 1.23

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Qtopia: How To Display "busy" Window
« Reply #1 on: December 06, 2004, 05:04:54 am »
use
QCopEnvelope e("QPE/System", "busy()" );
and then
QCopEnvelope e("QPE/System", "notBusy()" );
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Qtopia: How To Display "busy" Window
« Reply #2 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?
SL-C1000 w/ Cacko ROM 1.23