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
qwindowsuiatoggleprovider.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 QWINDOWSUIATOGGLEPROVIDER_H
5#define QWINDOWSUIATOGGLEPROVIDER_H
6
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
9
11
13
14// Implements the Toggle control pattern provider. Used for checkboxes.
15class QWindowsUiaToggleProvider : public QWindowsUiaBaseProvider, public QComObject<IToggleProvider>
16{
17 Q_DISABLE_COPY_MOVE(QWindowsUiaToggleProvider)
18public:
19 explicit QWindowsUiaToggleProvider(QAccessible::Id id);
20 virtual ~QWindowsUiaToggleProvider();
21
22 // IToggleProvider
23 HRESULT STDMETHODCALLTYPE Toggle() override;
24 HRESULT STDMETHODCALLTYPE get_ToggleState(ToggleState *pRetVal) override;
25};
26
28
29#endif // QT_CONFIG(accessibility)
30
31#endif // QWINDOWSUIATOGGLEPROVIDER_H
Combined button and popup list for selecting options.
long HRESULT