author | harlekin <harlekin> | 2003-03-24 20:51:18 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-24 20:51:18 (UTC) |
commit | 2bf0790dac098fd24a20161f32cd848a87fe56ca (patch) (side-by-side diff) | |
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 @@ +#include <qlabel.h> +#include <qlayout.h> +#include <qtimer.h> +#include <qmovie.h> + +#include "waitpopup.h" +#include <qpe/resource.h> + + +WaitPopup::WaitPopup(QWidget *parent, const char* msg, bool dispIcon ) + :QDialog(parent, QObject::tr("Wait"), TRUE,WStyle_Customize) { + QHBoxLayout *hbox = new QHBoxLayout( this ); + QLabel *lb; + lb = new QLabel( this ); + //lb->setMovie( QMovie( "./wait.gif" , 200) ); + lb->setPixmap( Resource::loadPixmap( "Clock" ) ); + lb->setBackgroundMode ( NoBackground ); + hbox->addWidget( lb ); + hbox->activate(); +} + +WaitPopup::~WaitPopup() { +} |