![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qwindowskeymapper.h"#include "qwindowscontext.h"#include "qwindowsintegration.h"#include "qwindowswindow.h"#include "qwindowsinputcontext.h"#include <QtGui/qguiapplication.h>#include <QtGui/qwindow.h>#include <qpa/qwindowsysteminterface.h>#include <private/qguiapplication_p.h>#include <private/qhighdpiscaling_p.h>#include <QtGui/qevent.h>#include <QtGui/private/qwindowsguieventdispatcher_p.h>#include <QtCore/private/qdebug_p.h>#include <QtCore/private/qtools_p.h>Go to the source code of this file.
Classes | |
| struct | KeyRecord |
| struct | KeyRecorder |
Macros | |
| #define | LANG_PASHTO 0x63 |
| #define | LANG_SYRIAC 0x5a |
| #define | LANG_DIVEHI 0x65 |
| #define | VK_OEM_PLUS 0xBB |
| #define | VK_OEM_3 0xC0 |
| #define | enabled (MF_BYCOMMAND | MFS_ENABLED) |
| #define | disabled (MF_BYCOMMAND | MFS_GRAYED) |
Functions | |
| static void | clearKeyRecorderOnApplicationInActive (Qt::ApplicationState state) |
| static constexpr quint32 | getScancode (const MSG &msg) |
| QDebug | operator<< (QDebug d, const KeyboardLayoutItem &k) |
| quint32 | winceKeyBend (quint32 keyCode) |
| static quint32 | toKeyOrUnicode (quint32 vk, quint32 scancode, unsigned char *kbdBuffer, bool *isDeadkey=nullptr) |
| static int | asciiToKeycode (char aa, int state) |
| void | setKbdState (unsigned char *kbd, bool shift, bool ctrl, bool alt) |
| static QString | messageKeyText (const MSG &msg) |
| static int | getTitleBarHeight (const HWND hwnd) |
| static bool | isSystemMenuOffsetNeeded (const Qt::WindowFlags flagsflags) |
| static void | showSystemMenu (QWindow *ww) |
| static void | sendExtendedPressRelease (QWindow *ww, unsigned long timestamp, int k, Qt::KeyboardModifiers mods, quint32 nativeScanCode, quint32 nativeVirtualKey, quint32 nativeModifiers, const QString &text=QString(), bool autorep=false, ushort countcount=1) |
| static bool | isAltGr (MSG *msg) |
Variables | |
| static const int | QT_MAX_KEY_RECORDINGS = 64 |
| static KeyRecorder | key_recorder |
| static const uint | KeyTbl [] |
| static const uint | CmdTbl [] |
| static const Qt::KeyboardModifiers | ModsTbl [] |
| static const size_t | NumMods = sizeof ModsTbl / sizeof *ModsTbl |
| #define disabled (MF_BYCOMMAND | MFS_GRAYED) |
| #define enabled (MF_BYCOMMAND | MFS_ENABLED) |
| #define LANG_DIVEHI 0x65 |
Definition at line 83 of file qwindowskeymapper.cpp.
| #define LANG_PASHTO 0x63 |
Definition at line 77 of file qwindowskeymapper.cpp.
| #define LANG_SYRIAC 0x5a |
Definition at line 80 of file qwindowskeymapper.cpp.
| #define VK_OEM_3 0xC0 |
Definition at line 89 of file qwindowskeymapper.cpp.
| #define VK_OEM_PLUS 0xBB |
Definition at line 86 of file qwindowskeymapper.cpp.
|
inlinestatic |
Definition at line 583 of file qwindowskeymapper.cpp.
|
static |
Definition at line 130 of file qwindowskeymapper.cpp.
References KeyRecorder::clearKeys(), and key_recorder.
Definition at line 93 of file qwindowskeymapper.cpp.
|
inlinestaticnodiscard |
Definition at line 743 of file qwindowskeymapper.cpp.
|
static |
Definition at line 908 of file qwindowskeymapper.cpp.
|
inlinestaticnodiscard |
Definition at line 756 of file qwindowskeymapper.cpp.
Definition at line 737 of file qwindowskeymapper.cpp.
| QDebug operator<< | ( | QDebug | d, |
| const KeyboardLayoutItem & | k ) |
Definition at line 521 of file qwindowskeymapper.cpp.
|
inlinestatic |
Definition at line 814 of file qwindowskeymapper.cpp.
|
inline |
Definition at line 634 of file qwindowskeymapper.cpp.
Definition at line 764 of file qwindowskeymapper.cpp.
|
inlinestatic |
Definition at line 555 of file qwindowskeymapper.cpp.
Remap return or action key to select key for windows mobile.
Definition at line 549 of file qwindowskeymapper.cpp.
|
static |
Definition at line 447 of file qwindowskeymapper.cpp.
|
static |
Definition at line 128 of file qwindowskeymapper.cpp.
Referenced by clearKeyRecorderOnApplicationInActive().
|
static |
Definition at line 183 of file qwindowskeymapper.cpp.
|
static |
Definition at line 506 of file qwindowskeymapper.cpp.
Definition at line 517 of file qwindowskeymapper.cpp.
|
static |
Definition at line 117 of file qwindowskeymapper.cpp.
Referenced by KeyRecorder::storeKey().