class QtSvg

The QtSvg namespace contains types used by the svg classes. More

Added in version 6.7.

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

class Option

(inherits enum.Flag) This enum holds flags that can be used to enable or disable various features of the parsing and rendering of SVG files. Multiple flags can be combined into the QFlags type QtSvg::Options.

Constant

Description

QtSvg.NoOption

The null value. This is the default for QtSvg::Options.

QtSvg.Tiny12FeaturesOnly

Strictly and exclusively parse only tags that are part of the SVG 1.2 Tiny Static Feature set.

QtSvg.AssumeTrustedSource

Disable certain checks and restrictions on resource usage etc.