En esta página

QAccessibilityHints Class

La clase `QAccessibilityHints` contiene indicaciones y configuraciones de accesibilidad específicas de cada plataforma. Más información...

Encabezado: #include <QAccessibilityHints>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Desde: Qt 6.10
Heredan de: QObject

Propiedades

Funciones públicas

Qt::ContrastPreference contrastPreference() const
Qt::MotionPreference motionPreference() const

Señales

void contrastPreferenceChanged(Qt::ContrastPreference contrastPreference)
void motionPreferenceChanged(Qt::MotionPreference motionPreference)

Funciones protegidas reimplementadas

virtual bool event(QEvent *event) override

Descripción detallada

Esta clase agrupa los ajustes de accesibilidad específicos de cada 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.

La aplicación puede utilizar esta propiedad para determinar qué ajustes de contraste está utilizando actualmente el sistema.

Los estilos de Qt utilizan esta propiedad para ajustar los colores de la paleta y los contornos.

Esta enumeración 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.

[read-only, since 6.12] motionPreference : Qt::MotionPreference

Esta propiedad contiene la preferencia de movimiento establecida por el sistema.

La aplicación puede utilizar esta propiedad para determinar si la interfaz de usuario debe tener menos efectos animados. Respetar esta preferencia puede hacer que la aplicación resulte más accesible para aquellas personas que padecen trastornos del movimiento vestibular.

Esta enumeración se introdujo en Qt 6.12.

Funciones de acceso:

Qt::MotionPreference motionPreference() const

Señal de notificador:

void motionPreferenceChanged(Qt::MotionPreference motionPreference)

Véase también contrastPreference.

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.