[Qt-interest] QTimeLine from 0 to 100, to -100 and back to 0 ?

Oliver Demetz forenbeitraege at oliverdemetz.de
Fri Aug 21 10:02:23 CEST 2009


Hi!

QTimeLine seems to perfectly suited for the animation I want to realize, 
but I just see a way to go elegantly "in one direction".

I want to drive my animation first from state 0 to 100 - this should be 
no problem. Then I would like to automatically drive the way down to 
-100, and then back to the original state 0.

So something like a complete sine period (2 PI) would be what I like. 
Note that it would alos be fine to have linear trajectories, the sine 
shape is not a must.

Hope you can help me,

thanks a lot in advance,
Olli



More information about the Qt-interest-old mailing list