Qt Quick 예제 - 접근성
이 예는 접근성 버튼의 구현을 보여줍니다.
접근성에서는 접근성 시스템을 위한 메타 데이터로 보강된 QML 유형을 보여줍니다. 자세한 내용은 접근성 페이지를 참조하세요.
예제 실행하기
에서 예제를 실행하려면 Qt Creator에서 Welcome 모드를 열고 Examples 에서 예제를 선택합니다. 자세한 내용은 예제 빌드 및 실행하기를 참조하세요.
접근성 버튼 구현하기
버튼은 접근성 시스템에서 자신과 해당 기능을 식별합니다:
Accessible.name: text Accessible.description: "This button does " + text Accessible.role: Accessible.Button Accessible.onPressAction: { button.clicked() }
마찬가지로 예제 내의 Text 유형도 자신을 식별합니다:
Accessible.role: Accessible.StaticText Accessible.name: text
© 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.