The Key class is used for the keys on the on screen keyboard.
More...
#include "framework/keyboard/internal/Key.h"
|
| Key () |
|
| Key (QString text, QString shiftText) |
|
QString | text (void) |
|
void | setText (QString text) |
|
QString | shiftText (void) |
|
void | setShiftText (QString text) |
|
KeyboardUtils::KeyType | type (void) |
|
void | setType (KeyboardUtils::KeyType type) |
|
QString | displayText (void) |
|
void | setDisplayText (QString text) |
|
QString | displayShiftText (void) |
|
void | setDisplayShiftText (QString text) |
|
bool | dead (void) |
|
bool | isDead (void) |
|
void | setDead (bool dead) |
|
bool | shiftDead (void) |
|
bool | isShiftDead (void) |
|
void | setShiftDead (bool dead) |
|
|
QString | m_text |
|
QString | m_shiftText |
|
KeyboardUtils::KeyType | m_type = KeyboardUtils::KeyType_Any |
|
QString | m_displayText |
|
QString | m_displayShiftText |
|
bool | m_dead = false |
|
bool | m_shiftDead = false |
|
The Key class is used for the keys on the on screen keyboard.
◆ Key() [1/2]
◆ Key() [2/2]
Key::Key |
( |
QString |
text, |
|
|
QString |
shiftText |
|
) |
| |
Constructs Key (with properties).
◆ isDead()
bool Key::isDead |
( |
void |
| ) |
|
◆ isShiftDead()
bool Key::isShiftDead |
( |
void |
| ) |
|
◆ dead
True if this is a dead key.
◆ displayShiftText
QString Key::displayShiftText |
|
readwrite |
The text (for combination with the shift key) visible on the keyboard.
◆ displayText
The text visible on the keyboard.
◆ shiftDead
True if this is a dead key when pressed with shift.
◆ shiftText
The text for this key when pressed with shift.
◆ text
◆ type
KeyboardUtils::KeyType Key::type |
|
readwrite |
The documentation for this class was generated from the following files:
- src/framework/keyboard/internal/Key.h
- src/framework/keyboard/internal/Key.cpp