44 #include <private/qevent_p.h> 45 #include <private/qlocale_p.h> Qt::LayoutDirection textDirection() const
Returns the text direction of the language.
The QKeyEvent class describes a key event.
#define QT_END_NAMESPACE
This macro expands to.
const QChar at(int i) const
Returns the character at the given index position in the string.
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
QLocale keyboardInputLocale
static QLocale system()
Returns a QLocale object initialized to the system locale.
Qt::KeyboardModifiers modifiers() const
Returns the keyboard modifier flags that existed immediately after the event occurred.
int key() const
Returns the code of the key that was pressed or released.
QList< int > possibleKeys(QKeyEvent *e)
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
QString text() const
Returns the Unicode text that this key generated.
#define QT_USE_NAMESPACE
This macro expands to using QT_NAMESPACE if QT_NAMESPACE is defined and nothing otherwise.
Qt::LayoutDirection keyboardInputDirection