[Qt-qml] Rotation/RotationAnimation

Alan Alpert alan.alpert at nokia.com
Wed Jul 14 03:45:46 CEST 2010


On Wed, 14 Jul 2010 00:43:37 ext Jason H wrote:
> It looks like at a low level, we can rotate things on X/Y axis as well
> (flips), in addition to z. (flat
> 
> spin) I am trying to figure out how to animate a flip on X or Y axis.
> 
> There is a Rotation element that takes axis { x, y, z} but this seems for
> satic rotations.
> RotationAnimation seems to leave out the axis designation and only do Z
> (spin).
> 
> How can I do X/Y flips in QML?
> 

Have you looked at the Flipable element yet?
http://doc.qt.nokia.com/4.7-snapshot/qml-flipable.html

-- 
Alan Alpert
Software Engineer
Nokia, Qt Development Frameworks



More information about the Qt-qml mailing list