![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
The class exposing KeyEvent to QML. More...
#include <qmlkeyevent.h>
Public Member Functions | |
QmlKeyEvent (QKeyEvent *keyEvent=nullptr, QObject *parent=nullptr) | |
int | count () const |
bool | isAutoRepeat () const |
int | key () const |
int | modifiers () const |
quint32 | nativeModifiers () const |
quint32 | nativeScanCode () const |
quint32 | nativeVirtualKey () const |
QString | text () const |
void | clear () |
Properties | |
int | count |
number of keys involved in this event More... | |
bool | autoRepeat |
checks if the event comes from an auto-repeating key More... | |
int | key |
key code which is pressed/released More... | |
int | modifiers |
modifiers associated with the event More... | |
quint32 | nativeModifiers |
native modifiers of the event More... | |
quint32 | nativeScanCode |
native scan code of the event More... | |
quint32 | nativeVirtualKey |
native virtual key, or key sum of the event More... | |
QString | text |
Returns the Unicode text that this key generated. More... | |
The class exposing KeyEvent to QML.
Definition at line 26 of file qmlkeyevent.h.
|
explicit |
Definition at line 21 of file qmlkeyevent.cpp.
void QmlKeyEvent::clear | ( | ) |
Definition at line 91 of file qmlkeyevent.cpp.
int QmlKeyEvent::count | ( | ) | const |
Definition at line 27 of file qmlkeyevent.cpp.
bool QmlKeyEvent::isAutoRepeat | ( | ) | const |
Definition at line 35 of file qmlkeyevent.cpp.
int QmlKeyEvent::key | ( | ) | const |
Definition at line 43 of file qmlkeyevent.cpp.
int QmlKeyEvent::modifiers | ( | ) | const |
Definition at line 51 of file qmlkeyevent.cpp.
quint32 QmlKeyEvent::nativeModifiers | ( | ) | const |
Definition at line 59 of file qmlkeyevent.cpp.
quint32 QmlKeyEvent::nativeScanCode | ( | ) | const |
Definition at line 67 of file qmlkeyevent.cpp.
quint32 QmlKeyEvent::nativeVirtualKey | ( | ) | const |
Definition at line 75 of file qmlkeyevent.cpp.
QString QmlKeyEvent::text | ( | ) | const |
Definition at line 83 of file qmlkeyevent.cpp.
|
read |
checks if the event comes from an auto-repeating key
Definition at line 1 of file qmlkeyevent.h.
|
read |
number of keys involved in this event
Definition at line 1 of file qmlkeyevent.h.
|
read |
key code which is pressed/released
Definition at line 1 of file qmlkeyevent.h.
|
read |
modifiers associated with the event
Definition at line 1 of file qmlkeyevent.h.
|
read |
native modifiers of the event
Definition at line 1 of file qmlkeyevent.h.
|
read |
native scan code of the event
Definition at line 1 of file qmlkeyevent.h.
|
read |
native virtual key, or key sum of the event
Definition at line 1 of file qmlkeyevent.h.
|
read |
Returns the Unicode text that this key generated.
Definition at line 1 of file qmlkeyevent.h.