Answers for "set shortcut for Qaction pyqt5"

0

set shortcut for Qaction pyqt5

save=QAction("Save",self)
save.setShortcut("Ctrl+S") # can be also other keys like "Ctrl+Alt+S" etc.
Posted by: Guest on November-26-2020

Python Answers by Framework

Browse Popular Code Answers by Language