[Interest] QML/Quick PathView with custom animation without user interaction

Keith Gardner kreios4004 at gmail.com
Sun Apr 27 00:03:17 CEST 2014


On Saturday, April 26, 2014, Cornelius Hald <hald at icandy.de> wrote:

> Hi,
>
> I'm looking for a way to define an animation on PathView that should run
> without user interaction.
>
> Setting the 'currentIndex' property gives a rather boring animation that
> simply accelerates, decelerates and stops at the selected index.
>
> I'd like to have something like:
> - accelerate
> - spin around the path for 20s
> - decelerate
> - stop at selected index with some bounce easing
>

Try a SequentianAnimation with the sub animations you listed. That will
allow the next animation to start after the previous one has finished.
 Then you need to trigger the SequentialAnimation at the proper time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140426/f99e08b1/attachment.html>


More information about the Interest mailing list