blob: bb465df0d80fa25896b5a235ff5144672a820107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
var lab = new QLabel(this);
var splash = new QSplashScreen(this);
var pix = new Pixmap();
pix.resize(128,128);
pix.fill("blue");
splash.setPixmap( pix );
splash.show();
for( var x = 0; x < 1000; ++x)
{
splash.message("Count: " + x);
lab.text = "Count: " + x;
}
lab.show();
splash.finish(lab);
application.exec();
|