4#ifndef QWINDOWSUIAMAINPROVIDER_H
5#define QWINDOWSUIAMAINPROVIDER_H
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
12#include <QtCore/qpointer.h>
13#include <QtCore/qsharedpointer.h>
14#include <QtCore/qmutex.h>
15#include <QtCore/qt_windows.h>
16#include <QtGui/qaccessible.h>
21class QWindowsUiaMainProvider :
22 public QWindowsUiaBaseProvider,
23 public IRawElementProviderSimple,
28 Q_DISABLE_COPY_MOVE(QWindowsUiaMainProvider)
30 static QWindowsUiaMainProvider *providerForAccessible(QAccessibleInterface *accessible);
31 explicit QWindowsUiaMainProvider(QAccessibleInterface *
a,
int initialRefCount = 1);
32 virtual ~QWindowsUiaMainProvider();
33 static void notifyFocusChange(QAccessibleEvent *
event);
34 static void notifyStateChange(QAccessibleStateChangeEvent *
event);
35 static void notifyValueChange(QAccessibleValueChangeEvent *
event);
36 static void notifyNameChange(QAccessibleEvent *
event);
37 static void notifySelectionChange(QAccessibleEvent *
event);
38 static void notifyTextChange(QAccessibleEvent *
event);
41 HRESULT STDMETHODCALLTYPE QueryInterface(REFIID
id, LPVOID *iface)
override;
42 ULONG STDMETHODCALLTYPE AddRef()
override;
43 ULONG STDMETHODCALLTYPE
Release()
override;
64 QString automationIdForAccessible(
const QAccessibleInterface *accessible);
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLint GLint GLint GLint GLint x
[0]
GLboolean GLboolean GLboolean GLboolean a
[7]
virtual HRESULT STDMETHODCALLTYPE GetRuntimeId(__RPC__deref_out_opt SAFEARRAY **runtimeId)=0
interface IRawElementProviderFragment IRawElementProviderFragment
virtual HRESULT STDMETHODCALLTYPE SetFocus()=0
interface IRawElementProviderFragmentRoot IRawElementProviderFragmentRoot
virtual HRESULT STDMETHODCALLTYPE GetPropertyValue(PROPERTYID propertyId, __RPC__out VARIANT *pRetVal)=0
virtual HRESULT STDMETHODCALLTYPE get_HostRawElementProvider(__RPC__deref_out_opt IRawElementProviderSimple **pRetVal)=0
IRawElementProviderFragment __RPC__deref_out_opt IRawElementProviderFragment ** pRetVal
virtual HRESULT STDMETHODCALLTYPE GetPatternProvider(PATTERNID patternId, __RPC__deref_out_opt IUnknown **pRetVal)=0
virtual HRESULT STDMETHODCALLTYPE get_BoundingRectangle(__RPC__out struct UiaRect *pRetVal)=0
virtual HRESULT STDMETHODCALLTYPE GetEmbeddedFragmentRoots(__RPC__deref_out_opt SAFEARRAY **pRetVal)=0
virtual HRESULT STDMETHODCALLTYPE GetFocus(__RPC__deref_out_opt IRawElementProviderFragment **pRetVal)=0
virtual HRESULT STDMETHODCALLTYPE get_FragmentRoot(__RPC__deref_out_opt IRawElementProviderFragmentRoot **pRetVal)=0