Exemple #1
0
    def create_main_frame(self):

        mainBox = QVBoxLayout()
        self.phoneBox = QHBoxLayout()
        mainBox.addLayout(self.phoneBox)
        self.log_widget = LogWidget()
        mainBox.addWidget(self.log_widget)

        main_frame = QWidget()
        main_frame.setLayout(mainBox)
        main_frame.setMinimumWidth(300)

        self.setCentralWidget(main_frame)