Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows ネイティブ プログラムと通信するプログラムに取り組んでいるため、実際のネイティブ仮想キー コードが必要です。Windows ネイティブの仮想キー コードから Qt::Key に変換する方法は?
ファイルを見てくださいqt\src\gui\kernel\qkeymapper_win.cpp
qt\src\gui\kernel\qkeymapper_win.cpp
にアクセスできる場合はQKeyEvent、役立つ場合がkey()ありnativeVirtualKeyます。
QKeyEvent
key()
nativeVirtualKey
アシスタントから、qthelp://com.trolltech.qt.472/qdoc/qkeyevent.html#details