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
qwasmkeytranslator.h
Go to the documentation of this file.
1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWASMKEYTRANSLATOR_H
5#define QWASMKEYTRANSLATOR_H
6
7#include <QtCore/qnamespace.h>
8#include <QtCore/qtypes.h>
9
10#include <optional>
11
13
14struct KeyEvent;
15
17std::optional<Qt::Key> mapWebKeyTextToQtKey(const char *toFind);
18}
19
21{
22public:
25
27
28private:
29 Qt::Key m_activeDeadKey = Qt::Key_unknown;
30 Qt::Key m_keyModifiedByDeadKeyOnPress = Qt::Key_unknown;
31};
32
34#endif // QWASMKEYTRANSLATOR_H
void applyDeadKeyTranslations(KeyEvent *event)
Combined button and popup list for selecting options.
std::optional< Qt::Key > mapWebKeyTextToQtKey(const char *toFind)
@ Key_unknown
struct _cl_event * event