def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def _get_drag_data(self, dragged_item):
    return str(self._items.index(dragged_item))