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

#include <qwasmevent.h>

Inheritance diagram for Event:
Collaboration diagram for Event:

Public Member Functions

 Event (EventType type, emscripten::val webEvent)
bool isTargetedForElement (emscripten::val element) const
emscripten::val target () const

Static Public Member Functions

static emscripten::val composedTarget (emscripten::val webEvent)

Public Attributes

emscripten::val webEvent
EventType type

Detailed Description

Definition at line 55 of file qwasmevent.h.

Constructor & Destructor Documentation

◆ Event()

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

Definition at line 100 of file qwasmevent.cpp.

References type.

Member Function Documentation

◆ composedTarget()

emscripten::val Event::composedTarget ( emscripten::val webEvent)
static

Definition at line 105 of file qwasmevent.cpp.

Referenced by eventQtWindow().

Here is the caller graph for this function:

◆ isTargetedForElement()

bool Event::isTargetedForElement ( emscripten::val element) const

Definition at line 110 of file qwasmevent.cpp.

◆ target()

emscripten::val Event::target ( ) const
inline

Definition at line 65 of file qwasmevent.h.

Member Data Documentation

◆ type

EventType Event::type

Definition at line 64 of file qwasmevent.h.

Referenced by Event().

◆ webEvent

emscripten::val Event::webEvent

Definition at line 63 of file qwasmevent.h.


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