# 需要导入模块: from PyQt4.QtGui import QAction [as 别名]# 或者: from PyQt4.QtGui.QAction importsetShortcut[as 别名]definit():action = QAction("Open audio in Audacity", mw) action.setShortcut('Ctrl+Shift+A') action.setEnabled(True) mw.connect(action, SIGNAL('triggered()'), open...
The most used keys intersect with Ctrl, Alt and Shift, as well as F, regardless of the operating system. These are modifier keys that help designate an action. Virtually all combinations include these keys. Remember those combinations that are responsible for the actions you often repeat, and ...