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

#include <qwasmevent.h>

Inheritance diagram for KeyEvent:
Collaboration diagram for KeyEvent:

Public Member Functions

 KeyEvent (EventType type, emscripten::val webEvent, QWasmDeadKeySupport *deadKeySupport)
Public Member Functions inherited from Event
 Event (EventType type, emscripten::val webEvent)
bool isTargetedForQtElement () const
emscripten::val target () const

Public Attributes

Qt::Key key
QFlags< Qt::KeyboardModifiermodifiers
bool deadKey
QString text
bool autoRepeat
Public Attributes inherited from Event
emscripten::val webEvent
EventType type

Detailed Description

Definition at line 66 of file qwasmevent.h.

Constructor & Destructor Documentation

◆ KeyEvent()

KeyEvent::KeyEvent ( EventType type,
emscripten::val webEvent,
QWasmDeadKeySupport * deadKeySupport )

Definition at line 115 of file qwasmevent.cpp.

References QWasmDeadKeySupport::applyDeadKeyTranslations(), autoRepeat, and deadKey.

Here is the call graph for this function:

Member Data Documentation

◆ autoRepeat

bool KeyEvent::autoRepeat

Definition at line 74 of file qwasmevent.h.

Referenced by KeyEvent().

◆ deadKey

bool KeyEvent::deadKey

Definition at line 72 of file qwasmevent.h.

Referenced by KeyEvent(), and QWasmDeadKeySupport::applyDeadKeyTranslations().

◆ key

Qt::Key KeyEvent::key

Definition at line 70 of file qwasmevent.h.

◆ modifiers

QFlags<Qt::KeyboardModifier> KeyEvent::modifiers

Definition at line 71 of file qwasmevent.h.

◆ text

QString KeyEvent::text

Definition at line 73 of file qwasmevent.h.


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