Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwindowsuiaselectionitemprovider.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
QWINDOWSUIASELECTIONITEMPROVIDER_H
6
#
define
QWINDOWSUIASELECTIONITEMPROVIDER_H
7
8
#
include
<
QtGui
/
qtguiglobal
.
h
>
9
#
if
QT_CONFIG
(
accessibility
)
10
11
#
include
"qwindowsuiabaseprovider.h"
12
13
QT_BEGIN_NAMESPACE
14
15
// Implements the Selection Item control pattern provider. Used for List items and radio buttons.
16
class
QWindowsUiaSelectionItemProvider :
public
QWindowsUiaBaseProvider,
17
public
QComObject<ISelectionItemProvider>
18
{
19
Q_DISABLE_COPY_MOVE(QWindowsUiaSelectionItemProvider)
20
public
:
21
explicit
QWindowsUiaSelectionItemProvider(QAccessible::Id id);
22
virtual
~QWindowsUiaSelectionItemProvider();
23
24
// ISelectionItemProvider
25
HRESULT STDMETHODCALLTYPE Select() override;
26
HRESULT STDMETHODCALLTYPE AddToSelection() override;
27
HRESULT STDMETHODCALLTYPE RemoveFromSelection() override;
28
HRESULT STDMETHODCALLTYPE get_IsSelected(BOOL *pRetVal) override;
29
HRESULT STDMETHODCALLTYPE get_SelectionContainer(IRawElementProviderSimple **pRetVal) override;
30
};
31
32
QT_END_NAMESPACE
33
34
#
endif
// QT_CONFIG(accessibility)
35
36
#
endif
// QWINDOWSUIASELECTIONITEMPROVIDER_H
qtbase
src
plugins
platforms
windows
uiautomation
qwindowsuiaselectionitemprovider.h
Generated on
for Qt by
1.18.0