|
|
|
@ -519,143 +519,143 @@ void KeyTransSymbols::defModSyms()
|
|
|
|
|
void KeyTransSymbols::defKeySyms()
|
|
|
|
|
{
|
|
|
|
|
// Grey keys
|
|
|
|
|
defKeySym("Escape", Qt::Key_Escape );
|
|
|
|
|
defKeySym("Tab", Qt::Key_Tab );
|
|
|
|
|
defKeySym("Backtab", Qt::Key_Backtab );
|
|
|
|
|
defKeySym("Backspace", Qt::Key_Backspace );
|
|
|
|
|
defKeySym("Return", Qt::Key_Return );
|
|
|
|
|
defKeySym("Enter", Qt::Key_Enter );
|
|
|
|
|
defKeySym("Insert", Qt::Key_Insert );
|
|
|
|
|
defKeySym("Delete", Qt::Key_Delete );
|
|
|
|
|
defKeySym("Pause", Qt::Key_Pause );
|
|
|
|
|
defKeySym("Print", Qt::Key_Print );
|
|
|
|
|
defKeySym("SysReq", Qt::Key_SysReq );
|
|
|
|
|
defKeySym("Home", Qt::Key_Home );
|
|
|
|
|
defKeySym("End", Qt::Key_End );
|
|
|
|
|
defKeySym("Left", Qt::Key_Left );
|
|
|
|
|
defKeySym("Up", Qt::Key_Up );
|
|
|
|
|
defKeySym("Right", Qt::Key_Right );
|
|
|
|
|
defKeySym("Down", Qt::Key_Down );
|
|
|
|
|
defKeySym("Escape", TQt::Key_Escape );
|
|
|
|
|
defKeySym("Tab", TQt::Key_Tab );
|
|
|
|
|
defKeySym("Backtab", TQt::Key_Backtab );
|
|
|
|
|
defKeySym("Backspace", TQt::Key_Backspace );
|
|
|
|
|
defKeySym("Return", TQt::Key_Return );
|
|
|
|
|
defKeySym("Enter", TQt::Key_Enter );
|
|
|
|
|
defKeySym("Insert", TQt::Key_Insert );
|
|
|
|
|
defKeySym("Delete", TQt::Key_Delete );
|
|
|
|
|
defKeySym("Pause", TQt::Key_Pause );
|
|
|
|
|
defKeySym("Print", TQt::Key_Print );
|
|
|
|
|
defKeySym("SysReq", TQt::Key_SysReq );
|
|
|
|
|
defKeySym("Home", TQt::Key_Home );
|
|
|
|
|
defKeySym("End", TQt::Key_End );
|
|
|
|
|
defKeySym("Left", TQt::Key_Left );
|
|
|
|
|
defKeySym("Up", TQt::Key_Up );
|
|
|
|
|
defKeySym("Right", TQt::Key_Right );
|
|
|
|
|
defKeySym("Down", TQt::Key_Down );
|
|
|
|
|
defKeySym("Prior", TQt::Key_Prior );
|
|
|
|
|
defKeySym("Next", TQt::Key_Next );
|
|
|
|
|
defKeySym("Shift", Qt::Key_Shift );
|
|
|
|
|
defKeySym("Control", Qt::Key_Control );
|
|
|
|
|
defKeySym("Meta", Qt::Key_Meta );
|
|
|
|
|
defKeySym("Alt", Qt::Key_Alt );
|
|
|
|
|
defKeySym("CapsLock", Qt::Key_CapsLock );
|
|
|
|
|
defKeySym("NumLock", Qt::Key_NumLock );
|
|
|
|
|
defKeySym("ScrollLock", Qt::Key_ScrollLock );
|
|
|
|
|
defKeySym("F1", Qt::Key_F1 );
|
|
|
|
|
defKeySym("F2", Qt::Key_F2 );
|
|
|
|
|
defKeySym("F3", Qt::Key_F3 );
|
|
|
|
|
defKeySym("F4", Qt::Key_F4 );
|
|
|
|
|
defKeySym("F5", Qt::Key_F5 );
|
|
|
|
|
defKeySym("F6", Qt::Key_F6 );
|
|
|
|
|
defKeySym("F7", Qt::Key_F7 );
|
|
|
|
|
defKeySym("F8", Qt::Key_F8 );
|
|
|
|
|
defKeySym("F9", Qt::Key_F9 );
|
|
|
|
|
defKeySym("F10", Qt::Key_F10 );
|
|
|
|
|
defKeySym("F11", Qt::Key_F11 );
|
|
|
|
|
defKeySym("F12", Qt::Key_F12 );
|
|
|
|
|
defKeySym("F13", Qt::Key_F13 );
|
|
|
|
|
defKeySym("F14", Qt::Key_F14 );
|
|
|
|
|
defKeySym("F15", Qt::Key_F15 );
|
|
|
|
|
defKeySym("F16", Qt::Key_F16 );
|
|
|
|
|
defKeySym("F17", Qt::Key_F17 );
|
|
|
|
|
defKeySym("F18", Qt::Key_F18 );
|
|
|
|
|
defKeySym("F19", Qt::Key_F19 );
|
|
|
|
|
defKeySym("F20", Qt::Key_F20 );
|
|
|
|
|
defKeySym("F21", Qt::Key_F21 );
|
|
|
|
|
defKeySym("F22", Qt::Key_F22 );
|
|
|
|
|
defKeySym("F23", Qt::Key_F23 );
|
|
|
|
|
defKeySym("F24", Qt::Key_F24 );
|
|
|
|
|
defKeySym("F25", Qt::Key_F25 );
|
|
|
|
|
defKeySym("F26", Qt::Key_F26 );
|
|
|
|
|
defKeySym("F27", Qt::Key_F27 );
|
|
|
|
|
defKeySym("F28", Qt::Key_F28 );
|
|
|
|
|
defKeySym("F29", Qt::Key_F29 );
|
|
|
|
|
defKeySym("F30", Qt::Key_F30 );
|
|
|
|
|
defKeySym("F31", Qt::Key_F31 );
|
|
|
|
|
defKeySym("F32", Qt::Key_F32 );
|
|
|
|
|
defKeySym("F33", Qt::Key_F33 );
|
|
|
|
|
defKeySym("F34", Qt::Key_F34 );
|
|
|
|
|
defKeySym("F35", Qt::Key_F35 );
|
|
|
|
|
defKeySym("Super_L", Qt::Key_Super_L );
|
|
|
|
|
defKeySym("Super_R", Qt::Key_Super_R );
|
|
|
|
|
defKeySym("Menu", Qt::Key_Menu );
|
|
|
|
|
defKeySym("Hyper_L", Qt::Key_Hyper_L );
|
|
|
|
|
defKeySym("Hyper_R", Qt::Key_Hyper_R );
|
|
|
|
|
defKeySym("Shift", TQt::Key_Shift );
|
|
|
|
|
defKeySym("Control", TQt::Key_Control );
|
|
|
|
|
defKeySym("Meta", TQt::Key_Meta );
|
|
|
|
|
defKeySym("Alt", TQt::Key_Alt );
|
|
|
|
|
defKeySym("CapsLock", TQt::Key_CapsLock );
|
|
|
|
|
defKeySym("NumLock", TQt::Key_NumLock );
|
|
|
|
|
defKeySym("ScrollLock", TQt::Key_ScrollLock );
|
|
|
|
|
defKeySym("F1", TQt::Key_F1 );
|
|
|
|
|
defKeySym("F2", TQt::Key_F2 );
|
|
|
|
|
defKeySym("F3", TQt::Key_F3 );
|
|
|
|
|
defKeySym("F4", TQt::Key_F4 );
|
|
|
|
|
defKeySym("F5", TQt::Key_F5 );
|
|
|
|
|
defKeySym("F6", TQt::Key_F6 );
|
|
|
|
|
defKeySym("F7", TQt::Key_F7 );
|
|
|
|
|
defKeySym("F8", TQt::Key_F8 );
|
|
|
|
|
defKeySym("F9", TQt::Key_F9 );
|
|
|
|
|
defKeySym("F10", TQt::Key_F10 );
|
|
|
|
|
defKeySym("F11", TQt::Key_F11 );
|
|
|
|
|
defKeySym("F12", TQt::Key_F12 );
|
|
|
|
|
defKeySym("F13", TQt::Key_F13 );
|
|
|
|
|
defKeySym("F14", TQt::Key_F14 );
|
|
|
|
|
defKeySym("F15", TQt::Key_F15 );
|
|
|
|
|
defKeySym("F16", TQt::Key_F16 );
|
|
|
|
|
defKeySym("F17", TQt::Key_F17 );
|
|
|
|
|
defKeySym("F18", TQt::Key_F18 );
|
|
|
|
|
defKeySym("F19", TQt::Key_F19 );
|
|
|
|
|
defKeySym("F20", TQt::Key_F20 );
|
|
|
|
|
defKeySym("F21", TQt::Key_F21 );
|
|
|
|
|
defKeySym("F22", TQt::Key_F22 );
|
|
|
|
|
defKeySym("F23", TQt::Key_F23 );
|
|
|
|
|
defKeySym("F24", TQt::Key_F24 );
|
|
|
|
|
defKeySym("F25", TQt::Key_F25 );
|
|
|
|
|
defKeySym("F26", TQt::Key_F26 );
|
|
|
|
|
defKeySym("F27", TQt::Key_F27 );
|
|
|
|
|
defKeySym("F28", TQt::Key_F28 );
|
|
|
|
|
defKeySym("F29", TQt::Key_F29 );
|
|
|
|
|
defKeySym("F30", TQt::Key_F30 );
|
|
|
|
|
defKeySym("F31", TQt::Key_F31 );
|
|
|
|
|
defKeySym("F32", TQt::Key_F32 );
|
|
|
|
|
defKeySym("F33", TQt::Key_F33 );
|
|
|
|
|
defKeySym("F34", TQt::Key_F34 );
|
|
|
|
|
defKeySym("F35", TQt::Key_F35 );
|
|
|
|
|
defKeySym("Super_L", TQt::Key_Super_L );
|
|
|
|
|
defKeySym("Super_R", TQt::Key_Super_R );
|
|
|
|
|
defKeySym("Menu", TQt::Key_Menu );
|
|
|
|
|
defKeySym("Hyper_L", TQt::Key_Hyper_L );
|
|
|
|
|
defKeySym("Hyper_R", TQt::Key_Hyper_R );
|
|
|
|
|
|
|
|
|
|
// Regular keys
|
|
|
|
|
defKeySym("Space", Qt::Key_Space );
|
|
|
|
|
defKeySym("Exclam", Qt::Key_Exclam );
|
|
|
|
|
defKeySym("QuoteDbl", Qt::Key_QuoteDbl );
|
|
|
|
|
defKeySym("NumberSign", Qt::Key_NumberSign );
|
|
|
|
|
defKeySym("Dollar", Qt::Key_Dollar );
|
|
|
|
|
defKeySym("Percent", Qt::Key_Percent );
|
|
|
|
|
defKeySym("Ampersand", Qt::Key_Ampersand );
|
|
|
|
|
defKeySym("Apostrophe", Qt::Key_Apostrophe );
|
|
|
|
|
defKeySym("ParenLeft", Qt::Key_ParenLeft );
|
|
|
|
|
defKeySym("ParenRight", Qt::Key_ParenRight );
|
|
|
|
|
defKeySym("Asterisk", Qt::Key_Asterisk );
|
|
|
|
|
defKeySym("Plus", Qt::Key_Plus );
|
|
|
|
|
defKeySym("Comma", Qt::Key_Comma );
|
|
|
|
|
defKeySym("Minus", Qt::Key_Minus );
|
|
|
|
|
defKeySym("Period", Qt::Key_Period );
|
|
|
|
|
defKeySym("Slash", Qt::Key_Slash );
|
|
|
|
|
defKeySym("0", Qt::Key_0 );
|
|
|
|
|
defKeySym("1", Qt::Key_1 );
|
|
|
|
|
defKeySym("2", Qt::Key_2 );
|
|
|
|
|
defKeySym("3", Qt::Key_3 );
|
|
|
|
|
defKeySym("4", Qt::Key_4 );
|
|
|
|
|
defKeySym("5", Qt::Key_5 );
|
|
|
|
|
defKeySym("6", Qt::Key_6 );
|
|
|
|
|
defKeySym("7", Qt::Key_7 );
|
|
|
|
|
defKeySym("8", Qt::Key_8 );
|
|
|
|
|
defKeySym("9", Qt::Key_9 );
|
|
|
|
|
defKeySym("Colon", Qt::Key_Colon );
|
|
|
|
|
defKeySym("Semicolon", Qt::Key_Semicolon );
|
|
|
|
|
defKeySym("Less", Qt::Key_Less );
|
|
|
|
|
defKeySym("Equal", Qt::Key_Equal );
|
|
|
|
|
defKeySym("Greater", Qt::Key_Greater );
|
|
|
|
|
defKeySym("Question", Qt::Key_Question );
|
|
|
|
|
defKeySym("At", Qt::Key_At );
|
|
|
|
|
defKeySym("A", Qt::Key_A );
|
|
|
|
|
defKeySym("B", Qt::Key_B );
|
|
|
|
|
defKeySym("C", Qt::Key_C );
|
|
|
|
|
defKeySym("D", Qt::Key_D );
|
|
|
|
|
defKeySym("E", Qt::Key_E );
|
|
|
|
|
defKeySym("F", Qt::Key_F );
|
|
|
|
|
defKeySym("G", Qt::Key_G );
|
|
|
|
|
defKeySym("H", Qt::Key_H );
|
|
|
|
|
defKeySym("I", Qt::Key_I );
|
|
|
|
|
defKeySym("J", Qt::Key_J );
|
|
|
|
|
defKeySym("K", Qt::Key_K );
|
|
|
|
|
defKeySym("L", Qt::Key_L );
|
|
|
|
|
defKeySym("M", Qt::Key_M );
|
|
|
|
|
defKeySym("N", Qt::Key_N );
|
|
|
|
|
defKeySym("O", Qt::Key_O );
|
|
|
|
|
defKeySym("P", Qt::Key_P );
|
|
|
|
|
defKeySym("Q", Qt::Key_Q );
|
|
|
|
|
defKeySym("R", Qt::Key_R );
|
|
|
|
|
defKeySym("S", Qt::Key_S );
|
|
|
|
|
defKeySym("T", Qt::Key_T );
|
|
|
|
|
defKeySym("U", Qt::Key_U );
|
|
|
|
|
defKeySym("V", Qt::Key_V );
|
|
|
|
|
defKeySym("W", Qt::Key_W );
|
|
|
|
|
defKeySym("X", Qt::Key_X );
|
|
|
|
|
defKeySym("Y", Qt::Key_Y );
|
|
|
|
|
defKeySym("Z", Qt::Key_Z );
|
|
|
|
|
defKeySym("BracketLeft", Qt::Key_BracketLeft );
|
|
|
|
|
defKeySym("Backslash", Qt::Key_Backslash );
|
|
|
|
|
defKeySym("BracketRight", Qt::Key_BracketRight);
|
|
|
|
|
defKeySym("AsciiCircum", Qt::Key_AsciiCircum );
|
|
|
|
|
defKeySym("Underscore", Qt::Key_Underscore );
|
|
|
|
|
defKeySym("QuoteLeft", Qt::Key_QuoteLeft );
|
|
|
|
|
defKeySym("BraceLeft", Qt::Key_BraceLeft );
|
|
|
|
|
defKeySym("Bar", Qt::Key_Bar );
|
|
|
|
|
defKeySym("BraceRight", Qt::Key_BraceRight );
|
|
|
|
|
defKeySym("AsciiTilde", Qt::Key_AsciiTilde );
|
|
|
|
|
defKeySym("Space", TQt::Key_Space );
|
|
|
|
|
defKeySym("Exclam", TQt::Key_Exclam );
|
|
|
|
|
defKeySym("QuoteDbl", TQt::Key_QuoteDbl );
|
|
|
|
|
defKeySym("NumberSign", TQt::Key_NumberSign );
|
|
|
|
|
defKeySym("Dollar", TQt::Key_Dollar );
|
|
|
|
|
defKeySym("Percent", TQt::Key_Percent );
|
|
|
|
|
defKeySym("Ampersand", TQt::Key_Ampersand );
|
|
|
|
|
defKeySym("Apostrophe", TQt::Key_Apostrophe );
|
|
|
|
|
defKeySym("ParenLeft", TQt::Key_ParenLeft );
|
|
|
|
|
defKeySym("ParenRight", TQt::Key_ParenRight );
|
|
|
|
|
defKeySym("Asterisk", TQt::Key_Asterisk );
|
|
|
|
|
defKeySym("Plus", TQt::Key_Plus );
|
|
|
|
|
defKeySym("Comma", TQt::Key_Comma );
|
|
|
|
|
defKeySym("Minus", TQt::Key_Minus );
|
|
|
|
|
defKeySym("Period", TQt::Key_Period );
|
|
|
|
|
defKeySym("Slash", TQt::Key_Slash );
|
|
|
|
|
defKeySym("0", TQt::Key_0 );
|
|
|
|
|
defKeySym("1", TQt::Key_1 );
|
|
|
|
|
defKeySym("2", TQt::Key_2 );
|
|
|
|
|
defKeySym("3", TQt::Key_3 );
|
|
|
|
|
defKeySym("4", TQt::Key_4 );
|
|
|
|
|
defKeySym("5", TQt::Key_5 );
|
|
|
|
|
defKeySym("6", TQt::Key_6 );
|
|
|
|
|
defKeySym("7", TQt::Key_7 );
|
|
|
|
|
defKeySym("8", TQt::Key_8 );
|
|
|
|
|
defKeySym("9", TQt::Key_9 );
|
|
|
|
|
defKeySym("Colon", TQt::Key_Colon );
|
|
|
|
|
defKeySym("Semicolon", TQt::Key_Semicolon );
|
|
|
|
|
defKeySym("Less", TQt::Key_Less );
|
|
|
|
|
defKeySym("Equal", TQt::Key_Equal );
|
|
|
|
|
defKeySym("Greater", TQt::Key_Greater );
|
|
|
|
|
defKeySym("Question", TQt::Key_Question );
|
|
|
|
|
defKeySym("At", TQt::Key_At );
|
|
|
|
|
defKeySym("A", TQt::Key_A );
|
|
|
|
|
defKeySym("B", TQt::Key_B );
|
|
|
|
|
defKeySym("C", TQt::Key_C );
|
|
|
|
|
defKeySym("D", TQt::Key_D );
|
|
|
|
|
defKeySym("E", TQt::Key_E );
|
|
|
|
|
defKeySym("F", TQt::Key_F );
|
|
|
|
|
defKeySym("G", TQt::Key_G );
|
|
|
|
|
defKeySym("H", TQt::Key_H );
|
|
|
|
|
defKeySym("I", TQt::Key_I );
|
|
|
|
|
defKeySym("J", TQt::Key_J );
|
|
|
|
|
defKeySym("K", TQt::Key_K );
|
|
|
|
|
defKeySym("L", TQt::Key_L );
|
|
|
|
|
defKeySym("M", TQt::Key_M );
|
|
|
|
|
defKeySym("N", TQt::Key_N );
|
|
|
|
|
defKeySym("O", TQt::Key_O );
|
|
|
|
|
defKeySym("P", TQt::Key_P );
|
|
|
|
|
defKeySym("Q", TQt::Key_Q );
|
|
|
|
|
defKeySym("R", TQt::Key_R );
|
|
|
|
|
defKeySym("S", TQt::Key_S );
|
|
|
|
|
defKeySym("T", TQt::Key_T );
|
|
|
|
|
defKeySym("U", TQt::Key_U );
|
|
|
|
|
defKeySym("V", TQt::Key_V );
|
|
|
|
|
defKeySym("W", TQt::Key_W );
|
|
|
|
|
defKeySym("X", TQt::Key_X );
|
|
|
|
|
defKeySym("Y", TQt::Key_Y );
|
|
|
|
|
defKeySym("Z", TQt::Key_Z );
|
|
|
|
|
defKeySym("BracketLeft", TQt::Key_BracketLeft );
|
|
|
|
|
defKeySym("Backslash", TQt::Key_Backslash );
|
|
|
|
|
defKeySym("BracketRight", TQt::Key_BracketRight);
|
|
|
|
|
defKeySym("AsciiCircum", TQt::Key_AsciiCircum );
|
|
|
|
|
defKeySym("Underscore", TQt::Key_Underscore );
|
|
|
|
|
defKeySym("QuoteLeft", TQt::Key_QuoteLeft );
|
|
|
|
|
defKeySym("BraceLeft", TQt::Key_BraceLeft );
|
|
|
|
|
defKeySym("Bar", TQt::Key_Bar );
|
|
|
|
|
defKeySym("BraceRight", TQt::Key_BraceRight );
|
|
|
|
|
defKeySym("AsciiTilde", TQt::Key_AsciiTilde );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KeyTransSymbols::KeyTransSymbols()
|
|
|
|
|