blob: e488ab5f450e29e93c2b36a56d9c8bbbff939526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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() {
}
|