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
WheelEvent Struct Reference

#include <qwasmevent.h>

Inheritance diagram for WheelEvent:
Collaboration diagram for WheelEvent:

Public Member Functions

 WheelEvent (EventType type, emscripten::val webEvent)
Public Member Functions inherited from MouseEvent
 MouseEvent (EventType type, emscripten::val webEvent)
Public Member Functions inherited from Event
 Event (EventType type, emscripten::val webEvent)
bool isTargetedForQtElement () const
emscripten::val target () const

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::KeyboardModifiermodifiers
Public Attributes inherited from Event
emscripten::val webEvent
EventType type

Additional Inherited Members

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)

Detailed Description

Definition at line 153 of file qwasmevent.h.

Constructor & Destructor Documentation

◆ WheelEvent()

WheelEvent::WheelEvent ( EventType type,
emscripten::val webEvent )

Definition at line 214 of file qwasmevent.cpp.

References deltaMode, Line, Page, Pixel, and webkitDirectionInvertedFromDevice.

Member Data Documentation

◆ delta

QPointF WheelEvent::delta

Definition at line 159 of file qwasmevent.h.

◆ deltaMode

DeltaMode WheelEvent::deltaMode

Definition at line 157 of file qwasmevent.h.

Referenced by WheelEvent().

◆ webkitDirectionInvertedFromDevice

bool WheelEvent::webkitDirectionInvertedFromDevice

Definition at line 158 of file qwasmevent.h.

Referenced by WheelEvent().


The documentation for this struct was generated from the following files: