#NEWLINE# @ cached_property #NEWLINE# def _get_selected_indices( self ) : #NEWLINE# #INDENT# 'Gets the row,column indices which match the selected trait' #NEWLINE# selection_items = self . table_view . selectionModel ( ) . selection ( ) #NEWLINE# indices = self . model . mapSelectionToSource ( selection_items ) . indexes ( ) #NEWLINE# return [ ( index . row ( ) , index . column ( ) ) for index in indices ]