[Qt-interest] Virtual Keyboard
Paolo Quadrani
p.quadrani at cineca.it
Fri Nov 26 10:54:25 CET 2010
Hi all,
I'm trying to simulate the kayboard press event to allow my server application to generate keyboard event (like the press of F1 or a combination of keys like Ctrl+Z) to send to the active application like if the key press event was coming from the real keyboard.
In Qt documentation I found everything related to event send/post QKeyEvent to a given QWidget but I can not find anything related to post event on OS like I can do using Cocoa (on Mac for example) by using native call:
CGEventPost(kCGSessionEventTap, self.keyCommandDown);
I need to be cross platform, so the reason of using Qt and not directly the Cocoa call.
Thanks for the help / suggestions
Paolo Quadrani
_________________________________
CINECA
High Performance Computing Department
Via Magnanelli 6/3 40033
Casalecchio di Reno
Italy
http://bit.ly/9pqADE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101126/6a1efa90/attachment.html
More information about the Qt-interest-old
mailing list