code: def componentSelection(self, comp):
          
          # current row which is selected in auto parameters to all component selection to
          indexes = self.selectedIndexes()
          index = indexes[0]
          self.model().toggleSelection(index, comp)
docs: Toggles the selection of *comp* from the currently active parameter