def set_index(self, index):
        """Set the current index to the row of the given index

        :param index: the index to set the level to
        :type index: QtCore.QModelIndex
        :returns: None
        :rtype: None
        :raises: None
        """
        self.setCurrentIndex(index)
        self.new_root.emit(index)
        self.scrollTo(index)
Set the current index to the row of the given index

        :param index: the index to set the level to
        :type index: QtCore.QModelIndex
        :returns: None
        :rtype: None
        :raises: None