code: def selectionComponents(self):
          
          comps = []
          model = self.model()
          for comp in self._selectedComponents:
              index = model.indexByComponent(comp)
              if index is not None:
                  comps.append(comp)
          return comps
docs: Returns the names of the component types in this selection