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
qwindowsuiarangevalueprovider.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 QWINDOWSUIARANGEVALUEPROVIDER_H
5#define QWINDOWSUIARANGEVALUEPROVIDER_H
6
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
9
11
13
14// Implements the Range Value control pattern provider.
15class QWindowsUiaRangeValueProvider : public QWindowsUiaBaseProvider,
16 public QComObject<IRangeValueProvider>
17{
18 Q_DISABLE_COPY_MOVE(QWindowsUiaRangeValueProvider)
19public:
20 explicit QWindowsUiaRangeValueProvider(QAccessible::Id id);
21 virtual ~QWindowsUiaRangeValueProvider();
22
23 // IRangeValueProvider
24 HRESULT STDMETHODCALLTYPE SetValue(double val) override;
25 HRESULT STDMETHODCALLTYPE get_Value(double *pRetVal) override;
26 HRESULT STDMETHODCALLTYPE get_IsReadOnly(BOOL *pRetVal) override;
27 HRESULT STDMETHODCALLTYPE get_Maximum(double *pRetVal) override;
28 HRESULT STDMETHODCALLTYPE get_Minimum(double *pRetVal) override;
29 HRESULT STDMETHODCALLTYPE get_LargeChange(double *pRetVal) override;
30 HRESULT STDMETHODCALLTYPE get_SmallChange(double *pRetVal) override;
31};
32
34
35#endif // QT_CONFIG(accessibility)
36
37#endif // QWINDOWSUIARANGEVALUEPROVIDER_H
Combined button and popup list for selecting options.
GLuint GLfloat * val
long HRESULT