QtSvg Namespace

Der QtSvg-Namensraum enthält Typen, die von den svg-Klassen verwendet werden. Mehr...

Kopfzeile: #include <QtSvg>
CMake: find_package(Qt6 REQUIRED COMPONENTS Svg)
target_link_libraries(mytarget PRIVATE Qt6::Svg)
qmake: QT += svg

Typen

(since 6.7) enum Option { NoOption, Tiny12FeaturesOnly, AssumeTrustedSource }
flags Options

Detaillierte Beschreibung

Typ Dokumentation

[since 6.7] enum QtSvg::Option
flags QtSvg::Optionen

Diese Aufzählung enthält Flags, die verwendet werden können, um verschiedene Funktionen des Parsens und Renderns von SVG-Dateien zu aktivieren oder zu deaktivieren. Mehrere Flags können in dem QFlags Typ QtSvg::Options kombiniert werden.

KonstanteWertBeschreibung
QtSvg::NoOption0x00Der Nullwert. Dies ist der Standardwert für QtSvg::Options.
QtSvg::Tiny12FeaturesOnly0x01Analysiert ausschließlich Tags, die Teil des SVG 1.2 Tiny Static Feature Sets sind.
QtSvg::AssumeTrustedSource (since Qt 6.8)0x02Deaktivieren Sie bestimmte Prüfungen und Beschränkungen der Ressourcennutzung usw.

Dieses Enum wurde in Qt 6.7 eingeführt.

Der Options-Typ ist ein Typedef für QFlags<Option>. Er speichert eine OR-Kombination von Optionswerten.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.