Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3798

Public access to the internal structure (attributes, styles) of QGraphicsSvgItem

    XMLWordPrintable

Details

    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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ylopes Yoann Lopes
            admin Administrator
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes