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
qinputdevicemanager_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 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 QINPUTDEVICEMANAGER_P_P_H
5#define QINPUTDEVICEMANAGER_P_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include <private/qobject_p.h>
21
22#include <array>
23
25
26class Q_GUI_EXPORT QInputDeviceManagerPrivate : public QObjectPrivate
27{
28 Q_DECLARE_PUBLIC(QInputDeviceManager)
29
30public:
31 static QInputDeviceManagerPrivate *get(QInputDeviceManager *mgr) { return mgr->d_func(); }
32
33 int deviceCount(QInputDeviceManager::DeviceType type) const;
34 void setDeviceCount(QInputDeviceManager::DeviceType type, int count);
35
36 std::array<int, QInputDeviceManager::NumDeviceTypes> m_deviceCount = {};
37
38 Qt::KeyboardModifiers keyboardModifiers;
39};
40
42
43#endif // QINPUTDEVICEMANAGER_P_P_H
Qt::KeyboardModifiers keyboardModifiers
static QInputDeviceManagerPrivate * get(QInputDeviceManager *mgr)
QInputDeviceManager acts as a communication hub between QtGui and the input handlers.
Combined button and popup list for selecting options.
GLenum GLenum GLsizei count
GLenum type