Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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, public QComObject<IValueProvider>
17{
18 Q_DISABLE_COPY_MOVE(QWindowsUiaValueProvider)
19public:
20 explicit QWindowsUiaValueProvider(QAccessible::Id id);
21 virtual ~QWindowsUiaValueProvider();
22
23 // IValueProvider
24 HRESULT STDMETHODCALLTYPE SetValue(LPCWSTR val) override;
25 HRESULT STDMETHODCALLTYPE get_IsReadOnly(BOOL *pRetVal) override;
26 HRESULT STDMETHODCALLTYPE get_Value(BSTR *pRetVal) override;
27};
28
30
31#endif // QT_CONFIG(accessibility)
32
33#endif // QWINDOWSUIAVALUEPROVIDER_H
Combined button and popup list for selecting options.
GLuint GLfloat * val
long HRESULT