QAccessibleValueChangeEvent Class | Qt GUI 5.12.4

Qt 5.12 | Qt GUI | C++ Classes | QAccessibleValueChangeEvent

Qt 5.12.4 Reference Documentation

# QAccessibleValueChangeEvent Class

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

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

- List of all members, including inherited members

## Public Functions

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

- 5 public functions inherited from QAccessibleEvent

## Protected Variables

QVariant | m_value

## 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().