[PySide] animate QStackedLayout?

Tibold Kandrai kandraitibold at gmail.com
Wed Apr 4 09:29:50 CEST 2012


Hey!

Try QtAnimation:
http://qt-project.org/doc/qt-4.8/animation-overview.html

I use it with in a QGraphicsWidget, but this should work everywhere AFAIR.

Cheers,
Tibold

On 04/04/2012 06:46, Frank Rueter | OHUfx wrote:
> Hi everyone,
>
> I'm very new to Qt/PySide and am wondering if it's possible to add an 
> animation effect to, let's say, QStackedLayout, for when the page 
> changes. I guess it'd something similar to the way the AppStore works.
>
> In this example I'd like to see the new button "push" the old button out 
> of view when the combobox changes:
> http://pastebin.com/i5sFgQzE
>
> I'm happy to take a good ol' fashioned RTFM, I'm just having a hard time 
> finding the right bit of information out there.
>
> Any help would be greatly appreciated.
>
> Cheers,
> frank
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside

-- 
Tibold Kandrai,
CEO @ Dotz Team I/S,
Software developer, consultant


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 552 bytes
Desc: OpenPGP digital signature
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120404/612e5637/attachment.sig>


More information about the PySide mailing list