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
qwindowsuiagriditemprovider.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 QWINDOWSUIAGRIDITEMPROVIDER_H
5#define QWINDOWSUIAGRIDITEMPROVIDER_H
6
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
9
10#include "qwindowsuiabaseprovider.h"
11
12QT_BEGIN_NAMESPACE
13
14// Implements the Grid Item control pattern provider. Used by items within a table/tree.
15class QWindowsUiaGridItemProvider : public QWindowsUiaBaseProvider,
16 public QComObject<IGridItemProvider>
17{
18 Q_DISABLE_COPY_MOVE(QWindowsUiaGridItemProvider)
19public:
20 explicit QWindowsUiaGridItemProvider(QAccessible::Id id);
21 virtual ~QWindowsUiaGridItemProvider();
22
23 // IGridItemProvider
24 HRESULT STDMETHODCALLTYPE get_Row(int *pRetVal) override;
25 HRESULT STDMETHODCALLTYPE get_Column(int *pRetVal) override;
26 HRESULT STDMETHODCALLTYPE get_RowSpan(int *pRetVal) override;
27 HRESULT STDMETHODCALLTYPE get_ColumnSpan(int *pRetVal) override;
28 HRESULT STDMETHODCALLTYPE get_ContainingGrid(IRawElementProviderSimple **pRetVal) override;
29};
30
31QT_END_NAMESPACE
32
33#endif // QT_CONFIG(accessibility)
34
35#endif // QWINDOWSUIAGRIDITEMPROVIDER_H