PDA

View Full Version : spinner (delay) button



addu
13th May 2009, 11:16
Hi

I am communicating with server......

It takes some time to send responce .....That time want to run one spinner .....to show process is going ... like that.....


Please which one i have to use....If anybody provide me a example ...It will better for me


please help me

Thanks

Yuvaraj R

Lykurg
13th May 2009, 12:49
Hey addu,

changed your account from yuvaraj.yadav to addu, because same name, same question style ;)

To your question: See the documentation of QProgressBar and QProgressDialog. There are also examples.

addu
13th May 2009, 16:17
But I would kije to set as loading animation gif format image ... instead of progress bar....



Is it same as setting images for label ?

I set like this , but image is not animating...

Lykurg
13th May 2009, 16:39
As I remember, QLabel doesn't support animated Gifs. You have to use QMovie I think... try the forums search for "animated gif"

QLabel label;
QMovie *movie = new QMovie("animated.gif");
label.setMovie(movie);
movie->start();