QAccessibleValueChangeEvent Class
QAccessibleValueChangeEvent 事件描述了可访问对象的值变化。更多
头文件: | #include <QAccessibleValueChangeEvent> |
CMake.QAccessibleValueChangeEvent | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
继承: | QAccessibleEvent |
- 所有成员(包括继承成员)的列表
- QAccessibleValueChangeEvent 属于辅助功能类。
公共函数
QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val) | |
QAccessibleValueChangeEvent(QObject *object, const QVariant &value) | |
void | setValue(const QVariant &value) |
QVariant | value() const |
成员函数文档
QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface *iface, const QVariant &val)
为iface 构建一个新的 QAccessibleValueChangeEvent。该事件包含新值val 。
QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject *object, const QVariant &value)
为object 构建一个新的 QAccessibleValueChangeEvent。该事件包含新的value 。
void QAccessibleValueChangeEvent::setValue(const QVariant &value)
为该事件设置新的value 。
另请参阅 value().
QVariant QAccessibleValueChangeEvent::value() const
返回此事件的可访问对象的新值。
另请参阅 setValue().
© 2025 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.