![]() |
Qt 6.x
The Qt SDK
|
#include <qwasmevent.h>
Public Member Functions | |
DragEvent (EventType type, emscripten::val webEvent) | |
~DragEvent () | |
DragEvent (const DragEvent &other) | |
DragEvent (DragEvent &&other) | |
DragEvent & | operator= (const DragEvent &other) |
DragEvent & | operator= (DragEvent &&other) |
![]() | |
MouseEvent (EventType type, emscripten::val webEvent) | |
~MouseEvent () | |
MouseEvent (const MouseEvent &other) | |
MouseEvent (MouseEvent &&other) | |
MouseEvent & | operator= (const MouseEvent &other) |
MouseEvent & | operator= (MouseEvent &&other) |
![]() | |
Event (EventType type, emscripten::val target) | |
~Event () | |
Event (const Event &other) | |
Event (Event &&other) | |
Event & | operator= (const Event &other) |
Event & | operator= (Event &&other) |
Static Public Member Functions | |
static std::optional< DragEvent > | fromWeb (emscripten::val webEvent) |
![]() | |
static constexpr Qt::MouseButton | buttonFromWeb (int webButton) |
static constexpr Qt::MouseButtons | buttonsFromWeb (unsigned short webButtons) |
static constexpr QEvent::Type | mouseEventTypeFromEventType (EventType eventType, WindowArea windowArea) |
Public Attributes | |
Qt::DropAction | dropAction |
emscripten::val | dataTransfer |
![]() | |
QPointF | localPoint |
QPointF | pointInPage |
QPointF | pointInViewport |
Qt::MouseButton | mouseButton |
Qt::MouseButtons | mouseButtons |
QFlags< Qt::KeyboardModifier > | modifiers |
![]() | |
EventType | type |
emscripten::val | target = emscripten::val::undefined() |
Definition at line 222 of file qwasmevent.h.
DragEvent::DragEvent | ( | EventType | type, |
emscripten::val | webEvent | ||
) |
Definition at line 221 of file qwasmevent.cpp.
References Qt::CopyAction, dropAction, effect, Qt::IgnoreAction, Qt::LinkAction, and Qt::MoveAction.
|
default |
|
default |
|
default |
|
static |
Definition at line 247 of file qwasmevent.cpp.
References Drop.
Referenced by QWasmWindow::QWasmWindow().
emscripten::val DragEvent::dataTransfer |
Definition at line 234 of file qwasmevent.h.
Qt::DropAction DragEvent::dropAction |
Definition at line 233 of file qwasmevent.h.
Referenced by DragEvent().