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

Cornelius Hald hald at icandy.de
Sun Apr 27 11:54:08 CEST 2014


On Sat, 2014-04-26 at 17:03 -0500, Keith Gardner wrote:
> 
> 
> 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. 

Sounds good. Do you know if/how I still can make use of the Path? Is
there a way to use a Path as the input for ordinary Animations?

Thanks!
Conny





More information about the Interest mailing list