Nesta página

QAccessibleValueChangeEvent Class

O QAccessibleValueChangeEvent descreve uma alteração no valor de um objeto acessível. Mais...

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

Funções públicas

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

Descrição detalhada

Contém o novo valor.

Esta classe é usada com o método ` QAccessible::updateAccessibility()`.

Documentação da função de membro

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

Cria um novo objeto `QAccessibleValueChangeEvent` para ` iface`. O evento contém o novo valor ` val`.

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

Cria um novo `QAccessibleValueChangeEvent` para ` object`. O evento contém o novo ` value`.

void QAccessibleValueChangeEvent::setValue(const QVariant &value)

Define o novo ` value ` para este evento.

Veja também value().

QVariant QAccessibleValueChangeEvent::value() const

Retorna o novo valor do objeto acessível deste evento.

Veja também 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.