QAccessibilityHints Class
La classe QAccessibilityHints contiene suggerimenti e impostazioni relativi all'accessibilità specifici per ciascuna piattaforma. Maggiori informazioni...
| Intestazione: | #include <QAccessibilityHints> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| A partire da: | Qt 6.10 |
| Eredita da: | QObject |
Proprietà
(since 6.10)contrastPreference : Qt::ContrastPreference(since 6.12)motionPreference : Qt::MotionPreference
Funzioni pubbliche
| Qt::ContrastPreference | contrastPreference() const |
| Qt::MotionPreference | motionPreference() const |
Segnali
| void | contrastPreferenceChanged(Qt::ContrastPreference contrastPreference) |
| void | motionPreferenceChanged(Qt::MotionPreference motionPreference) |
Funzioni protette reimplementate
| virtual bool | event(QEvent *event) override |
Descrizione dettagliata
Questa classe raggruppa le impostazioni di accessibilità specifiche della piattaforma ed è accessibile dall'interfaccia QStyleHints::accessibility.
Vedi anche QStyleHints.
Documentazione delle proprietà
[read-only, since 6.10] contrastPreference : Qt::ContrastPreference
Questa proprietà contiene la modalità di contrasto impostata dal sistema.
Questa proprietà può essere utilizzata dall'applicazione per determinare quali impostazioni di contrasto il sistema sta attualmente utilizzando.
Gli stili Qt utilizzano questa proprietà per regolare i colori della tavolozza e i contorni.
Questa enumerazione è stata introdotta in Qt 6.10.
Funzioni di accesso:
| Qt::ContrastPreference | contrastPreference() const |
Segnale Notifier:
| void | contrastPreferenceChanged(Qt::ContrastPreference contrastPreference) |
Vedi anche Qt::ColorScheme, QGuiApplication::palette() e QEvent::PaletteChange.
[read-only, since 6.12] motionPreference : Qt::MotionPreference
Questa proprietà contiene la preferenza relativa al movimento impostata dal sistema.
Questa proprietà può essere utilizzata dall'applicazione per determinare se l'interfaccia utente debba presentare un numero ridotto di effetti animati. Il rispetto di questa preferenza può rendere l'applicazione più accessibile a chi soffre di disturbi vestibolari legati al movimento.
Questa enumerazione è stata introdotta in Qt 6.12.
Funzioni di accesso:
| Qt::MotionPreference | motionPreference() const |
Segnale Notifier:
| void | motionPreferenceChanged(Qt::MotionPreference motionPreference) |
Vedi anche contrastPreference.
Documentazione delle funzioni membro
[override virtual protected] bool QAccessibilityHints::event(QEvent *event)
Reimplementa: 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.