Why don't you just call setShortcut on the QPushButton? void setShortcut ( const QKeySequence & key ).
確定! 回上一頁