[Qt-interest] Detect keyboard keys?

John Weeks john at wavemetrics.com
Fri Jun 17 17:02:11 CEST 2011


On Jun 17, 2011, at 12:33 AM, Bo Thorsen wrote:

> That question is useless since pressing caps in another app carries over 
> to this one.
> 
> To the OP: You can't do this with Qt, you have to do it with native 
> code. I tried testing for this in a password dialog once, but eventually 
> I gave up.
> 
> I agree with Thiago on the qApp modifiers, and it doesn't help anyway. 
> You need to both get the current state and be notified about changes to 
> the caps lock state.

Thank you for clarifying this, Bo.

Regards, John Weeks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110617/6fef2274/attachment.html 


More information about the Qt-interest-old mailing list