Details
-
Suggestion
-
Resolution: Out of scope
-
P4: Low
-
4.5.0
-
None
Description
It would be great to have access to the internal structure of a loaded SVG file, to be able to modify some of its attributes (colors, fonts, etc.) dynamically. Currently, the only way to modify a SVG is to keep the XML tree in memory, change the desired attribute and reload it entirely into the QSvgRenderer. A public API which exposes useful parts of the internal structure of a loaded SVG document (QSvgNode, QSvgStyleProperty, etc.) so that it can be changed at run-time. For now, Once a QGraphicsSvgItem (or QSvgRenderer) has been loaded, one can't do anything with it except rendering it.