code: def keyPressEvent(self, event):
          
          key = event.key()
          if key == QtCore.Qt.Key_X:
              self.actionXref()
          elif key == QtCore.Qt.Key_G:
              self.actionGoto()
          elif key == QtCore.Qt.Key_X:
              self.actionXref()
          elif key == QtCore.Qt.Key_I:
              self.actionInfo()
          elif key == QtCore.Qt.Key_R:
              self.reload_java_sources()
docs: Keyboard shortcuts