PDA

View Full Version : How to distinguish left and right shift keys



sanjayshelke
20th November 2008, 12:28
Hi,

I am handling keyPressEvent() in my customized QWidget.

I need to distinguish between LEFT SHIFT and RIGHT SHIFT keys in this handler.

How to distinguish the keys.

Thanks in advance.

regards,
~Sanjay

lyuts
20th November 2008, 13:58
I don't think there is an easy way to do this.

sanjayshelke
21st November 2008, 08:27
Ok...

Then i may have to go for some platform specific apis.

Thanks,


regards,:)
~Sanjay