Create and return a level for the given depth

        The model and root of the level will be automatically set by the browser.

        :param depth: the depth level that the level should handle
        :type depth: int
        :returns: a new level for the given depth
        :rtype: :class:`jukeboxcore.gui.widgets.browser.AbstractLevel`
        :raises: None

def create_level(self, depth):
        """Create and return a level for the given depth

        The model and root of the level will be automatically set by the browser.

        :param depth: the depth level that the level should handle
        :type depth: int
        :returns: a new level for the given depth
        :rtype: :class:`jukeboxcore.gui.widgets.browser.AbstractLevel`
        :raises: None
        """
        ll = ListLevel(parent=self)
        ll.setEditTriggers(ll.DoubleClicked | ll.SelectedClicked | ll.CurrentChanged)
        #ll.setSelectionBehavior(ll.SelectRows)
        ll.setResizeMode(ll.Adjust)
        self.delegate = CommentDelegate(ll)
        ll.setItemDelegate(self.delegate)
        ll.setVerticalScrollMode(ll.ScrollPerPixel)
        return ll