summaryrefslogtreecommitdiff
path: root/core/launcher/waitpopup.cpp
authorharlekin <harlekin>2003-03-24 20:51:18 (UTC)
committer harlekin <harlekin>2003-03-24 20:51:18 (UTC)
commit2bf0790dac098fd24a20161f32cd848a87fe56ca (patch) (unidiff)
tree3c39e00d0cc843a28b58e9ab1e96910e2141eca8 /core/launcher/waitpopup.cpp
parent13814875fb747d0081d191cd572a2219b9772c77 (diff)
downloadopie-2bf0790dac098fd24a20161f32cd848a87fe56ca.zip
opie-2bf0790dac098fd24a20161f32cd848a87fe56ca.tar.gz
opie-2bf0790dac098fd24a20161f32cd848a87fe56ca.tar.bz2
preliminary big busy cursor - maybe an animation later
Diffstat (limited to 'core/launcher/waitpopup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/waitpopup.cpp23
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
10WaitPopup::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
22WaitPopup::~WaitPopup() {
23}