#include <bcskeyboard.h>
|
| enum | KeyType {
AllKeyRelease = 0,
CharKey = 1,
CapsLock = 2,
NumLock = 3,
Backspace = 4,
Return = 5,
Tabulator = 6,
Space = 7,
ModifierOnly =8,
Escape = 9
} |
| |
| enum | Modifier {
None = 0,
Ctrl = 1,
Shift = 2,
Alt = 4,
AltGr = 8,
GUI = 16
} |
| |
|
| static MKey | fromCharName (QString) |
| | returns a key object matching the encoded character name from a layout file More...
|
| |
| Enumerator |
|---|
| AllKeyRelease |
|
| CharKey |
|
| CapsLock |
|
| NumLock |
|
| Backspace |
|
| Return |
|
| Tabulator |
|
| Space |
|
| ModifierOnly |
|
| Escape |
|
| Enumerator |
|---|
| None |
|
| Ctrl |
|
| Shift |
|
| Alt |
|
| AltGr |
|
| GUI |
|
| MKey::MKey |
( |
const MKey & |
k, |
|
|
Modifiers |
m |
|
) |
| |
| MKey::MKey |
( |
const MKey & |
| ) |
|
|
default |
| MKey::MKey |
( |
QChar |
c, |
|
|
Modifiers |
m = None |
|
) |
| |
| MKey MKey::fromCharName |
( |
QString |
n | ) |
|
|
static |
returns a key object matching the encoded character name from a layout file
References Alt, AltGr, Backspace, CapsLock, Ctrl, Escape, MKey(), None, NumLock, Return, Shift, Space, and Tabulator.
Referenced by MHidBarcodeScanner::MHidBarcodeScanner(), and MHidKeyLayout::parseLayout().
| bool MKey::isPrintable |
( |
bool |
ignoremodifier = false | ) |
const |
| bool MKey::isValid |
( |
| ) |
const |
|
inline |
| Modifiers MKey::modifiers |
( |
| ) |
const |
|
inline |
| bool MKey::operator!= |
( |
const MKey & |
k | ) |
|
|
inline |
| bool MKey::operator== |
( |
const MKey & |
k | ) |
|
| MKey::Q_DECLARE_FLAGS |
( |
Modifiers |
, |
|
|
Modifier |
|
|
) |
| |
| QChar MKey::toChar |
( |
bool |
ignoremodifier = false | ) |
const |
| QString MKey::toCharName |
( |
| ) |
const |
returns the encoded character name as used in layout files
References AllKeyRelease, Alt, AltGr, Backspace, CapsLock, CharKey, Ctrl, Escape, NumLock, Return, Shift, Space, and Tabulator.
| MKey MKey::toLower |
( |
| ) |
const |
|
inline |
| MKey MKey::toUpper |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: