Qt C++ make a Label show animated GIF - for something like an ajax-loading icon
Just use a QMovie together with your label… something like this:
in class ctor
iAnimGif = new QMovie(":/images/ajax-loader.gif");
show the animation when needed
ui->connectLoadingLabel->setMovie(iAnimGif); iAnimGif->start();
blog comments powered by Disqus
This ClearEvo.com blog is powered by Debian GNU/Linux, running lighttpd, generated using jekyll on Ubuntu.