def METHOD_NAME(self, pos):
    rect = self.boundingRect()
    if pos.y() - rect.top() < rect.height() / 2:
        self.drop_indicator_position = QAbstractItemView.AboveItem
    else:
        self.drop_indicator_position = QAbstractItemView.BelowItem
    self.update()