Button.setShortcut

Button.setShortcut(self, arg__1: PySide6.QtCore.Qt.Key) None
Button.setShortcut(self, key: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int) None