5#ifndef QWINDOWSUIARANGEVALUEPROVIDER_H
6#define QWINDOWSUIARANGEVALUEPROVIDER_H
8#include <QtGui/qtguiglobal.h>
9#if QT_CONFIG(accessibility)
11#include "qwindowsuiabaseprovider.h"
16class QWindowsUiaRangeValueProvider :
public QWindowsUiaBaseProvider,
17 public QComObject<IRangeValueProvider>
19 Q_DISABLE_COPY_MOVE(QWindowsUiaRangeValueProvider)
21 explicit QWindowsUiaRangeValueProvider(QAccessible::Id id);
22 virtual ~QWindowsUiaRangeValueProvider();
25 HRESULT STDMETHODCALLTYPE SetValue(
double val) override;
26 HRESULT STDMETHODCALLTYPE get_Value(
double *pRetVal) override;
27 HRESULT STDMETHODCALLTYPE get_IsReadOnly(BOOL *pRetVal) override;
28 HRESULT STDMETHODCALLTYPE get_Maximum(
double *pRetVal) override;
29 HRESULT STDMETHODCALLTYPE get_Minimum(
double *pRetVal) override;
30 HRESULT STDMETHODCALLTYPE get_LargeChange(
double *pRetVal) override;
31 HRESULT STDMETHODCALLTYPE get_SmallChange(
double *pRetVal) override;