QAccessibleValueChangeEvent Class
QAccessibleValueChangeEvent 描述了可访问对象的值发生变化。更多内容...
| 头文件: | #include <QAccessibleValueChangeEvent> |
| CMake: | 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()。
© 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.