mvbhavsar
30th August 2011, 05:45
I am working on program where some animation is required.
I am able to do QPropertyAnimation to QGraphicsTextItem but not other items like QGraphicsRectItem. This has forced me to create a QGraphicsObject class and override it's paint method. But now the question is now I am not able to use directly QGraphicsRectItem in my code. Any suggession how to animate QGraphicsRectItem using QPropertyAnimation.
Thanks
Manish
I am able to do QPropertyAnimation to QGraphicsTextItem but not other items like QGraphicsRectItem. This has forced me to create a QGraphicsObject class and override it's paint method. But now the question is now I am not able to use directly QGraphicsRectItem in my code. Any suggession how to animate QGraphicsRectItem using QPropertyAnimation.
Thanks
Manish