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)
Public Member Functions inherited from Event
 Event (EventType type, emscripten::val webEvent)
bool isTargetedForElement (emscripten::val element) const
emscripten::val target () const

Public Attributes

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

Detailed Description

Definition at line 65 of file qwasmevent.h.

Constructor & Destructor Documentation

◆ KeyEvent()

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

Definition at line 114 of file qwasmevent.cpp.

References autoRepeat, deadKey, isComposing, and keyCode.

Member Data Documentation

◆ autoRepeat

bool KeyEvent::autoRepeat

Definition at line 73 of file qwasmevent.h.

Referenced by KeyEvent().

◆ deadKey

bool KeyEvent::deadKey

Definition at line 71 of file qwasmevent.h.

Referenced by KeyEvent().

◆ isComposing

bool KeyEvent::isComposing

Definition at line 74 of file qwasmevent.h.

Referenced by KeyEvent().

◆ key

Qt::Key KeyEvent::key

Definition at line 69 of file qwasmevent.h.

◆ keyCode

int KeyEvent::keyCode

Definition at line 75 of file qwasmevent.h.

Referenced by KeyEvent().

◆ modifiers

QFlags<Qt::KeyboardModifier> KeyEvent::modifiers

Definition at line 70 of file qwasmevent.h.

◆ text

QString KeyEvent::text

Definition at line 72 of file qwasmevent.h.


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