开发者

Qt QGraphicsItem move animation

开发者 https://www.devze.com 2023-03-16 18:37 出处:网络
I\'d like to now how should I code \"move animation\" on QGraphicsItem. Something similar to moveBy(qreal, qreal) but not inst开发者_如何转开发ant. Should I look for it in QtAnimation Framework?Use a

I'd like to now how should I code "move animation" on QGraphicsItem. Something similar to moveBy(qreal, qreal) but not inst开发者_如何转开发ant. Should I look for it in QtAnimation Framework?


Use a QPropertyAnimation. For some example code, see Animating graphics item position

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号