Hook key & key combinations from keyboard with Qt 4.6

Posted by Viet on Stack Overflow See other posts from Stack Overflow or by Viet
Published on 2010-06-05T11:31:10Z Indexed on 2010/06/05 11:52 UTC
Read the original article Hit count: 171

Filed under:
|
|
|
|

Let's say I have a window-less application which has only an icon on the Taskbar (Windows, Mac OS X & Linux). I want it to capture some key & key combinations, let's say Right Control + Right Shift. Upon keying in correct, combination, it will do something, say take screenshot. I can do window-less app, icon on the Taskbar and screen capture but I don't know how to monitor keyboard globally for key combinations. Please kindly advise. Any help or hint is greatly appreciated! Thanks in advance!

© Stack Overflow or respective owner

Related posts about qt4

Related posts about keyboard