def main():
from PySide import QtGui
from bar_widget import BarWidget
app = QtGui.QApplication(sys.argv)
widget = BarWidget()
widget.setWindowTitle('Direction Of Arrival')
widget.show()
doa = DOA()
quit_event = threading.Event()
thread = threading.Thread(target=doa.start, args=(quit_event, widget.setBars))
thread.start()
app.exec_()
quit_event.set()
thread.join()
评论列表
文章目录