[PySide] animate QStackedLayout?
Frank Rueter | OHUfx
frank at ohufx.com
Fri Apr 6 06:05:21 CEST 2012
Thanks again for this tip Tibold. It seems to be what I'm after, though
I just discovered that QAnimationGroup doesn't seem to be supported in
PySide. I got this error when I tried to create an instance of it:
NotImplementedError: 'QAnimationGroup' represents a C++ abstract class
and cannot be instantiated
I will try and add all widgets to one "page" widget (whatever that may
be, I need to find out yet), and then apply the animation to that.
On 4/4/12 7:29 PM, Tibold Kandrai wrote:
> Try QtAnimation:
> I use it with in a QGraphicsWidget, but this should work everywhere AFAIR.
> 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:
>> 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.
>> PySide mailing list
>> PySide at qt-project.org
> PySide mailing list
> PySide at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PySide