parameters: (self, ranges)
docstring: Iterate over all prims in a QItemSelection from primView.
docstring_summary: Iterate over all prims in a QItemSelection from primView.
docstring_tokens: Iterate over all prims in a QItemSelection from primView .
function: def _primsFromSelectionRanges(self, ranges):
          """Iterate over all prims in a QItemSelection from primView."""
          for itemRange in ranges:
              for index in itemRange.indexes():
                  if index.column() == 0:
                      item = self._ui.primView.itemFromIndex(index)
                      yield item.prim
function_tokens: def _primsFromSelectionRanges ( self , ranges ) : for itemRange in ranges : for index in itemRange . indexes ( ) : if index . column ( ) == 0 : item = self . _ui . primView . itemFromIndex ( index ) yield item . prim