code: def keyPressEvent(self, event):
          
          event, text, key, ctrl, shift = restore_keyevent(event)
  
          if key == Qt.Key_Slash and self.isVisible():
              self.show_find_widget.emit()
docs: Reimplement Qt Method - Basic keypress event handler