QAccessibilityHints Class
QAccessibilityHints 클래스에는 플랫폼별 접근성 힌트와 설정이 포함되어 있습니다. 더 보기...
| 헤더: | #include <QAccessibilityHints> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| 다음부터: | Qt 6.10 |
| 상속: | QObject |
속성
(since 6.10)contrastPreference : Qt::ContrastPreference(since 6.12)motionPreference : Qt::MotionPreference
공개 함수
| Qt::ContrastPreference | contrastPreference() const |
| Qt::MotionPreference | motionPreference() const |
신호
| void | contrastPreferenceChanged(Qt::ContrastPreference contrastPreference) |
| void | motionPreferenceChanged(Qt::MotionPreference motionPreference) |
재구현된 보호된 함수
| virtual bool | event(QEvent *event) override |
상세 설명
이 클래스는 플랫폼별 접근성 설정을 한데 묶어 제공하며, QStyleHints::accessibility 에서 접근할 수 있습니다.
QStyleHints도 참조하십시오 .
속성 문서
[read-only, since 6.10] contrastPreference : Qt::ContrastPreference
이 속성은 시스템에서 설정된 대비 모드를 저장합니다.
응용 프로그램은 이 속성을 사용하여 시스템이 현재 어떤 대비 설정을 사용하고 있는지 확인할 수 있습니다.
Qt 스타일은 팔레트 색상과 윤곽선을 조정하기 위해 이 속성을 사용합니다.
이 열거형은 Qt 6.10에서 도입되었습니다.
액세스 함수:
| Qt::ContrastPreference | contrastPreference() const |
Notifier 신호:
| void | contrastPreferenceChanged(Qt::ContrastPreference contrastPreference) |
Qt::ColorScheme, QGuiApplication::palette() 및 QEvent::PaletteChange도 참조하십시오 .
[read-only, since 6.12] motionPreference : Qt::MotionPreference
이 속성은 시스템에서 설정된 모션 기본 설정을 저장합니다.
애플리케이션은 이 속성을 사용하여 사용자 인터페이스의 애니메이션 효과를 줄여야 하는지 여부를 판단할 수 있습니다. 이 설정을 준수하면 전정 운동 장애를 겪는 사용자들이 애플리케이션을 더 쉽게 이용할 수 있게 될 수 있습니다.
이 열거형은 Qt 6.12에서 도입되었습니다.
액세스 함수:
| Qt::MotionPreference | motionPreference() const |
Notifier 신호:
| void | motionPreferenceChanged(Qt::MotionPreference motionPreference) |
contrastPreference도 참조하십시오 .
멤버 함수 문서
[override virtual protected] bool QAccessibilityHints::event(QEvent *event)
QObject::event(QEvent *e)를 재구현합니다.
© 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.