2
2019-08-22 12:05:29 +08:00
@chengxiao
```
class BaiduYunObject(QObject):
stop_procession_signal=pyqtSignal()
def __init__(self,parent=None):
super(BaiduYunObject,self).__init__(parent)
def main(self):
print(11)
self.stop_procession_signal.emit()
class BaiduYunProcessingThread(QObject):
def __init__(self,detect_url,search_url,add_url,multi_search_url):
super().__init__()
self.process_thread= QThread()
self.process_thread1= QThread()
self.procession=BaiduYunObject()
self.procession.moveToThread(self.process_thread1)
self.procession.moveToThread(self.process_thread)
self.process_thread.started.connect(self.procession.main)
self.process_thread1.started.connect(self.procession.main)
self.procession.stop_procession_signal.connect(