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

(dc8a6de42c8adb89275628f0adb067e9664a795d)

#include <QtCore/private/qohoscommon_p.h>
#include <QtGui/private/qhighdpiscaling_p.h>
#include <chrono>
#include <cstdint>
#include <functional>
#include <qarkui/qarkuiutils.h>
#include <qohoskeymodifiers.h>
#include <render/qohosbatchingrequestshandler.h>
#include <render/qohosnativemouseeventshandler.h>
#include <vector>
Include dependency graph for qohosnativemouseeventshandler.cpp:

Go to the source code of this file.

Classes

class  QT_BEGIN_NAMESPACE::QOhosNativeNodeMouseInputHandler

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

QOhosOptional< Qt::MouseButtonQT_BEGIN_NAMESPACE::tryMapNativeNodeMouseButtonToQt (std::int32_t button)
QOhosOptional< QEvent::TypeQT_BEGIN_NAMESPACE::tryMapNativeNodeMouseActionToQt (std::int32_t action)
QOhosConsumer<::ArkUI_UIInputEvent * > makeQOhosNativeMouseEventsHandler (QtOhos::QThreadSafeRef< QWindow > qWindowRef, QtOhos::QThreadSafeRef< QOhosInputMethodEventHandler > imEventHandlerRef, std::shared_ptr< QOhosHoverEventsGenerator > hoverEventsGenerator)

Variables

constexpr auto QT_BEGIN_NAMESPACE::mouseMotionEventMinAgeForDrop = ch::milliseconds(20)

Function Documentation

◆ makeQOhosNativeMouseEventsHandler()

QOhosConsumer<::ArkUI_UIInputEvent * > makeQOhosNativeMouseEventsHandler ( QtOhos::QThreadSafeRef< QWindow > qWindowRef,
QtOhos::QThreadSafeRef< QOhosInputMethodEventHandler > imEventHandlerRef,
std::shared_ptr< QOhosHoverEventsGenerator > hoverEventsGenerator )

Definition at line 192 of file qohosnativemouseeventshandler.cpp.