Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qandroidplatformaccessibility.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
7
13
16
18{
19 if (!isActive() || event == nullptr || !event->accessibleInterface())
20 return;
21
22 // We do not need implementation of all events, as current statues are polled
23 // by QtAccessibilityDelegate.java on every accessibility interaction.
24 // Currently we only send notification about the element's position change,
25 // so that the element can be moved on the screen if it's focused.
26
27 if (event->type() == QAccessible::LocationChanged) {
29 } else if (event->type() == QAccessible::ObjectHide) {
31 } else if (event->type() == QAccessible::ObjectShow) {
33 } else if (event->type() == QAccessible::Focus) {
35 } else if (event->type() == QAccessible::ValueChanged) {
37 } else if (event->type() == QAccessible::ScrollingEnd) {
39 }
40}
41
47
bool isActive
void notifyAccessibilityUpdate(QAccessibleEvent *event) override
\inmodule QtCore
Definition qobject.h:103
Combined button and popup list for selecting options.
void notifyObjectShow(uint accessibilityObjectId)
void notifyLocationChange(uint accessibilityObjectId)
void notifyObjectFocus(uint accessibilityObjectId)
void createAccessibilityContextObject(QObject *parent)
void notifyObjectHide(uint accessibilityObjectId)
void notifyValueChanged(uint accessibilityObjectId)
void notifyScrolledEvent(uint accessiblityObjectId)
struct _cl_event * event
GLhandleARB obj
[2]