def paths_from_indexes(model, indexes, item_type=TreeWidgetItem.TYPE, item_filter=None):
 items = [model.itemFromIndex(i) for i in indexes]
 return paths_from_items(items, item_type=item_type, item_filter=item_filter)

def paths_from_indexes ( model , indexes , item_type = TreeWidgetItem . TYPE , item_filter = None ) : items = [ model . itemFromIndex ( i ) for i in indexes ] return paths_from_items ( items , item_type = item_type , item_filter = item_filter )
return paths from a list of qstandarditemmodel indexes .