En esta página

QAccessibleValueChangeEvent Class

El evento QAccessibleValueChangeEvent describe un cambio en el valor de un objeto accesible. Más información...

Encabezado: #include <QAccessibleValueChangeEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Heredado de: QAccessibleEvent

Funciones públicas

QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val)
QAccessibleValueChangeEvent(QObject *object, const QVariant &value)
void setValue(const QVariant &value)
QVariant value() const

Descripción detallada

Contiene el nuevo valor.

Esta clase se utiliza con el método ` QAccessible::updateAccessibility()`.

Documentación de las funciones de miembro

QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val)

Crea un nuevo objeto `QAccessibleValueChangeEvent` para ` iface`. El evento contiene el nuevo valor ` val`.

QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *object, const QVariant &value)

Crea un nuevo objeto `QAccessibleValueChangeEvent` para ` object`. El evento contiene el nuevo objeto ` value`.

void QAccessibleValueChangeEvent::setValue(const QVariant &value)

Establece el nuevo ` value ` para este evento.

Véase también value().

QVariant QAccessibleValueChangeEvent::value() const

Devuelve el nuevo valor del objeto accesible de este evento.

Véase también setValue().

© 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.