[PyQt] Creating QSplashScreen with a .gif animation
Hans-Peter Jansen
hpj at urpla.net
Fri Jul 20 13:15:45 BST 2012
Am Friday 20 July 2012 13:55:20 schrieb Itay Brandes:
> Here they are.
> As you can see, only the first frame is shown, and the others won't
> get painted.
That's for sure, since you're using a QPixmap to display the gif.
That guy did his own QSplashScreen class, where he loads the gif with
QMovie, but that approach might lack, too, since QMovie needs the event
loop running, which is usually not the case during initialization.
Oh well.
Pete
> Thanks.
>
> On Fri, Jul 20, 2012 at 10:52 AM, Hans-Peter Jansen <hpj at urpla.net>
wrote:
> > Am Thursday 19 July 2012 19:46:39 schrieb Itay Brandes:
> > > Hey,
> > > QtGui.QSplashScreen allows to use a static image source for the
> > > splash screen, but does not support .gif animations.
> > >
> > > How can I bind a QtGui.QMovie to the QtGui.QSplashScreen?
> > > There are many snap-ins in C++, like
> > > this<http://www.qtcentre.org/threads/18747-QSplashScreen-loading-
> > >icon ?p=92814#post92814>, but I'm unfimiliar with them, and fail
> > > to convert them to python correctly.
> >
> > Seems pretty straight forward. Start over and post your stub
> > (including a link to the animated gif..).
> >
> > Pete
> > _______________________________________________
> > PyQt mailing list PyQt at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list