Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QKeyboardMap Namespace Reference

Classes

struct  Composing
struct  Mapping

Enumerations

enum  Flags { IsDead = 0x01 , IsLetter = 0x02 , IsModifier = 0x04 , IsSystem = 0x08 }
enum  System {
  SystemConsoleFirst = 0x0100 , SystemConsoleMask = 0x007f , SystemConsoleLast = 0x017f , SystemConsolePrevious = 0x0180 ,
  SystemConsoleNext = 0x0181 , SystemReboot = 0x0200 , SystemZap = 0x0300
}
enum  Modifiers {
  ModPlain = 0x00 , ModShift = 0x01 , ModAltGr = 0x02 , ModControl = 0x04 ,
  ModAlt = 0x08 , ModShiftL = 0x10 , ModShiftR = 0x20 , ModCtrlL = 0x40 ,
  ModCtrlR = 0x80
}

Functions

static bool operator< (const Mapping &m1, const Mapping &m2)
Qt::KeyboardModifiers toQtModifiers (quint8 mod)

Variables

const quint32 FileMagic = 0x514d4150

Enumeration Type Documentation

◆ Flags

Enumerator
IsDead 
IsLetter 
IsModifier 
IsSystem 

Definition at line 38 of file qkeyboardmap_p.h.

◆ Modifiers

Enumerator
ModPlain 
ModShift 
ModAltGr 
ModControl 
ModAlt 
ModShiftL 
ModShiftR 
ModCtrlL 
ModCtrlR 

Definition at line 61 of file qkeyboardmap_p.h.

◆ System

Enumerator
SystemConsoleFirst 
SystemConsoleMask 
SystemConsoleLast 
SystemConsolePrevious 
SystemConsoleNext 
SystemReboot 
SystemZap 

Definition at line 45 of file qkeyboardmap_p.h.

Function Documentation

◆ operator<()

bool QKeyboardMap::operator< ( const Mapping & m1,
const Mapping & m2 )
static

Definition at line 369 of file main.cpp.

◆ toQtModifiers()

Qt::KeyboardModifiers QKeyboardMap::toQtModifiers ( quint8 mod)
inline

Definition at line 74 of file qkeyboardmap_p.h.

Variable Documentation

◆ FileMagic

const quint32 QKeyboardMap::FileMagic = 0x514d4150

Definition at line 26 of file qkeyboardmap_p.h.