QAccessibleBridge Class
The QAccessibleBridge class is the base class for accessibility back-ends. \internal
. More...
Header: | #include <QAccessibleBridge> |
Public Functions
virtual | ~QAccessibleBridge() |
virtual void | notifyAccessibilityUpdate(QAccessibleEvent *event) = 0 |
virtual void | setRootObject(QAccessibleInterface *object) = 0 |
Detailed Description
\ingroup
accessibility \inmodule
QtWidgets
Qt supports Microsoft Active Accessibility (MSAA), macOS Accessibility, and the Unix/X11 AT-SPI standard. By subclassing QAccessibleBridge, you can support other backends than the predefined ones.
Currently, custom bridges are only supported on Unix. We might add support for them on other platforms as well if there is enough demand.
See also QAccessible and QAccessibleBridgePlugin.
Member Function Documentation
[virtual noexcept]
QAccessibleBridge::~QAccessibleBridge()
Destroys the accessibility bridge object.
[pure virtual]
void QAccessibleBridge::notifyAccessibilityUpdate(QAccessibleEvent *event)
This function is called by Qt to notify the bridge about a change in the accessibility information. The event specifies the interface, object, reason and child element that has changed.
See also QAccessible::updateAccessibility().
[pure virtual]
void QAccessibleBridge::setRootObject(QAccessibleInterface *object)
This function is called by Qt at application startup to set the root accessible object of the application to object. All other accessible objects in the application can be reached by the client using object navigation.