首页 > comp > gb.qt4 > key 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
Key (gb.qt4)
This class is used for getting information about a key event, and contains the constants that represent the keys.

NEVER use the key values directly, as they change between GUI components. Always use these constants!

NEVER use numeric values or the Asc function to test an alphabetic key, use the Key array accessor.

代号
该类是静态类。
该类行为像一个只读数组。

静态 属性  常数 
Alt  Code  Control  Meta  Normal  Shift  State  Text    BackSpace  BackTab  CapsLock  Delete  Down  End  Enter  Esc  Escape  F1  F10  F11  F12  F13  F14  F15  F16  F17  F18  F19  F2  F20  F21  F22  F23  F24  F3  F4  F5  F6  F7  F8  F9  Help  Home  Insert  Left  Menu  NumLock  PageDown  PageUp  Pause  Print  Return  Right  ScrollLock  Space  SysReq  Tab  Up