def __init__(self):
self.receivingQueue = Utils.globals.receivingQueue
self.sendingQueue = Utils.globals.sendingQueue
self.app = QtWidgets.QApplication(sys.argv)
self.MainWindow = QtWidgets.QMainWindow()
self.ui = Ui_MainWindow()
self.stack = Stack()
# Start UI
self.ui.setupUi(self.MainWindow)
# Init components
self.init_components()
UI_updater(self.ui).start()
# CLose UI
self.MainWindow.show()
sys.exit(self.app.exec_())
# define the actions when event triggered by the UI
评论列表
文章目录