[PyQt] Creating QSplashScreen with a .gif animation

Itay Brandes akari.il at gmail.com
Fri Jul 20 13:28:49 BST 2012


Then what's the right approach to the solution?

On Fri, Jul 20, 2012 at 3:15 PM, Hans-Peter Jansen <hpj at urpla.net> wrote:

> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120720/e06fdc59/attachment-0001.html>


More information about the PyQt mailing list