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
qohosnativexcomponentinputhandler.cpp File Reference

(dc8a6de42c8adb89275628f0adb067e9664a795d)

#include <ace/xcomponent/native_interface_xcomponent.h>
#include <info/application_target_sdk_version.h>
#include <multimodalinput/oh_input_manager.h>
#include <render/qohosnativexcomponentinputhandler.h>
#include <QtCore/QCoreApplication>
#include <QtCore/qspan.h>
#include <native_window/external_window.h>
#include <qohosinputmethodeventhandler.h>
#include <qohosjsmain.h>
#include <qohosxcomponentkeyevent.h>
#include <qohosplatformintegration.h>
#include <qohosplatformtheme.h>
#include <qohosutils.h>
#include <render/qohosbatchingrequestshandler.h>
#include <render/qohosview.h>
#include <algorithm>
#include <cstdint>
#include <memory>
#include <vector>
Include dependency graph for qohosnativexcomponentinputhandler.cpp:

Go to the source code of this file.

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

bool QT_BEGIN_NAMESPACE::qtAcceptsEvents ()
std::tuple< QPointF, QPointFQT_BEGIN_NAMESPACE::getLocalAndGlobalPointsOrDefault (OH_NativeXComponent *component, void *window)
QOhosOptional< QPointFQT_BEGIN_NAMESPACE::tryGetTouchPointDisplayPosition (QXComponentRender xComponent, std::int32_t touchPointIndex)
QInputDevice::DeviceType QT_BEGIN_NAMESPACE::getTouchDeviceType (::OH_NativeXComponent *component, std::int32_t pointId)
bool QT_BEGIN_NAMESPACE::isModifierKey (OH_NativeXComponent_KeyCode keyCode)
QOhosOptional< QEvent::TypeQT_BEGIN_NAMESPACE::tryMapXComponentMouseEventActionToQEventType (::OH_NativeXComponent_MouseEventAction action)
QOhosOptional< Qt::MouseButtonQT_BEGIN_NAMESPACE::tryMapXComponentMouseButtonToQt (::OH_NativeXComponent_MouseEventButton button)

Variables

constexpr auto QT_BEGIN_NAMESPACE::touchEventMinAgeForDrop = std::chrono::milliseconds(20)
const std::array< OhosKeyToModifier, 6 > QT_BEGIN_NAMESPACE::keysToModifiers