Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwindowsuiawindowprovider.h
Go to the documentation of this file.
1// Copyright (C) 2019 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 QWINDOWSUIAWINDOWPROVIDER_H
5#define QWINDOWSUIAWINDOWPROVIDER_H
6
7#include <QtGui/qtguiglobal.h>
8#if QT_CONFIG(accessibility)
9
10#include "qwindowsuiabaseprovider.h"
11
12QT_BEGIN_NAMESPACE
13
14class QWindowsUiaWindowProvider : public QWindowsUiaBaseProvider, public QComObject<IWindowProvider>
15{
16 Q_DISABLE_COPY(QWindowsUiaWindowProvider)
17public:
18 explicit QWindowsUiaWindowProvider(QAccessible::Id id);
19 ~QWindowsUiaWindowProvider() override;
20
21 HRESULT STDMETHODCALLTYPE SetVisualState(WindowVisualState state) override;
22 HRESULT STDMETHODCALLTYPE Close( void) override;
23 HRESULT STDMETHODCALLTYPE WaitForInputIdle(int milliseconds, __RPC__out BOOL *pRetVal) override;
24 HRESULT STDMETHODCALLTYPE get_CanMaximize(__RPC__out BOOL *pRetVal) override;
25 HRESULT STDMETHODCALLTYPE get_CanMinimize(__RPC__out BOOL *pRetVal) override;
26 HRESULT STDMETHODCALLTYPE get_IsModal(__RPC__out BOOL *pRetVal) override;
27 HRESULT STDMETHODCALLTYPE get_WindowVisualState(__RPC__out WindowVisualState *pRetVal) override;
28 HRESULT STDMETHODCALLTYPE get_WindowInteractionState(__RPC__out WindowInteractionState *pRetVal) override;
29 HRESULT STDMETHODCALLTYPE get_IsTopmost(__RPC__out BOOL *pRetVal) override;
30};
31
32QT_END_NAMESPACE
33
34#endif // QT_CONFIG(accessibility)
35
36#endif // QWINDOWSUIAWINDOWPROVIDER_H