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, DisableSMILAnimations, DisableCSSAnimations, DisableAnimations } |
| flags | Options |
유형 설명서
[since 6.7] enum QtSvg::Option
flags QtSvg::Options
이 열거형은 SVG 파일의 구문 분석 및 렌더링과 관련된 다양한 기능을 활성화하거나 비활성화하는 데 사용할 수 있는 플래그를 포함합니다. 여러 플래그를 결합하여 QtSvg::Options 유형의 QFlags 를 구성할 수 있습니다.
| 상수 | 값 | 설명 |
|---|---|---|
QtSvg::NoOption | 0x00 | null 값입니다. 이는 QtSvg::Options의 기본값입니다. |
QtSvg::Tiny12FeaturesOnly | 0x01 | SVG 1.2 Tiny Static Feature 세트에 포함된 태그만 엄격하고 독점적으로 파싱합니다. |
QtSvg::AssumeTrustedSource (since Qt 6.8) | 0x02 | 리소스 사용 등에 대한 특정 확인 및 제한을 비활성화합니다. |
QtSvg::DisableSMILAnimations (since Qt 6.9) | 0x10 | SMIL 애니메이션을 비활성화합니다. SMIL 애니메이션은 <animateColor>와 같은 요소를 사용하여 정의된 애니메이션입니다. |
QtSvg::DisableCSSAnimations (since Qt 6.9) | 0x20 | <style> 요소 내에서 정의된 CSS 애니메이션을 비활성화합니다. |
QtSvg::DisableAnimations (since Qt 6.9) | 0xf0 | 모든 애니메이션을 비활성화합니다. |
이 열거형은 Qt 6.7에서 도입되었습니다.
Options 유형은 QFlags<Option>에 대한 typedef입니다. 이 유형은 Option 값들의 OR 조합을 저장합니다.
© 2026 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.