The default easing curve is always linear. What's important is that QVariantAnimation knows how to interpolate a QPoint.
They don't.I don't see where QAbstractAnimation or its derived classes offer any control over the step size (time increment),
No.Is there a way to specify, f.e. that you want an animation that lasts for 5 seconds, and requires 10 steps?
In that case use a simple QTimer. Alternatively you might implement a custom easing curve but I don't think it is worth it.(I mean, maybe for some silly reason, you might want a jerky animation. Maybe you are trying to simulate an old silent movie).
Bookmarks