code: def select_row(self, steps):
          
          row = (self.currentRow() + steps) % self.count()
          self.setCurrentRow(row)
docs: Move selected row a number of steps.
  
          Iterates in a cyclic behaviour.