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
Post a Comment