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>.
|
#include <qwasmevent.h>
Public Member Functions | |
DragEvent (EventType type, emscripten::val webEvent, QWindow *targetQWindow) | |
~DragEvent () | |
DragEvent (const DragEvent &other) | |
DragEvent (DragEvent &&other) | |
DragEvent & | operator= (const DragEvent &other) |
DragEvent & | operator= (DragEvent &&other) |
void | cancelDragStart () |
void | acceptDragOver () |
void | acceptDrop () |
Public Member Functions inherited from MouseEvent | |
MouseEvent (EventType type, emscripten::val webEvent) | |
~MouseEvent () | |
MouseEvent (const MouseEvent &other) | |
MouseEvent (MouseEvent &&other) | |
MouseEvent & | operator= (const MouseEvent &other) |
MouseEvent & | operator= (MouseEvent &&other) |
Public Member Functions inherited from Event | |
Event (EventType type, emscripten::val webEvent) | |
~Event () | |
Event (const Event &other) | |
Event (Event &&other) | |
Event & | operator= (const Event &other) |
Event & | operator= (Event &&other) |
emscripten::val | target () const |
Static Public Member Functions | |
static std::optional< DragEvent > | fromWeb (emscripten::val webEvent, QWindow *targetQWindow) |
Static Public Member Functions inherited from MouseEvent | |
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 |
dom::DataTransfer | dataTransfer |
QWindow * | targetWindow |
Public Attributes inherited from MouseEvent | |
QPointF | localPoint |
QPointF | pointInPage |
QPointF | pointInViewport |
Qt::MouseButton | mouseButton |
Qt::MouseButtons | mouseButtons |
QFlags< Qt::KeyboardModifier > | modifiers |
Public Attributes inherited from Event | |
emscripten::val | webEvent |
EventType | type |
Definition at line 233 of file qwasmevent.h.
Definition at line 233 of file qwasmevent.cpp.
References Qt::CopyAction, dropAction, effect, Qt::IgnoreAction, Qt::LinkAction, and Qt::MoveAction.
Referenced by fromWeb().
|
default |
|
default |
|
default |
void DragEvent::acceptDragOver | ( | ) |
Definition at line 285 of file qwasmevent.cpp.
References DragOver, Q_ASSERT_X, Q_FUNC_INFO, and Event::webEvent.
void DragEvent::acceptDrop | ( | ) |
Definition at line 291 of file qwasmevent.cpp.
References Drop, Q_ASSERT_X, Q_FUNC_INFO, and Event::webEvent.
void DragEvent::cancelDragStart | ( | ) |
Definition at line 279 of file qwasmevent.cpp.
References DragStart, Q_ASSERT_X, Q_FUNC_INFO, and Event::webEvent.
|
static |
Definition at line 259 of file qwasmevent.cpp.
References DragEvent(), DragEnd, DragOver, DragStart, Drop, and targetWindow.
Referenced by ClientArea::ClientArea().
dom::DataTransfer DragEvent::dataTransfer |
Definition at line 249 of file qwasmevent.h.
Qt::DropAction DragEvent::dropAction |
Definition at line 248 of file qwasmevent.h.
Referenced by DragEvent().
QWindow* DragEvent::targetWindow |
Definition at line 250 of file qwasmevent.h.
Referenced by fromWeb().