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
qwindowsuiautils.h
Go to the documentation of this file.
1// Copyright (C) 2017 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#ifndef QWINDOWSUIAUTILS_H
5#define QWINDOWSUIAUTILS_H
6
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
9
10#include <QtCore/qstring.h>
11#include <QtCore/qt_windows.h>
12#include <QtGui/qaccessible.h>
13#include <QtGui/qwindow.h>
14#include <QtCore/qrect.h>
15#include <QtCore/private/qbstr_p.h>
16#include "qwindowsuiautomation.h"
17
18QT_BEGIN_NAMESPACE
19
20namespace QWindowsUiAutomation {
21
22QWindow *windowForAccessible(const QAccessibleInterface *accessible);
23
24HWND hwndForAccessible(const QAccessibleInterface *accessible);
25
26void rectToNativeUiaRect(const QRect &rect, const QWindow *w, UiaRect *uiaRect);
27
28void nativeUiaPointToPoint(const UiaPoint &uiaPoint, const QWindow *w, QPoint *point);
29
30long roleToControlTypeId(QAccessible::Role role);
31
32bool isTextUnitSeparator(TextUnit unit, const QChar &ch);
33
34void clearVariant(VARIANT *variant);
35
36} // namespace QWindowsUiAutomation
37
38QT_END_NAMESPACE
39
40#endif // QT_CONFIG(accessibility)
41
42#endif // QWINDOWSUIAUTILS_H