Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

set shortcut for Qaction pyqt5

save=QAction("Save",self)
save.setShortcut("Ctrl+S") # can be also other keys like "Ctrl+Alt+S" etc.
 
PREVIOUS NEXT
Tagged: #set #shortcut #Qaction
ADD COMMENT
Topic
Name
9+5 =