Hi everybody,

i am developing s/w for embedded device.

I am trying to catch all the keys and corresponding message display in my application.
i am able to get all the key event(0,1,2....., A,B,C....., and even special characters keys like right arrow, left arrow, backspace etc).
But only two keys(CANCEL, and one FUNCTION) i am not able to get. Qt not generate event for these two keys.
I have tasted it by re-implementing the keyPressEvent, but not getting event for those two keys.
But these two keys are working fine..... by h/w there is no problem. Only i am not able to get corresponding event
in my application for those keys.

I have reimplemented keyPressEvent like this and tested it.

Qt Code:
  1. void MyWidget::keyPressEvent( QKeyEvent *e )
  2. {
  3. qDebug("Event : key value is : %d",e->key());
  4. }
To copy to clipboard, switch view to plain text mode 

I am able to get all the key values except those two keys
Can you tel me........Where is the problem?

thanks in advance !!!!