[Interest] Key_Cancel on Macintosh

Konstantin Tokarev annulen at yandex.ru
Tue Mar 20 18:24:04 CET 2012

20.03.2012, 21:20, "John Weeks" <john at wavemetrics.com>:
> On Windows, I can filter keypress events looking for Qt::Key_Cancel, which is generated by pressing Ctrl+Break.The Macintosh equivalent is Cmd-period. As far as I can make out, the Cocoa system catches that key combination and sends some sort of cancel event instead of a key event.
> My question: is there a way to catch this in Qt on Macintosh?

Try to catch it with event filter. If it fails you probably will need to write custom ObjC code.


More information about the Interest mailing list