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

Cornelius Hald hald at icandy.de
Sat Apr 26 14:05:44 CEST 2014


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

A bit like a wheel of fortune.

Does anyone here knows how to achieve this? Creating a custom sub class
would be fine as well, but it looks like PathView cannot be subclassed
easily because it uses a lot of private headers.

I'd very much appreciate all hints and tips!

Thanks!
Conny





More information about the Interest mailing list