(self, y1, y2)
return start, end
Get the visible row range
Get the visible row range
Get the visible row range
def getVisibleRows(self, y1, y2):
        """Get the visible row range"""

        start = int(self.getRowPosition(y1))
        end = int(self.getRowPosition(y2))+1
        if end > self.rows:
            end = self.rows
        return start, end
def getVisibleRows ( self , y1 , y2 ) : start = int ( self . getRowPosition ( y1 ) ) end = int ( self . getRowPosition ( y2 ) ) + 1 if end > self . rows : end = self . rows return start , end