Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtAccessibilityDelegate.java
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
5package org.qtproject.qt.android;
6
7import android.graphics.Rect;
8import android.os.Build;
9import android.os.Bundle;
10import android.system.Os;
11import android.text.SpannableString;
12import android.text.Spanned;
13import android.text.style.LocaleSpan;
14import android.text.TextUtils;
15import android.util.Log;
16import android.view.MotionEvent;
17import android.view.View;
18import android.view.ViewGroup;
19import android.view.ViewParent;
20import android.view.accessibility.AccessibilityEvent;
21import android.view.accessibility.AccessibilityManager;
22import android.view.accessibility.AccessibilityNodeInfo;
23import android.view.accessibility.AccessibilityNodeInfo.CollectionInfo;
24import android.view.accessibility.AccessibilityNodeProvider;
25import java.util.Locale;
26
27class QtAccessibilityDelegate extends View.AccessibilityDelegate
28{
29 private static final String TAG = "Qt A11Y";
30
31 // Qt uses the upper half of the unsigned integers
32 // all low positive ints should be fine.
33 static final int INVALID_ID = 333; // half evil
34
35 private View m_view = null;
36 private AccessibilityManager m_manager;
37 private QtLayout m_layout;
38
39 // The accessible object that currently has the "accessibility focus"
40 // usually indicated by a yellow rectangle on screen.
41 private int m_focusedVirtualViewId = INVALID_ID;
42 // When exploring the screen by touch, the item "hovered" by the finger.
43 private int m_hoveredVirtualViewId = INVALID_ID;
44
45 // Cache coordinates of the view to know the global offset
46 // this is because the Android platform window does not take
47 // the offset of the view on screen into account (eg status bar on top)
48 private final int[] m_globalOffset = new int[2];
49 private int m_oldOffsetX = 0;
50 private int m_oldOffsetY = 0;
51
52 private class HoverEventListener implements View.OnHoverListener
53 {
55 public boolean onHover(View v, MotionEvent event)
56 {
57 return dispatchHoverEvent(event);
58 }
59 }
60 // TODO do we want to have one QtAccessibilityDelegate for the whole app (QtRootLayout) or
61 // e.g. one per window?
62 // FIXME make QtAccessibilityDelegate window based or verify current way works
63 // also for child windows: QTBUG-120685
64 QtAccessibilityDelegate() { }
65
66 void initLayoutAccessibility(QtLayout layout)
67 {
68 if (layout == null) {
69 Log.w(TAG, "Unable to initialize the accessibility delegate with a null layout");
70 return;
71 }
72
73 m_layout = layout;
74
75 m_manager = m_layout.getContext().getSystemService(AccessibilityManager.class);
76 if (m_manager != null) {
77 AccessibilityManagerListener accServiceListener = new AccessibilityManagerListener();
78 if (!m_manager.addAccessibilityStateChangeListener(accServiceListener))
79 Log.w("Qt A11y", "Could not register a11y state change listener");
80 if (m_manager.isEnabled())
81 accServiceListener.onAccessibilityStateChanged(true);
82 }
83 }
84
85 private class AccessibilityManagerListener
86 implements AccessibilityManager.AccessibilityStateChangeListener
87 {
89 public void onAccessibilityStateChanged(boolean enabled)
90 {
91 if (m_layout == null)
92 return;
93
94 final String isA11yOff = Os.getenv("QT_ANDROID_DISABLE_ACCESSIBILITY");
95 if (isA11yOff != null && (isA11yOff.equalsIgnoreCase("true") || isA11yOff.equals("1")))
96 return;
97
98 if (!enabled) {
99 if (m_view != null) {
100 m_layout.removeView(m_view);
101 m_view = null;
102 }
103 QtNativeAccessibility.setActive(enabled);
104 return;
105 }
106
107 try {
108 View view = m_view;
109 if (view == null) {
110 view = new View(m_layout.getContext());
111 view.setId(View.NO_ID);
112 }
113
114 // ### Keep this for debugging for a while. It allows us to visually see that our View
115 // ### is on top of the surface(s)
116 //noinspection CommentedOutCode
117 {
118 // ColorDrawable color = new ColorDrawable(0x80ff8080); //0xAARRGGBB
119 // view.setBackground(color);
120 }
121 view.setAccessibilityDelegate(QtAccessibilityDelegate.this);
122
123 // if all is fine, add it to the layout
124 if (m_view == null) {
125 //m_layout.addAccessibilityView(view);
126 m_layout.addView(view, m_layout.getChildCount(),
127 new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
128 ViewGroup.LayoutParams.MATCH_PARENT));
129 }
130 m_view = view;
131
132 m_view.setOnHoverListener(new HoverEventListener());
133 } catch (Exception e) {
134 // Unknown exception means something went wrong.
135 Log.w("Qt A11y", "Unknown exception: " + e);
136 }
137
138 QtNativeAccessibility.setActive(enabled);
139 }
140 }
141
142 @Override
143 public AccessibilityNodeProvider getAccessibilityNodeProvider(View host)
144 {
145 return m_nodeProvider;
146 }
147
148 // For "explore by touch" we need all movement events here first
149 // (user moves finger over screen to discover items on screen).
150 private boolean dispatchHoverEvent(MotionEvent event)
151 {
152 if (m_manager == null || !m_manager.isTouchExplorationEnabled()) {
153 return false;
154 }
155
156 int virtualViewId = QtNativeAccessibility.hitTest(event.getX(), event.getY());
157 if (virtualViewId == INVALID_ID) {
158 virtualViewId = View.NO_ID;
159 }
160
161 switch (event.getAction()) {
162 case MotionEvent.ACTION_HOVER_ENTER:
163 case MotionEvent.ACTION_HOVER_MOVE:
164 case MotionEvent.ACTION_HOVER_EXIT:
165 setHoveredVirtualViewId(virtualViewId);
166 break;
167 }
168
169 return true;
170 }
171
172 SpannableString addLocaleSpan(int viewId, String value)
173 {
174 SpannableString localeValue = new SpannableString(value);
175 LocaleSpan localeSpan =
176 new LocaleSpan(Locale.forLanguageTag(QtNativeAccessibility.languageTag(viewId)));
177 localeValue.setSpan(localeSpan, 0, localeValue.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
178 return localeValue;
179 }
180
181 void notifyScrolledEvent(int viewId)
182 {
183 QtNative.runAction(() -> sendEventForVirtualViewId(viewId,
184 AccessibilityEvent.TYPE_VIEW_SCROLLED));
185 }
186
187 void notifyLocationChange(int viewId)
188 {
189 QtNative.runAction(() -> {
190 if (m_focusedVirtualViewId == viewId)
191 invalidateVirtualViewId(m_focusedVirtualViewId);
192 });
193 }
194
195 void notifyObjectHide(int viewId, int parentId)
196 {
197 QtNative.runAction(() -> {
198 // If the object had accessibility focus, we need to clear it.
199 // Note: This code is mostly copied from
200 // AccessibilityNodeProvider::performAction, but we remove the
201 // focus only if the focused view id matches the one that was hidden.
202 if (m_view != null && m_focusedVirtualViewId == viewId) {
203 m_focusedVirtualViewId = INVALID_ID;
204 m_view.invalidate();
205 sendEventForVirtualViewId(viewId,
206 AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED);
207 }
208 // When the object is hidden, we need to notify its parent about
209 // content change, not the hidden object itself
210 invalidateVirtualViewId(parentId);
211 });
212 }
213
214 void notifyObjectShow(int parentId)
215 {
216 QtNative.runAction(() -> {
217 // When the object is shown, we need to notify its parent about
218 // content change, not the shown object itself
219 invalidateVirtualViewId(parentId);
220 });
221 }
222
223 void notifyObjectFocus(int viewId)
224 {
225 QtNative.runAction(() -> {
226 if (m_view == null)
227 return;
228 m_focusedVirtualViewId = viewId;
229 m_view.invalidate();
230 sendEventForVirtualViewId(viewId,
231 AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED);
232 });
233 }
234
235 void notifyValueChanged(int viewId, String value)
236 {
237 if (m_manager == null)
238 return;
239
240 QtNative.runAction(() -> {
241 if (m_view == null)
242 return;
243
244 // Send a TYPE_ANNOUNCEMENT event with the new value
245
246 if ((viewId == INVALID_ID) || !m_manager.isEnabled()) {
247 Log.w(TAG, "notifyValueChanged() for invalid view");
248 return;
249 }
250
251 final ViewGroup group = (ViewGroup) m_view.getParent();
252 if (group == null) {
253 Log.w(TAG, "Could not announce value because ViewGroup was null.");
254 return;
255 }
256
257 final CharSequence className = getNodeForVirtualViewId(viewId).getClassName();
258 final int eventType =
259 className != null && className.equals("android.widget.ProgressBar")
260 ? AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED
261 : AccessibilityEvent.TYPE_ANNOUNCEMENT;
262 final AccessibilityEvent event = obtainAccessibilityEvent(eventType);
263
264 event.setEnabled(true);
265 event.setClassName(className);
266 event.setContentDescription(addLocaleSpan(viewId, value));
267
268 if (event.getText().isEmpty() && TextUtils.isEmpty(event.getContentDescription())) {
269 Log.w(TAG, "No value to announce for " + event.getClassName());
270 return;
271 }
272
273 event.setPackageName(m_view.getContext().getPackageName());
274 event.setSource(m_view, viewId);
275
276 if (!group.requestSendAccessibilityEvent(m_view, event))
277 Log.w(TAG, "Failed to send value change announcement for " + event.getClassName());
278 });
279 }
280
281 void notifyDescriptionOrNameChanged(int viewId, String value)
282 {
283 if (viewId == m_focusedVirtualViewId)
284 notifyValueChanged(viewId, value);
285 }
286
287 void notifyAnnouncementEvent(int viewId, String message)
288 {
289 QtNative.runAction(() -> {
290 if (m_view == null)
291 return;
292
293 if (viewId == INVALID_ID) {
294 Log.w(TAG, "notifyAnnouncementEvent() for invalid view");
295 return;
296 }
297
298 if (!m_manager.isEnabled()) {
299 Log.w(TAG, "notifyAnnouncementEvent for disabled AccessibilityManager");
300 return;
301 }
302
303 final AccessibilityEvent event =
304 obtainAccessibilityEvent(AccessibilityEvent.TYPE_ANNOUNCEMENT);
305 event.getText().add(message);
306 event.setClassName(getNodeForVirtualViewId(viewId).getClassName());
307 event.setPackageName(m_view.getContext().getPackageName());
308 sendAccessibilityEvent(event);
309 });
310 }
311
312 void sendEventForVirtualViewId(int virtualViewId, int eventType)
313 {
314 final AccessibilityEvent event = getEventForVirtualViewId(virtualViewId, eventType);
315 sendAccessibilityEvent(event);
316 }
317
318 void sendAccessibilityEvent(AccessibilityEvent event)
319 {
320 if (m_view == null || event == null)
321 return;
322
323 final ViewGroup group = (ViewGroup) m_view.getParent();
324 if (group == null) {
325 Log.w(TAG, "Could not send AccessibilityEvent because group was null. " +
326 "This should really not happen.");
327 return;
328 }
329
330 group.requestSendAccessibilityEvent(m_view, event);
331 }
332
333 void invalidateVirtualViewId(int virtualViewId)
334 {
335 final AccessibilityEvent event = getEventForVirtualViewId(virtualViewId,
336 AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED);
337
338 if (event == null)
339 return;
340
341 event.setContentChangeTypes(AccessibilityEvent.CONTENT_CHANGE_TYPE_SUBTREE);
342 sendAccessibilityEvent(event);
343 }
344
345 private void setHoveredVirtualViewId(int virtualViewId)
346 {
347 if (m_hoveredVirtualViewId == virtualViewId) {
348 return;
349 }
350
351 final int previousVirtualViewId = m_hoveredVirtualViewId;
352 m_hoveredVirtualViewId = virtualViewId;
353 sendEventForVirtualViewId(virtualViewId, AccessibilityEvent.TYPE_VIEW_HOVER_ENTER);
354 sendEventForVirtualViewId(previousVirtualViewId, AccessibilityEvent.TYPE_VIEW_HOVER_EXIT);
355 }
356
357 private AccessibilityEvent getEventForVirtualViewId(int virtualViewId, int eventType)
358 {
359 final boolean isManagerEnabled = m_manager != null && m_manager.isEnabled();
360 if (m_view == null || !isManagerEnabled || (virtualViewId == INVALID_ID)) {
361 Log.w(TAG, "getEventForVirtualViewId for invalid view");
362 return null;
363 }
364
365 if (m_layout == null || m_layout.getChildCount() == 0)
366 return null;
367
368 final AccessibilityEvent event = obtainAccessibilityEvent(eventType);
369
370 event.setEnabled(true);
371 event.setClassName(getNodeForVirtualViewId(virtualViewId).getClassName());
372
373 String description = QtNativeAccessibility.descriptionForAccessibleObject(virtualViewId);
374 event.setContentDescription(addLocaleSpan(virtualViewId, description));
375
376 if (event.getText().isEmpty() && TextUtils.isEmpty(event.getContentDescription()))
377 Log.w(TAG, "AccessibilityEvent with empty description");
378
379 event.setPackageName(m_view.getContext().getPackageName());
380 event.setSource(m_view, virtualViewId);
381 return event;
382 }
383
384 // This can be used for debug by performActionForVirtualViewId()
386 private void dumpNodes(int parentId)
387 {
388 Log.i(TAG, "A11Y hierarchy: " + parentId + " parent: " + QtNativeAccessibility.parentId(parentId));
389 Log.i(TAG, " desc: " + QtNativeAccessibility.descriptionForAccessibleObject(parentId) + " rect: " + QtNativeAccessibility.screenRect(parentId));
390 Log.i(TAG, " NODE: " + getNodeForVirtualViewId(parentId));
391 int[] ids = QtNativeAccessibility.childIdListForAccessibleObject(parentId);
392 for (int id : ids) {
393 Log.i(TAG, parentId + " has child: " + id);
394 dumpNodes(id);
395 }
396 }
397
398 private AccessibilityNodeInfo getNodeForView()
399 {
400 if (m_view == null || m_layout == null)
401 return obtainAccessibilityNodeInfo();
402
403 // Since we don't want the parent to be focusable, but we can't remove
404 // actions from a node, copy over the necessary fields.
405 final AccessibilityNodeInfo result = obtainAccessibilityNodeInfo(m_view);
406 final AccessibilityNodeInfo source = obtainAccessibilityNodeInfo(m_view);
407 m_view.onInitializeAccessibilityNodeInfo(source);
408
409 // Get the actual position on screen, taking the status bar into account.
410 m_view.getLocationOnScreen(m_globalOffset);
411 final int offsetX = m_globalOffset[0];
412 final int offsetY = m_globalOffset[1];
413
414 // Copy over parent and screen bounds.
415 final Rect m_tempParentRect = new Rect();
416 getBoundsInParent(source, m_tempParentRect);
417 setBoundsInParent(result, m_tempParentRect);
418
419 final Rect m_tempScreenRect = new Rect();
420 source.getBoundsInScreen(m_tempScreenRect);
421 m_tempScreenRect.offset(offsetX, offsetY);
422 result.setBoundsInScreen(m_tempScreenRect);
423
424 // Set up the parent view, if applicable.
425 final ViewParent parent = m_view.getParent();
426 if (parent instanceof View) {
427 result.setParent((View) parent);
428 }
429
430 result.setVisibleToUser(source.isVisibleToUser());
431 result.setPackageName(source.getPackageName());
432 result.setClassName(source.getClassName());
433
434 // Spit out the entire hierarchy for debugging purposes
435 // dumpNodes(-1);
436
437 if (m_layout.getChildCount() != 0) {
438 int[] ids = QtNativeAccessibility.childIdListForAccessibleObject(-1);
439 for (int id : ids)
440 result.addChild(m_view, id);
441 }
442
443 // The offset values have changed, so we need to re-focus the
444 // currently focused item, otherwise it will have an incorrect
445 // focus frame
446 if ((m_oldOffsetX != offsetX) || (m_oldOffsetY != offsetY)) {
447 m_oldOffsetX = offsetX;
448 m_oldOffsetY = offsetY;
449 if (m_focusedVirtualViewId != INVALID_ID) {
450 m_nodeProvider.performAction(m_focusedVirtualViewId,
451 AccessibilityNodeInfo.ACTION_CLEAR_ACCESSIBILITY_FOCUS,
452 new Bundle());
453 m_nodeProvider.performAction(m_focusedVirtualViewId,
454 AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS,
455 new Bundle());
456 }
457 }
458
459 return result;
460 }
461
462 private AccessibilityNodeInfo getNodeForVirtualViewId(int virtualViewId)
463 {
464 if (m_view == null || m_layout == null)
465 return obtainAccessibilityNodeInfo();
466
467 final AccessibilityNodeInfo node = obtainAccessibilityNodeInfo();
468
469 node.setPackageName(m_view.getContext().getPackageName());
470
471 if (m_layout.getChildCount() == 0 || !QtNativeAccessibility.populateNode(virtualViewId, node)) {
472 return node;
473 }
474
475 // set only if valid, otherwise we return a node that is invalid and will crash when accessed
476 node.setSource(m_view, virtualViewId);
477 node.setContentDescription(addLocaleSpan(virtualViewId, node.getContentDescription().toString()));
478
479 if (TextUtils.isEmpty(node.getText()) && TextUtils.isEmpty(node.getContentDescription()))
480 Log.w(TAG, "AccessibilityNodeInfo with empty contentDescription: " + virtualViewId);
481
482 int parentId = QtNativeAccessibility.parentId(virtualViewId);
483 node.setParent(m_view, parentId);
484
485 Rect screenRect = QtNativeAccessibility.screenRect(virtualViewId);
486 final int offsetX = m_globalOffset[0];
487 final int offsetY = m_globalOffset[1];
488 screenRect.offset(offsetX, offsetY);
489 node.setBoundsInScreen(screenRect);
490
491 Rect parentScreenRect = QtNativeAccessibility.screenRect(parentId);
492 screenRect.offset(-parentScreenRect.left, -parentScreenRect.top);
493 setBoundsInParent(node, screenRect);
494
495 // Manage internal accessibility focus state.
496 if (m_focusedVirtualViewId == virtualViewId) {
497 node.setAccessibilityFocused(true);
498 node.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_CLEAR_ACCESSIBILITY_FOCUS);
499 } else {
500 node.setAccessibilityFocused(false);
501 node.addAction(AccessibilityNodeInfo.AccessibilityAction.ACTION_ACCESSIBILITY_FOCUS);
502 }
503
504 int[] ids = QtNativeAccessibility.childIdListForAccessibleObject(virtualViewId);
505 for (int id : ids)
506 node.addChild(m_view, id);
507 if (node.isScrollable()) {
508 setCollectionInfo(node, ids.length, 1, false);
509 }
510
511 return node;
512 }
513
514 private final AccessibilityNodeProvider m_nodeProvider = new AccessibilityNodeProvider()
515 {
516 @Override
517 public AccessibilityNodeInfo createAccessibilityNodeInfo(int virtualViewId)
518 {
519 if (virtualViewId == View.NO_ID || m_layout.getChildCount() == 0) {
520 return getNodeForView();
521 }
522 return getNodeForVirtualViewId(virtualViewId);
523 }
524
525 @Override
526 public boolean performAction(int virtualViewId, int action, Bundle arguments)
527 {
528 if (m_view == null) {
529 Log.e(TAG, "Unable to perform action with a null view");
530 return false;
531 }
532
533 boolean handled = false;
534 //Log.i(TAG, "PERFORM ACTION: " + action + " on " + virtualViewId);
535 switch (action) {
536 case AccessibilityNodeInfo.ACTION_CLEAR_ACCESSIBILITY_FOCUS:
537 if (m_focusedVirtualViewId == virtualViewId) {
538 m_focusedVirtualViewId = INVALID_ID;
539 }
540 // Since we're managing focus at the parent level, we are
541 // likely to receive a FOCUS action before a CLEAR_FOCUS
542 // action. We'll give the benefit of the doubt to the
543 // framework and always handle FOCUS_CLEARED.
544 m_view.invalidate();
545 sendEventForVirtualViewId(virtualViewId,
546 AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED);
547 handled = true;
548 break;
549 default:
550 // Let the node provider handle focus for the view node.
551 if (virtualViewId == View.NO_ID) {
552 return m_view.performAccessibilityAction(action, arguments);
553 }
554 }
555 handled |= performActionForVirtualViewId(virtualViewId, action);
556
557 return handled;
558 }
559 };
560
561 protected boolean performActionForVirtualViewId(int virtualViewId, int action)
562 {
563 //noinspection CommentedOutCode
564 {
565 // Log.i(TAG, "ACTION " + action + " on " + virtualViewId);
566 // dumpNodes(virtualViewId);
567 }
568 boolean success = false;
569 switch (action) {
570 case AccessibilityNodeInfo.ACTION_CLICK:
571 success = QtNativeAccessibility.clickAction(virtualViewId);
572 if (success)
573 sendEventForVirtualViewId(virtualViewId, AccessibilityEvent.TYPE_VIEW_CLICKED);
574 break;
575 case AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS:
576 if (m_focusedVirtualViewId != virtualViewId) {
577 success = QtNativeAccessibility.focusAction(virtualViewId);
578 if (!success) {
579 notifyObjectFocus(virtualViewId);
580 success = true;
581 }
582 }
583 break;
584 case AccessibilityNodeInfo.ACTION_SCROLL_FORWARD:
585 success = QtNativeAccessibility.scrollForward(virtualViewId);
586 break;
587 case AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD:
588 success = QtNativeAccessibility.scrollBackward(virtualViewId);
589 break;
590 }
591 return success;
592 }
593
594 @SuppressWarnings("deprecation")
595 private AccessibilityEvent obtainAccessibilityEvent(int eventType) {
596 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
597 return new AccessibilityEvent(eventType);
598 } else {
599 return AccessibilityEvent.obtain(eventType);
600 }
601 }
602
603 @SuppressWarnings("deprecation")
604 private AccessibilityNodeInfo obtainAccessibilityNodeInfo() {
605 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
606 return new AccessibilityNodeInfo();
607 } else {
608 return AccessibilityNodeInfo.obtain();
609 }
610 }
611
612 @SuppressWarnings("deprecation")
613 private AccessibilityNodeInfo obtainAccessibilityNodeInfo(View source) {
614 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
615 return new AccessibilityNodeInfo(source);
616 } else {
617 return AccessibilityNodeInfo.obtain(source);
618 }
619 }
620
621 @SuppressWarnings("deprecation")
622 private void getBoundsInParent(AccessibilityNodeInfo node, Rect outBounds) {
623 node.getBoundsInParent(outBounds);
624 }
625
626 @SuppressWarnings("deprecation")
627 private void setBoundsInParent(AccessibilityNodeInfo node, Rect bounds) {
628 node.setBoundsInParent(bounds);
629 }
630
631 @SuppressWarnings("deprecation")
632 private void setCollectionInfo(AccessibilityNodeInfo node, int rowCount, int columnCount,
633 boolean hierarchical) {
634 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
635 node.setCollectionInfo(new CollectionInfo(rowCount, columnCount, hierarchical));
636 } else {
637 node.setCollectionInfo(CollectionInfo.obtain(rowCount, columnCount, hierarchical));
638 }
639 }
640}
QList< QVariant > arguments
QMap< Name, StatePointer > Bundle
Definition lalr.h:46
EGLOutputLayerEXT EGLint EGLAttrib value
[3]
GLboolean GLuint group
GLenum GLenum GLsizei const GLuint * ids
[qttrid_noop]
GLuint GLsizei const GLchar * message
GLsizei const GLfloat * v
GLsizei GLsizei GLchar * source
struct _cl_event * event
GLuint64EXT * result
[6]
static QEvent::Type eventType(int profilerEventType)
#define enabled
const char className[16]
Definition qwizard.cpp:100
QQuickView * view
[0]