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