[Qt-interest] systemwide key and mouse button press events

Lars Friedrich Lars lars-friedrich at gmx.net
Tue Nov 24 13:07:55 CET 2009


Hello,

is it possible to get systemwide key press and mouse events using Qt? Is there a cross-platform Qt-functionality comparable to MS window's GetAsyncKeyState() which is not restricted to the current QApplication?

I have to build a small application with minimal user interface (which stays on top) that visualizes mouse-button-states (left/right/middle) and any key-press-states (e.g. CTRL+R is actually pressed). This tool should help to make software-tutorial-movies (of other applications) so that the observer can see which keys / mouse buttons are currently pressed ...

regards,

lars
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser



More information about the Qt-interest-old mailing list