[Qt-interest] Exposing SVG structure in QGraphicsSvgItem

Laurent Gomila laurent.gom at gmail.com
Mon Feb 16 14:44:55 CET 2009


Hi

I have a question regarding the way QGraphicsSvgItem is handled. After
loading it from a SVG file, there's no way to access its internal
structure (attributes, shapes, transformations, ...), all we can do is
render it. After looking at the source code, I've seen that the SVG
structure is stored internally in a clean tree (made of QSvgNode), so
I was wondering: is there any reason not to expose it in the public
API? If not, any plan to add it in a future release of Qt?

I'm asking this because I'm using SVG for the skinning system of my
widgets, and having the ability to customize a shape after loading it
from a SVG file would be really great.

Thanks in advance.



More information about the Qt-interest-old mailing list