Seems to me that this key code is only useful for listening to see if the key is pressed or setting and unsetting its state. I need a way to determine whether or not it has already been pressed, so to speak. My application needs to know if caps lock is on or off, as well as for scroll/num/kana. Is there a function that will query the state of these locks in Qt?
Bookmarks