4#ifndef QWINDOWSKEYMAPPER_H
5#define QWINDOWSKEYMAPPER_H
7#include <QtCore/qt_windows.h>
9#include <QtCore/qlocale.h>
60 bool translateKeyEventInternal(
QWindow *receiver,
MSG msg,
bool grab, LRESULT *lResult);
61 bool translateMultimediaKeyEventInternal(
QWindow *receiver,
const MSG &msg);
62 void updateKeyMap(
const MSG &msg);
64 bool m_useRTLExtensions;
69 void updatePossibleKeyCodes(
unsigned char *kbdBuffer,
quint32 scancode,
quint32 vk_key);
73 QChar m_lastHighSurrogate;
74 static const size_t NumKeyboardLayoutItems = 256;
76 bool m_detectAltGrModifier =
false;
77 bool m_seenAltGr =
false;
The QKeyEvent class describes a key event.
Translates Windows keys to QWindowSystemInterface events.
bool translateKeyEvent(QWindow *widget, HWND hwnd, const MSG &msg, LRESULT *result)
To be called from the window procedure.
bool detectAltGrModifier() const
void setUseRTLExtensions(bool e)
QWindow * keyGrabber() const
bool useRTLExtensions() const
void setKeyGrabber(QWindow *w)
static Qt::KeyboardModifiers queryKeyboardModifiers()
void setDetectAltGrModifier(bool a)
QList< int > possibleKeys(const QKeyEvent *e) const
Combined button and popup list for selecting options.
GLfloat GLfloat GLfloat w
[0]
GLboolean GLboolean GLboolean GLboolean a
[7]
static const size_t NumQtKeys