QStackedWidget doesn't animated when it changes pages. It just changes the visible widget to be the current page.
In order to visually animate a page slide, you would have to have a widget that changes property values over time, via QPropertyAnimation, which can accept QEasingCurve as an option. A quick search shows some examples of what it would take to extend QStackedWidget to support animation between the current widget changes:
QML may have a lot more animation options out-of-the-box since it was initially catering to mobile/kiosk kinds of applications.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/505ca8f3-6d61-4526-bc35-0d24972feaa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.