[Qt-interest] About the shortcut for global.

Andre Somers andre at familiesomers.nl
Wed Sep 1 18:29:33 CEST 2010


  Op 1-9-2010 7:46, lvbing lvbing schreef:
> hello everyone:
> I have a problem about the application's shortcut.
>
> I want to setting some shortcut like "Ctrl+A" to do something,like run 
> some script or to stop the audio.
>
> But the key point is when the application is not in active,lost the 
> focus or it is minimize, how the application can receive the key event?
>
> In WinXP,I can use the hook,but how in the Linux?
>
> thanks
You might want to take a look at QxtGlobalShortcut:
http://doc.libqxt.org/tip/qxtglobalshortcut.html

André


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100901/8fa54aee/attachment.html 


More information about the Qt-interest-old mailing list