4#ifndef QWINDOWSUIARANGEVALUEPROVIDER_H
5#define QWINDOWSUIARANGEVALUEPROVIDER_H
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
10#include "qwindowsuiabaseprovider.h"
15class QWindowsUiaRangeValueProvider :
public QWindowsUiaBaseProvider,
16 public QComObject<IRangeValueProvider>
18 Q_DISABLE_COPY_MOVE(QWindowsUiaRangeValueProvider)
20 explicit QWindowsUiaRangeValueProvider(QAccessible::Id id);
21 virtual ~QWindowsUiaRangeValueProvider();
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;