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>.
Loading...
Searching...
No Matches
KeyboardModifier Namespace Reference

Namespaces

namespace  internal
 

Functions

template<>
QFlags< Qt::KeyboardModifiergetForEvent< EmscriptenKeyboardEvent > (const EmscriptenKeyboardEvent &event)
 
template<typename Event >
QFlags< Qt::KeyboardModifiergetForEvent (const Event &event)
 
template<>
QFlags< Qt::KeyboardModifiergetForEvent< EmscriptenKeyboardEvent > (const EmscriptenKeyboardEvent &event)
 

Function Documentation

◆ getForEvent()

template<typename Event >
QFlags< Qt::KeyboardModifier > KeyboardModifier::getForEvent ( const Event & event)

Definition at line 115 of file qwasmevent.h.

Referenced by KeyEvent::KeyEvent(), and MouseEvent::MouseEvent().

+ Here is the caller graph for this function:

◆ getForEvent< EmscriptenKeyboardEvent >() [1/2]

template<>
QFlags< Qt::KeyboardModifier > KeyboardModifier::getForEvent< EmscriptenKeyboardEvent > ( const EmscriptenKeyboardEvent & event)

Definition at line 38 of file qwasmevent.cpp.

References QString::fromUtf8(), i, Qt::Key_6, Qt::Key_Apostrophe, Qt::Key_AsciiTilde, Qt::Key_Dead_Acute, Qt::Key_Dead_Circumflex, Qt::Key_Dead_Diaeresis, Qt::Key_Dead_Grave, Qt::Key_Dead_Tilde, Qt::Key_E, Qt::Key_I, Qt::Key_N, Qt::Key_QuoteLeft, Qt::Key_U, Qt::Key_unknown, QString::length(), QWasmKeyTranslator::mapWebKeyTextToQtKey(), Qt::ShiftModifier, and str.

+ Here is the call graph for this function:

◆ getForEvent< EmscriptenKeyboardEvent >() [2/2]

template<>
QFlags< Qt::KeyboardModifier > KeyboardModifier::getForEvent< EmscriptenKeyboardEvent > ( const EmscriptenKeyboardEvent & event)

Definition at line 38 of file qwasmevent.cpp.

References QString::fromUtf8(), i, Qt::Key_6, Qt::Key_Apostrophe, Qt::Key_AsciiTilde, Qt::Key_Dead_Acute, Qt::Key_Dead_Circumflex, Qt::Key_Dead_Diaeresis, Qt::Key_Dead_Grave, Qt::Key_Dead_Tilde, Qt::Key_E, Qt::Key_I, Qt::Key_N, Qt::Key_QuoteLeft, Qt::Key_U, Qt::Key_unknown, QString::length(), QWasmKeyTranslator::mapWebKeyTextToQtKey(), Qt::ShiftModifier, and str.

+ Here is the call graph for this function: