Dimitri Frederickx wrote: > Hi, > > I'm creating a QGraphicsSvgItem to display an svg file with > animations. When I open the item, the animation automatically starts. > > Is there a way to stop the animation and start it back? And is there a > method for resetting the animation (to the first frame)?
Hi Dimitri, You can access the item's svg renderer using QGraphicsSvgItem::renderer(). Using the renderer you can setCurrentFrame() which should give you what you want. best regards, Gunnar _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
