4#include <QtGui/qtguiglobal.h>
5#if QT_CONFIG(accessibility)
11#include <QtGui/qaccessible.h>
12#include <QtCore/qloggingcategory.h>
13#include <QtCore/qstring.h>
17using namespace QWindowsUiAutomation;
20QWindowsUiaToggleProvider::QWindowsUiaToggleProvider(QAccessible::Id
id) :
21 QWindowsUiaBaseProvider(
id)
25QWindowsUiaToggleProvider::~QWindowsUiaToggleProvider()
30HRESULT STDMETHODCALLTYPE QWindowsUiaToggleProvider::Toggle()
32 qCDebug(lcQpaUiAutomation) << __FUNCTION__;
34 QAccessibleInterface *accessible = accessibleInterface();
38 QAccessibleActionInterface *actionInterface = accessible->actionInterface();
42 actionInterface->doAction(QAccessibleActionInterface::toggleAction());
49 qCDebug(lcQpaUiAutomation) << __FUNCTION__;
55 QAccessibleInterface *accessible = accessibleInterface();
59 if (accessible->state().checked)
Combined button and popup list for selecting options.
#define qCDebug(category,...)
#define UIA_E_ELEMENTNOTAVAILABLE
IRawElementProviderFragment __RPC__deref_out_opt IRawElementProviderFragment ** pRetVal
@ ToggleState_Indeterminate