def visit_SplitLayout(self, node):
        children = []
        for item in node.items:
            self.visit(item)
            children.append(self.stack.pop())
        children = filter(None, children)
        if len(children) == 0:
            self.stack.append(None)
            return
        if len(children) == 1:
            self.stack.append(children[0])
            return
        splitter = QDockSplitter(self.ORIENTATION[node.orientation])
        for child in children:
            splitter.addWidget(child)
        if len(node.sizes) >= splitter.count():
            splitter.setSizes(node.sizes)
        self.stack.append(splitter)
Visit a SplitLayout node.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/docking/layout_builder.py/LayoutBuilder.visit_SplitLayout