def setup_ui(self, MainWidget): self.status = QStatusBar() self.right_widget = RightWidget() self.left_widget = LeftScrollArea() self.top_widget = TopWidget() self.right_layout = QVBoxLayout() self.left_layout = QVBoxLayout() self.top_layout = QHBoxLayout() self.show_container = QHBoxLayout() self.control_container = QHBoxLayout() self.layout = QVBoxLayout(MainWidget) self.set_widgets() self.set_layouts()
def setup_ui(self, MainWidget): self.status = StatusBar() self.right_widget = RightWidget() self.left_widget = LeftScrollArea() self.top_widget = TopWidget() self.progress_info = QProgressBar() self.right_layout = QVBoxLayout() self.left_layout = QVBoxLayout() self.top_layout = QHBoxLayout() self.show_container = QHBoxLayout() self.control_container = QHBoxLayout() self.layout = QVBoxLayout(MainWidget) self.set_widgets() self.set_layouts() self._alias_name()