W3cubDocs

/Qt 5.11

QAccessibleValueChangeEvent Class

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

Header: #include <QAccessibleValueChangeEvent>
qmake: QT += gui
Inherits: QAccessibleEvent

Public Functions

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

Detailed Description

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

It contains the new value.

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

Member Function Documentation

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

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

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

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

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-5/qaccessiblevaluechangeevent.html