code: def cursor(self, pos):
          
          row = self.indexAt(pos).row()
          if row == -1:
              row = self.model().rowCount()
          row_height = self.rowHeight(0)
          y = row_height*row
          x = self.width()
          return QtCore.QLine(0,y,x,y)
docs: Returns a line at the nearest row split between tests.
  
          Re-implemented from :meth:`AbstractDragView<sparkle.gui.abstract_drag_view.AbstractDragView.cursor>`