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 | |
WheelEvent (EventType type, emscripten::val webEvent) | |
~WheelEvent () | |
WheelEvent (const WheelEvent &other) | |
WheelEvent (WheelEvent &&other) | |
WheelEvent & | operator= (const WheelEvent &other) |
WheelEvent & | operator= (WheelEvent &&other) |
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< WheelEvent > | fromWeb (emscripten::val webEvent) |
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 | |
DeltaMode | deltaMode |
bool | webkitDirectionInvertedFromDevice |
QPointF | delta |
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 253 of file qwasmevent.h.
WheelEvent::WheelEvent | ( | EventType | type, |
emscripten::val | webEvent ) |
Definition at line 297 of file qwasmevent.cpp.
References delta, deltaMode, Line, Page, Pixel, and webkitDirectionInvertedFromDevice.
Referenced by fromWeb().
|
default |
|
default |
|
default |
|
static |
Definition at line 324 of file qwasmevent.cpp.
References WheelEvent(), and Wheel.
Referenced by QWasmWindow::QWasmWindow().
|
default |
|
default |
QPointF WheelEvent::delta |
Definition at line 266 of file qwasmevent.h.
Referenced by WheelEvent().
DeltaMode WheelEvent::deltaMode |
Definition at line 264 of file qwasmevent.h.
Referenced by WheelEvent().
bool WheelEvent::webkitDirectionInvertedFromDevice |
Definition at line 265 of file qwasmevent.h.
Referenced by WheelEvent().