In questa pagina

QAccessibleValueChangeEvent Class

L'evento QAccessibleValueChangeEvent descrive una modifica del valore di un oggetto accessibile. Maggiori informazioni...

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

Funzioni pubbliche

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

Descrizione dettagliata

Contiene il nuovo valore.

Questa classe viene utilizzata con la funzione ` QAccessible::updateAccessibility()`.

Documentazione delle funzioni membro

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

Crea un nuovo oggetto `QAccessibleValueChangeEvent` per ` iface`. L'evento contiene il nuovo valore ` val`.

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

Crea un nuovo oggetto `QAccessibleValueChangeEvent` per ` object`. L'evento contiene il nuovo oggetto ` value`.

void QAccessibleValueChangeEvent::setValue(const QVariant &value)

Imposta il nuovo oggetto ` value ` per questo evento.

Vedi anche value().

QVariant QAccessibleValueChangeEvent::value() const

Restituisce il nuovo valore dell'oggetto accessibile di questo evento.

Vedi anche 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.