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
qplatformkeymapper.h
Go to the documentation of this file.
1// Copyright (C) 2023 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 QPLATFORMKEYMAPPER_P
5#define QPLATFORMKEYMAPPER_P
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is part of the QPA API and is not meant to be used
12// in applications. Usage of this API may make your code
13// source and binary incompatible with future versions of Qt.
14//
15
16#include <QtGui/qtguiglobal.h>
17#include <QtCore/qloggingcategory.h>
18
20
21Q_DECLARE_EXPORTED_LOGGING_CATEGORY(lcQpaKeyMapper, Q_GUI_EXPORT)
22
23class QKeyEvent;
24
25class Q_GUI_EXPORT QPlatformKeyMapper
26{
27public:
28 virtual ~QPlatformKeyMapper();
29
30 virtual QList<QKeyCombination> possibleKeyCombinations(const QKeyEvent *event) const;
31 virtual Qt::KeyboardModifiers queryKeyboardModifiers() const;
32};
33
35
36#endif // QPLATFORMKEYMAPPER_P
The QKeyEvent class describes a key event.
Definition qevent.h:424
Combined button and popup list for selecting options.
#define Q_DECLARE_EXPORTED_LOGGING_CATEGORY(name, export_macro)
struct _cl_event * event