Beispiel #1
0
    def start(self):
        # Start a timer to allow for ctrl+c handling
        self.timer = QTimer()
        self.timer.start(500)
        self.timer.timeout.connect(lambda: None)

        self.primaryWindow = QPrimaryWindow(self.radio)
        self.primaryWindow.show()

        # Start the update thread
        RadioThread(self.primaryWindow, self.radio).start()

        self.exec_()