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