__init __(parent) self.layout = QVBoxLayout(self) self.tabs = QTabWidget() # Add tabs self.tabs.addTab(Test(), "Tab1") self.tabs.
確定! 回上一頁