summaryrefslogtreecommitdiff
path: root/core/launcher/waitpopup.cpp
Side-by-side diff
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 @@
+#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() {
+}