(self)
return indices[visual_indices].tolist()
Return the current selected rows.
Return the current selected rows.
Return the current selected rows .
def selectedRows(self) -> Sequence[int]:
        """Return the current selected rows."""
        if self.parts is None:
            return []
        visual_indices = self.__selection_manager.selections
        indices = np.hstack([r.normalized_indices for r in self.parts.rows])
        return indices[visual_indices].tolist()
def selectedRows ( self ) -> Sequence [ int ] : if self . parts is None : return [ ] visual_indices = self . __selection_manager . selections indices = np . hstack ( [ r . normalized_indices for r in self . parts . rows ] ) return indices [ visual_indices ] . tolist ( )