Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwindowsuiagridprovider.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 QWINDOWSUIAGRIDPROVIDER_H
5#define QWINDOWSUIAGRIDPROVIDER_H
6
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
9
11
13
14// Implements the Grid control pattern provider. Used by tables/trees.
15class QWindowsUiaGridProvider : public QWindowsUiaBaseProvider,
16 public QWindowsComBase<IGridProvider>
17{
18 Q_DISABLE_COPY_MOVE(QWindowsUiaGridProvider)
19public:
20 explicit QWindowsUiaGridProvider(QAccessible::Id id);
21 virtual ~QWindowsUiaGridProvider();
22
23 // IGridProvider
24 HRESULT STDMETHODCALLTYPE GetItem(int row, int column, IRawElementProviderSimple **pRetVal) override;
25 HRESULT STDMETHODCALLTYPE get_RowCount(int *pRetVal) override;
26 HRESULT STDMETHODCALLTYPE get_ColumnCount(int *pRetVal) override;
27};
28
30
31#endif // QT_CONFIG(accessibility)
32
33#endif // QWINDOWSUIAGRIDPROVIDER_H
Combined button and popup list for selecting options.
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
long HRESULT
virtual HRESULT STDMETHODCALLTYPE get_RowCount(__RPC__out int *pRetVal)=0
IRawElementProviderFragment __RPC__deref_out_opt IRawElementProviderFragment ** pRetVal
virtual HRESULT STDMETHODCALLTYPE get_ColumnCount(__RPC__out int *pRetVal)=0