(self, view)
return [model.mapToSource(r) for r in rows]
Return the selected rows in the view.
Return the selected rows in the view.
Return the selected rows in the view .
def selected_rows(self, view):
        """ Return the selected rows in the view.
        """
        rows = view.selectionModel().selectedRows()
        model = view.model()
        return [model.mapToSource(r) for r in rows]
def selected_rows ( self , view ) : rows = view . selectionModel ( ) . selectedRows ( ) model = view . model ( ) return [ model . mapToSource ( r ) for r in rows ]