c++ - How to add a gif image in the statusbar Qt -


i'm pretty new qt , told can add gif image status bar using qmovie class. can tell how can done , there other way too?

you can add qlabel, qmovie in it.

qlabel label; qmovie *movie = new qmovie("animations/fire.gif");  label.setmovie(movie); movie->start(); 

you can add label using qstatusbar::addwidget() so:

statusbar()->addwidget(&label); 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -