[Qt-interest] how to capture two keys on the keyboard

Andre Somers andre at familiesomers.nl
Wed Jan 20 14:01:58 CET 2010


Moises Augusto wrote:
> Hi all,
>
> I have to catch a KeyEvent with two keys as CTRL + W or SHIFT + W. How do I?
>
> thanks
>   
You'll get a single key event, with the modifiers() returning if the 
CTRL or the SHIFT (or another (combination of) modifyer(s)) was pressed.

André




More information about the Qt-interest-old mailing list