4#include <QtGui/qtguiglobal.h>
5#if QT_CONFIG(accessibility)
11#include <QtGui/qwindow.h>
12#include <QtGui/private/qhighdpiscaling_p.h>
17namespace QWindowsUiAutomation {
20QWindow *windowForAccessible(
const QAccessibleInterface *accessible)
24 const QAccessibleInterface *acc = accessible;
25 const QAccessibleInterface *par = accessible->parent();
26 while (par && par->isValid() && !
window) {
35 if (QAccessibleInterface *root =
w->accessibleRoot()) {
36 int count = root->childCount();
38 if (root->child(
i) == acc)
50HWND hwndForAccessible(
const QAccessibleInterface *accessible)
53 if (!accessible->parent() || (accessible->parent()->window() !=
window)) {
60void clearVariant(VARIANT *
variant)
86 return SysAllocString(
reinterpret_cast<const wchar_t *
>(
value.utf16()));
100 uiaRect->
left =
r.x();
101 uiaRect->
top =
r.y();
102 uiaRect->
width =
r.width();
115long roleToControlTypeId(QAccessible::Role role)
static QWindowList topLevelWindows()
Returns a list of the top-level windows in the application.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
static HWND handleOf(const QWindow *w)
T toNativePixels(const T &value, const C *context)
T fromNativePixels(const T &value, const C *context)
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLfloat GLfloat GLfloat w
[0]
GLenum GLenum GLsizei count
GLenum GLenum GLenum GLenum mapping
#define UIA_GroupControlTypeId
#define UIA_ComboBoxControlTypeId
#define UIA_TitleBarControlTypeId
#define UIA_EditControlTypeId
#define UIA_HeaderItemControlTypeId
#define UIA_HyperlinkControlTypeId
#define UIA_SeparatorControlTypeId
#define UIA_HeaderControlTypeId
#define UIA_MenuItemControlTypeId
#define UIA_TreeControlTypeId
#define UIA_SpinnerControlTypeId
#define UIA_MenuBarControlTypeId
#define UIA_RadioButtonControlTypeId
#define UIA_StatusBarControlTypeId
#define UIA_TableControlTypeId
#define UIA_ListControlTypeId
#define UIA_WindowControlTypeId
#define UIA_TreeItemControlTypeId
#define UIA_ProgressBarControlTypeId
#define UIA_ButtonControlTypeId
#define UIA_TextControlTypeId
#define UIA_PaneControlTypeId
#define UIA_ScrollBarControlTypeId
#define UIA_ThumbControlTypeId
#define UIA_ImageControlTypeId
#define UIA_SliderControlTypeId
#define UIA_TabControlTypeId
#define UIA_MenuControlTypeId
#define UIA_ListItemControlTypeId
#define UIA_DataItemControlTypeId
#define UIA_TabItemControlTypeId
#define UIA_CustomControlTypeId
#define UIA_CheckBoxControlTypeId
#define UIA_DocumentControlTypeId
#define UIA_ToolBarControlTypeId
#define UIA_ToolTipControlTypeId