summaryrefslogtreecommitdiffstats
path: root/kdialog/progressdemo
blob: 6c2ac6afb5c26573d607e6fb375a9dfbf7d80526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
dcopRef=`./kdialog --tqgeometry 300x200+100-100 --progressbar "Initialising" 6`
dcop $dcopRef setProgress 1
dcop $dcopRef setLabel "Thinking really hard"
sleep 2
dcop $dcopRef setProgress 2
sleep 2
dcop $dcopRef setLabel "Thinking some more"
dcop $dcopRef setProgress 3
sleep 2
dcop $dcopRef setProgress 4
sleep 2
dcop $dcopRef setLabel "Finishing up"
dcop $dcopRef setProgress 5
sleep 1
dcop $dcopRef setProgress 6
sleep 1
dcop $dcopRef close