is it possible to deactivate the interpolation of the QGraphicsItemAnimation? i need a rectangle to "jump" between two positions, but i cannot use a QTimer due to the construction of the other classes, so the only thing that seems to work is an animation.
Asked
Active
Viewed 150 times
0
-
That class is deprecated... are you stuck on Qt 4.2 for some reason? – Alex Reinking Dec 25 '13 at 06:52
1 Answers
0
i got the idea of using this class from here: Smooth animations with QGraphicsScene
now that i know it is deprecated i figured using QPropertyAnimation combined with QSequentialAnimationGroup is doing the trick. by using animation duration of 0 and adding pause to the animation group i get a "jump"

Community
- 1
- 1

kuraimegami
- 43
- 3