On Tue, May 9, 2017 at 4:05 PM Ruchit Bhatt <[email protected]>
wrote:

> How to slide  QStackedWidget page with QEasingCurve ??
> From one page to another with smooth animCurve.
>

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:
http://qt.shoutwiki.com/wiki/Extending_QStackedWidget_for_sliding_page_animations_in_Qt

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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/505ca8f3-6d61-4526-bc35-0d24972feaa4%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/505ca8f3-6d61-4526-bc35-0d24972feaa4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0TTmLxZxSPHGbO2xVqrmu5bwfKmC5nKkPjQR8PgWeAYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to