QAccessibilityHints Class
La clase QAccessibilityHints contiene sugerencias y ajustes de accesibilidad específicos de la plataforma. Más...
| Cabecera: | #include <QAccessibilityHints> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui)target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Desde: | Qt 6.10 |
| Hereda: | QObject |
Propiedades
(since 6.10)contrastPreference : Qt::ContrastPreference
Funciones públicas
| Qt::ContrastPreference | contrastPreference() const |
Señales
| void | contrastPreferenceChanged(Qt::ContrastPreference contrastPreference) |
Funciones protegidas reimplementadas
| virtual bool | event(QEvent *event) override |
Descripción detallada
Esta clase agrupa la configuración de accesibilidad específica de la plataforma y se puede acceder a ella desde QStyleHints::accessibility.
Véase también QStyleHints.
Documentación de propiedades
[read-only, since 6.10] contrastPreference : Qt::ContrastPreference
Esta propiedad contiene el modo de contraste establecido por el sistema.
Esta propiedad puede ser utilizada por la aplicación para determinar qué ajustes de contraste está utilizando actualmente el sistema.
Los estilos Qt utilizan esta propiedad para ajustar los colores de la paleta y los contornos.
Esta propiedad se introdujo en Qt 6.10.
Funciones de acceso:
| Qt::ContrastPreference | contrastPreference() const |
Señal de notificador:
| void | contrastPreferenceChanged(Qt::ContrastPreference contrastPreference) |
Véase también Qt::ColorScheme, QGuiApplication::palette(), y QEvent::PaletteChange.
Documentación de funciones miembro
[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.