Need more flexible keyboard control (Language Help)
I have looked in the QT toolkit and do not see that functionality, exactly. This question has been around for a long time and has not been resolved, as I can find, See [link=http://lists.trolltech.com/qt-interest/1999-04/thread00135-0.html]http://lists.trolltech.com/qt-interest/1999-04/thread00135-0.html[/link] and Google.
It looks like the key press and release events could be trapped and a global array could be used to keep track of all keystrokes (when a program is running and when one is not) to the UI. The new eventFilter(s) for keyPressEvent/keyReleaseEvent would need to be added to all of the main UI widgets, keep a public array/list, and create a statement to read the array. Sounds like a lot of work. The other solutions on the Web use OS specific functions ad be even more cumbersome, especially since this must work for windoz, LINUX, and OSX.
I'm still thinking.
- Need more flexible keyboard control - NewM, 2011-04-06, 14:44