author | harlekin <harlekin> | 2003-03-24 20:51:18 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-24 20:51:18 (UTC) |
commit | 2bf0790dac098fd24a20161f32cd848a87fe56ca (patch) (unidiff) | |
tree | 3c39e00d0cc843a28b58e9ab1e96910e2141eca8 /core/launcher/waitpopup.cpp | |
parent | 13814875fb747d0081d191cd572a2219b9772c77 (diff) | |
download | opie-2bf0790dac098fd24a20161f32cd848a87fe56ca.zip opie-2bf0790dac098fd24a20161f32cd848a87fe56ca.tar.gz opie-2bf0790dac098fd24a20161f32cd848a87fe56ca.tar.bz2 |
preliminary big busy cursor - maybe an animation later
-rw-r--r-- | core/launcher/waitpopup.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/core/launcher/waitpopup.cpp b/core/launcher/waitpopup.cpp new file mode 100644 index 0000000..e488ab5 --- a/dev/null +++ b/core/launcher/waitpopup.cpp | |||
@@ -0,0 +1,23 @@ | |||
1 | #include <qlabel.h> | ||
2 | #include <qlayout.h> | ||
3 | #include <qtimer.h> | ||
4 | #include <qmovie.h> | ||
5 | |||
6 | #include "waitpopup.h" | ||
7 | #include <qpe/resource.h> | ||
8 | |||
9 | |||
10 | WaitPopup::WaitPopup(QWidget *parent, const char* msg, bool dispIcon ) | ||
11 | :QDialog(parent, QObject::tr("Wait"), TRUE,WStyle_Customize) { | ||
12 | QHBoxLayout *hbox = new QHBoxLayout( this ); | ||
13 | QLabel *lb; | ||
14 | lb = new QLabel( this ); | ||
15 | //lb->setMovie( QMovie( "./wait.gif" , 200) ); | ||
16 | lb->setPixmap( Resource::loadPixmap( "Clock" ) ); | ||
17 | lb->setBackgroundMode ( NoBackground ); | ||
18 | hbox->addWidget( lb ); | ||
19 | hbox->activate(); | ||
20 | } | ||
21 | |||
22 | WaitPopup::~WaitPopup() { | ||
23 | } | ||