QAccessibleValueChangeEvent Class

The QAccessibleValueChangeEvent describes a change in value for an accessible object. More...

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

Public Functions

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

Detailed Description

It contains the new value.

This class is used with QAccessible::updateAccessibility().

Member Function Documentation

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

Constructs a new QAccessibleValueChangeEvent for iface. The event contains the new value val.

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

Constructs a new QAccessibleValueChangeEvent for object. The event contains the new value.

void QAccessibleValueChangeEvent::setValue(const QVariant &value)

Sets the new value for this event.

See also value().

QVariant QAccessibleValueChangeEvent::value() const

Returns the new value of the accessible object of this event.

See also setValue().

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qaccessiblevaluechangeevent.html