Recognize X11/XCB keysyms Undo, Redo, Find, Cancel
Convert these keysyms into the corresponding Qt::Key_ enum values, so that they can be part of a QKeySequence and used by applications. Task-number: QTBUG-69062 Change-Id: I6f2e28191dd8dacd63d4bf710e1714fc5dcce75f Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>bb10
parent
d88e0fd512
commit
558dd7f587
|
|
@ -138,6 +138,13 @@ static const unsigned int KeyTbl[] = {
|
|||
XKB_KEY_KP_Decimal, Qt::Key_Period,
|
||||
XKB_KEY_KP_Divide, Qt::Key_Slash,
|
||||
|
||||
// special non-XF86 function keys
|
||||
|
||||
XKB_KEY_Undo, Qt::Key_Undo,
|
||||
XKB_KEY_Redo, Qt::Key_Redo,
|
||||
XKB_KEY_Find, Qt::Key_Find,
|
||||
XKB_KEY_Cancel, Qt::Key_Cancel,
|
||||
|
||||
// International input method support keys
|
||||
|
||||
// International & multi-key character composition
|
||||
|
|
|
|||
Loading…
Reference in New Issue