사용 사례 - 스타일 및 테마 지원
QML을 사용한 스타일링에는 시각적 유형을 만들고 이를 속성에 바인딩하거나 속성에 직접 값을 할당하는 방법이 포함됩니다. Qt Quick 의 델리게이트를 통합하는 유형의 경우 시각적 유형이 델리게이트 속성에 첨부됩니다.
시스템 팔레트에 액세스하기
SystemPalette 유형은 시스템의 팔레트 정보에 대한 정보를 제공합니다. QML 애플리케이션은 이 정보를 사용하여 기본 모양과 느낌에 맞게 시각적 유형의 모양을 설정할 수 있습니다. 또한 데스크톱 플랫폼에서는 애플리케이션이 키보드 초점을 잃을 때와 같이 상태를 변경할 때 다른 색상표가 사용됩니다.
컨트롤을 사용할 때는 이미 시스템 색상이 사용됩니다.
© 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.