![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Translates Windows keys to QWindowSystemInterface events. More...
#include <qwindowskeymapper.h>
Public Member Functions | |
QWindowsKeyMapper () | |
~QWindowsKeyMapper () | |
void | changeKeyboard () |
void | setUseRTLExtensions (bool e) |
bool | useRTLExtensions () const |
void | setDetectAltGrModifier (bool a) |
bool | detectAltGrModifier () const |
bool | translateKeyEvent (QWindow *widget, HWND hwnd, const MSG &msg, LRESULT *result) |
To be called from the window procedure. | |
QWindow * | keyGrabber () const |
void | setKeyGrabber (QWindow *w) |
Qt::KeyboardModifiers | queryKeyboardModifiers () const override |
QList< QKeyCombination > | possibleKeyCombinations (const QKeyEvent *e) const override |
Public Member Functions inherited from QPlatformKeyMapper | |
virtual | ~QPlatformKeyMapper () |
Translates Windows keys to QWindowSystemInterface events.
In addition, handles some special keys to display system menus, etc. The code originates from qkeymapper_win.cpp
.
Definition at line 38 of file qwindowskeymapper.h.
|
explicit |
Definition at line 63 of file qwindowskeymapper.cpp.
References changeKeyboard().
|
default |
void QWindowsKeyMapper::changeKeyboard | ( | ) |
Definition at line 603 of file qwindowskeymapper.cpp.
Referenced by QWindowsKeyMapper(), and translateKeyEvent().
|
inline |
Definition at line 51 of file qwindowskeymapper.h.
|
inline |
Definition at line 55 of file qwindowskeymapper.h.
|
overridevirtual |
Reimplemented from QPlatformKeyMapper.
Definition at line 1337 of file qwindowskeymapper.cpp.
|
overridevirtual |
Reimplemented from QPlatformKeyMapper.
Definition at line 1323 of file qwindowskeymapper.cpp.
|
inline |
Definition at line 50 of file qwindowskeymapper.h.
Definition at line 56 of file qwindowskeymapper.h.
|
inline |
Definition at line 47 of file qwindowskeymapper.h.
bool QWindowsKeyMapper::translateKeyEvent | ( | QWindow * | widget, |
HWND | hwnd, | ||
const MSG & | msg, | ||
LRESULT * | result ) |
To be called from the window procedure.
Definition at line 821 of file qwindowskeymapper.cpp.
References changeKeyboard().
|
inline |
Definition at line 48 of file qwindowskeymapper.h.