code: def show_editor(self):
          
          index = self.proxy_model.mapToSource(self.currentIndex())
          row, column = index.row(), index.column()
          shortcuts = self.source_model.shortcuts
          context = shortcuts[row].context
          name = shortcuts[row].name
  
          sequence_index = self.source_model.index(row, SEQUENCE)
          sequence = sequence_index.data()
  
          dialog = ShortcutEditor(self, context, name, sequence, shortcuts)
  
          if dialog.exec_():
              new_sequence = dialog.new_sequence
              self.source_model.setData(sequence_index, new_sequence)
docs: Create, setup and display the shortcut editor dialog.