开发者

How to convert a Windows native virtual key code to Qt::Key?

I am working on a program which communicates with a windows native program, so it n开发者_JS百科eeds the actucal native virtual key code. How to convert from a Windows native virtual key code to Qt::Key?


Look in the file qt\src\gui\kernel\qkeymapper_win.cpp


If you have access to a QKeyEvent, key() and nativeVirtualKey may help.

From Assistant, qthelp://com.trolltech.qt.472/qdoc/qkeyevent.html#details

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜