QtSvg Namespace

QtSvg 名前空間には、svg クラスで使用される型が含まれています。詳細...

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

タイプ

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

詳細な説明

型の説明

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

この列挙型は、SVG ファイルのパースとレンダリングの様々な機能を有効または無効にするために使用できるフラグを保持します。複数のフラグをQFlags QtSvg::Options 型にまとめることができます。

定数説明
QtSvg::NoOption0x00null 値。これは QtSvg::Options のデフォルトです。
QtSvg::Tiny12FeaturesOnly0x01SVG 1.2 TinyStatic Feature セットの一部であるタグのみを厳密に解析します。
QtSvg::AssumeTrustedSource (since Qt 6.8)0x02特定のチェックやリソース使用などの制限を無効にする。

この列挙型は Qt 6.7 で導入されました。

Options 型はQFlags<Option> の typedef です。Option 値の OR の組み合わせを格納します。

© 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.