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] 열거형 QtSvg::Option
플래그 QtSvg::옵션

이 열거형에는 SVG 파일의 구문 분석과 렌더링의 다양한 기능을 활성화 또는 비활성화하는 데 사용할 수 있는 플래그가 있습니다. 여러 플래그를 QFlags 타입의 QtSvg::Options에 결합할 수 있습니다.

Constant설명
QtSvg::NoOption0x00널 값입니다. QtSvg::Options의 기본값입니다.
QtSvg::Tiny12FeaturesOnly0x01SVG 1.2 작은 정적 기능 세트의 일부인 태그만 엄격하고 독점적으로 구문 분석합니다.
QtSvg::AssumeTrustedSource (since Qt 6.8)0x02리소스 사용 등에 대한 특정 검사 및 제한을 비활성화합니다.

이 열거형은 Qt 6.7에 도입되었습니다.

Options 유형은 QFlags<Option>에 대한 typedef입니다. 옵션 값의 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.