Need more flexible keyboard control (Language Help)

by Jim ⌂ @, Russell, KY, Friday, April 08, 2011, 14:09 (2272 days ago) @ NewM

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.

Jim


Complete thread:

 RSS Feed of thread

powered by my little forum