📜  为 Qaction pyqt5 设置快捷方式 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:25.779000             🧑  作者: Mango
代码示例1
save=QAction("Save",self)
save.setShortcut("Ctrl+S") # can be also other keys like "Ctrl+Alt+S" etc.