[Interest] What is Qt::Key_Cancel?
Allan Sandfeld Jensen
kde at carewolf.com
Thu Jul 9 14:08:47 CEST 2020
On Donnerstag, 9. Juli 2020 12:41:14 CEST Tor Arne Vestbø wrote:
> It’s mapped to e.g. VK_CANCEL on Windows:
>
> ❯ git grep Key_Cancel
>
> dist/changes-4.2.0:1246: * Added
> several missing keys to the Key enum: Key_Cancel, Key_Printer,
> src/corelib/global/qnamespace.h:1060: Key_Cancel = 0x01020001,
> src/corelib/global/qnamespace.qdoc:1829: \value Key_Cancel
> src/gui/kernel/qkeysequence.cpp:693: { Qt::Key_Cancel,
> QT_TRANSLATE_NOOP("QShortcut", "Cancel") },
> src/gui/platform/unix/qxkbcommon.cpp:163: Xkb2Qt<XKB_KEY_Cancel,
> Qt::Key_Cancel>,
> src/platformsupport/input/evdevkeyboard/qevdevkeyboard_defaultmap_p.h:664:
> { KEY_CANCEL, 0xffff, Qt::Key_Cancel, 0x00, 0x00, 0x0000 },
> src/plugins/platforms/windows/qwindowskeymapper.cpp:214: Qt::Key_Cancel,
> // 3 0x03 VK_CANCEL | Control-Break processing
>
> Don’t know what physical key would produce this.
>
CTRL + Pause/Break on Windows supposedly.
'Allan
More information about the Interest
mailing list