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
qwindowsuiautomation.h
Go to the documentation of this file.
1// Copyright (C) 2024 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 QWINDOWSUIAUTOMATION_H
5#define QWINDOWSUIAUTOMATION_H
6
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
9
10#include <uiautomation.h>
11
12#if defined(__MINGW32__) || defined(__MINGW64__)
13
14#define UIA_SelectionPattern2Id 10034
15#define UIA_IsReadOnlyAttributeId 40015
16#define UIA_StrikethroughStyleAttributeId 40026
17#define UIA_CaretPositionAttributeId 40038
18
19enum CaretPosition {
20 CaretPosition_Unknown = 0,
21 CaretPosition_EndOfLine = 1,
22 CaretPosition_BeginningOfLine = 2
23};
24
25enum TextDecorationLineStyle {
26 TextDecorationLineStyle_None = 0,
27 TextDecorationLineStyle_Single = 1,
28 TextDecorationLineStyle_WordsOnly = 2,
29 TextDecorationLineStyle_Double = 3,
30 TextDecorationLineStyle_Dot = 4,
31 TextDecorationLineStyle_Dash = 5,
32 TextDecorationLineStyle_DashDot = 6,
33 TextDecorationLineStyle_DashDotDot = 7,
34 TextDecorationLineStyle_Wavy = 8,
35 TextDecorationLineStyle_ThickSingle = 9,
36 TextDecorationLineStyle_DoubleWavy = 11,
37 TextDecorationLineStyle_ThickWavy = 12,
38 TextDecorationLineStyle_LongDash = 13,
39 TextDecorationLineStyle_ThickDash = 14,
40 TextDecorationLineStyle_ThickDashDot = 15,
41 TextDecorationLineStyle_ThickDashDotDot = 16,
42 TextDecorationLineStyle_ThickDot = 17,
43 TextDecorationLineStyle_ThickLongDash = 18,
44 TextDecorationLineStyle_Other = -1
45};
46
47BOOL WINAPI UiaClientsAreListening();
48
49#ifndef __ISelectionProvider2_INTERFACE_DEFINED__
50#define __ISelectionProvider2_INTERFACE_DEFINED__
51DEFINE_GUID(IID_ISelectionProvider2, 0x14f68475, 0xee1c, 0x44f6, 0xa8, 0x69, 0xd2, 0x39, 0x38, 0x1f, 0x0f, 0xe7);
52MIDL_INTERFACE("14f68475-ee1c-44f6-a869-d239381f0fe7")
53ISelectionProvider2 : public ISelectionProvider
54{
55public:
56 virtual HRESULT STDMETHODCALLTYPE get_FirstSelectedItem(__RPC__deref_out_opt IRawElementProviderSimple **retVal) = 0;
57 virtual HRESULT STDMETHODCALLTYPE get_LastSelectedItem(__RPC__deref_out_opt IRawElementProviderSimple **retVal) = 0;
58 virtual HRESULT STDMETHODCALLTYPE get_CurrentSelectedItem(__RPC__deref_out_opt IRawElementProviderSimple **retVal) = 0;
59 virtual HRESULT STDMETHODCALLTYPE get_ItemCount(__RPC__out int *retVal) = 0;
60};
61#ifdef __CRT_UUID_DECL
62__CRT_UUID_DECL(ISelectionProvider2, 0x14f68475, 0xee1c, 0x44f6, 0xa8, 0x69, 0xd2, 0x39, 0x38, 0x1f, 0x0f, 0xe7)
63#endif
64#endif // __ISelectionProvider2_INTERFACE_DEFINED__
65
66#endif // defined(__MINGW32__) || defined(__MINGW64__)
67
68#endif // QT_CONFIG(accessibility)
69
70#endif // QWINDOWSUIAUTOMATION_H
long HRESULT
DEFINE_GUID(IID_IMFVideoProcessor, 0x6AB0000C, 0xFECE, 0x4d1f, 0xA2, 0xAC, 0xA9, 0x57, 0x35, 0x30, 0x65, 0x6E)