PDA

View Full Version : it's hard to animate item



ensky_cy
8th December 2009, 02:21
somebody can tell me,it's hard to animate item?Don't like widget,widget is easy,and can achieve good effects.Beyond the QGraphicsItemAnimation,there is limited function for item.

aamer4yu
8th December 2009, 05:09
What kind of animation are you looking for ?
There are so many examples in Qt Demos...and also from 4.6 you have QGraphicsEffect class...

ensky_cy
8th December 2009, 05:27
What kind of animation are you looking for ?
There are so many examples in Qt Demos...and also from 4.6 you have QGraphicsEffect class...

Thank you!May be I should use 4.6, I use 4.5 now

aamer4yu
8th December 2009, 10:49
Its good if you start using 4.6 ,, many new features
But with 4.5 also you can do animations,, only thing is 4.6 has animation framework, so you wont have to code much.. Qt does it for u :)

ensky_cy
8th December 2009, 11:21
Its good if you start using 4.6 ,, many new features
But with 4.5 also you can do animations,, only thing is 4.6 has animation framework, so you wont have to code much.. Qt does it for u :)

so interesting,animation framework,it's new for me!May be need someone can tell me how to use it.

Lykurg
8th December 2009, 13:23
so interesting,animation framework,it's new for me!May be need someone can tell me how to use it.
It's all in the docs: QPropertyAnimation (http://doc.trolltech.com/4.6/qpropertyanimation.html) or read the introduction: http://doc.trolltech.com/4.6/animation-overview.html