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
qohosxcomponentkeyevent.h
Go to the documentation of this file.
1// Copyright (C) 2025 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 QOHOSXCOMPONENTKEYEVENT_H
5#define QOHOSXCOMPONENTKEYEVENT_H
6
7#include <QtCore/qflags.h>
8#include <QtCore/qglobal.h>
9#include <ace/xcomponent/native_interface_xcomponent.h>
10#include <qohoskeyevent.h>
11#include <qohoskeyeventconverthelpers.h>
12
14
16 ::OH_NativeXComponent_KeyAction keyAction, ::OH_NativeXComponent_KeyCode keyCode,
17 QFlags<OhosKeyboardModifier> keysFlags);
18
19QT_END_NAMESPACE
20
21#endif // QOHOSXCOMPONENTKEYEVENT_H
std::enable_if_t< qohosplugincore_h_detail::isQOhosOptional< QOhosInvokeResult< Func, T > >, QOhosInvokeResult< Func, T > > andThen(Func &&func) const
QOhosOptional< QOhosQtKeyEvent > tryConvertToQOhosQtKeyEvent() const override
QOhosXComponentKeyEvent(::OH_NativeXComponent_KeyAction keyAction, ::OH_NativeXComponent_KeyCode keyCode, QFlags< OhosKeyboardModifier > keysFlags)
bool equals(const QOhosKeyEvent &other) const override
Combined button and popup list for selecting options.
const QMap< OH_NativeXComponent_KeyCode, Qt::Key > ohosXComponentQtKeyShiftPressedMap
const QMap< OH_NativeXComponent_KeyCode, Qt::Key > ohosXComponentQtKeyMap
const QMap< OH_NativeXComponent_KeyCode, Qt::Key > ohosXComponentNumpadSpecialQtKeyMap
bool isOnlyShiftModificatorPressed(Qt::KeyboardModifiers keyboardModifiers)
std::shared_ptr< QOhosKeyEvent > makeQOhosXComponentKeyEvent(::OH_NativeXComponent_KeyAction keyAction, ::OH_NativeXComponent_KeyCode keyCode, QFlags< OhosKeyboardModifier > keysFlags)