You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kdialog/progressdemo

19 lines
452 B

#!/bin/sh
dcopRef=`./kdialog --geometry 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