hi, i write a simple example, it function to print the key value
this is the code:
Qt Code:
{ { qDebug()<<"kev value "<<keyEvent->key(); } }To copy to clipboard, switch view to plain text mode
but some time can not get some key value, for example end, up, down, page down key value can not print out.
please tell me what why, and have a good example to get key value.
thanks.
Bookmarks