Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwindowsuiavalueprovider.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 QWINDOWSUIAVALUEPROVIDER_H
5#define QWINDOWSUIAVALUEPROVIDER_H
6
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
9
11
13
14// Implements the Value control pattern provider.
15// Supported for all controls that can return text(QAccessible::Value).
16class QWindowsUiaValueProvider : public QWindowsUiaBaseProvider,
17 public QWindowsComBase<IValueProvider>
18{
19 Q_DISABLE_COPY_MOVE(QWindowsUiaValueProvider)
20public:
21 explicit QWindowsUiaValueProvider(QAccessible::Id id);
22 virtual ~QWindowsUiaValueProvider();
23
24 // IValueProvider
25 HRESULT STDMETHODCALLTYPE SetValue(LPCWSTR val) override;
26 HRESULT STDMETHODCALLTYPE get_IsReadOnly(BOOL *pRetVal) override;
27 HRESULT STDMETHODCALLTYPE get_Value(BSTR *pRetVal) override;
28};
29
31
32#endif // QT_CONFIG(accessibility)
33
34#endif // QWINDOWSUIAVALUEPROVIDER_H
Combined button and popup list for selecting options.
GLuint GLfloat * val
long HRESULT
IRawElementProviderFragment __RPC__deref_out_opt IRawElementProviderFragment ** pRetVal
virtual HRESULT STDMETHODCALLTYPE get_IsReadOnly(__RPC__out BOOL *pRetVal)=0
virtual HRESULT STDMETHODCALLTYPE get_Value(__RPC__deref_out_opt BSTR *pRetVal)=0