summaryrefslogtreecommitdiffstats
path: root/kjsembed/tests/test_splashscreen.js
blob: fe2477b517ae54a7ced34578719f8d9a782ba72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var lab = new TQLabel(this);
var splash = new TQSplashScreen(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();