Registered Member
|
Hello.
I need a widget that's demonstrates the user, that work is in progress. It's about a small GUI for a console programm. The shutdown of this console programm takes about 10-40 sec, and no progress info is avaible. So I want to display a widget with the message "Please wait while shutting down...". As no progress info is avaible, I can't use a normal progress bar. However I want to use something that's moving - to demonstrate to the user that the app isn't frozen. I've seen widgets (for example in firefox), which are like similar to a progress bar, but the blue beam moves continiously from the left to the right and back. Exists such a Qt/KDE4 class? Or exists another solution to this problem? Regards. Tim
Last edited by urwald on Tue Nov 18, 2008 9:17 am, edited 1 time in total.
urwald, proud to be a member of KDE forums since 2008-Oct.
|
Administrator
|
There's something that looks like e.g. Firefox' activity indicator (round thing in the top right corner). Folderview uses it I think. Unfortunately I don't know anything more about it
EDIT: I think the word "widget" confused me. I was sure that you were talking about a plasmoid! Guess it's time for me to go to sleep...
Last edited by Hans on Tue Nov 18, 2008 1:02 am, edited 1 time in total.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Administrator
|
Take a look at http://doc.trolltech.com/4.2/qprogressbar.html#details
It is a normal progressbar but has the advantage of a busy indicator when the time cannot really be determined. |
Registered Member
|
Get problems solved faster - get reply notifications through Jabber!
|
Registered Member
|
Thanks.
I've tried QProgressBar with min/max = 0 and it works great. (I just didn't read this last paragraph in the Qt documentation). EDIT: BTW: I've now found also a special "busy widget" in libplasma: http://api.kde.org/4.x-api/kdelibs-apid ... idget.html
Last edited by urwald on Tue Nov 18, 2008 8:20 am, edited 1 time in total.
urwald, proud to be a member of KDE forums since 2008-Oct.
|
Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]