def visit_QDockTabWidget(self, tabs):
        children = []
        for index in xrange(tabs.count()):
            self.visit(tabs.widget(index))
            children.append(self.stack.pop())
        layout = TabLayout(*children)
        layout.index = tabs.currentIndex()
        layout.tab_position = self.TAB_POSITION[tabs.tabPosition()]
        self.stack.append(layout)
Resources that wish to enable themselves to be shared with
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/docking/layout_saver.py/LayoutSaver.visit_QDockTabWidget--crossover with--dataset/ETHPy150Open corydolphin/flask-cors/tests/decorator/test_vary_header.py/VaryHeaderTestCase.test_varying_origin