Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, March 2002
Lower and Uppercase KeyPressEvent


Message 1 in thread

Hello,

Is there any way to determine between a lower case key press event and an upper case key press event?

Thanks,

Mike


Message 2 in thread

No, there is not, 
but you can for sure check the 
KeyPressevent and the KeyReleaseEvent of the Shift Button,
store the state in a variable
and so determine if the other Events are meant to be shifted.

It least I use it like that in my application.

Of there is an easier way, please tell me.
Guenther Sohler

NewLogic Technologies AG 
Millennium Park 6
A-6890 Lustenau
                                           Phone: +43-5577-62000-507
E-Mail: guenther.sohler@newlogic.com       Fax:   +43-5577-62000-988