def setDebug(self): setLogger(self.logger, logging.DEBUG)
# **** slots **** def ping_slot(self): self.sendMessageToBack(MessageObject("ping", lis = [1,2,3])) def test1(): mp = QMultiProcess() mp.go() time.sleep(3) print("try ping") mp.ping_slot() time.sleep(3) print("exit") mp.requestStop() mp.waitStop() if __name__ == "__main__": import logging setLogger(logger, logging.DEBUG) test1() """TODO - Test with Qt window: press button => mp => outgoing signal to qlabel - Create multiprocess (yolo) listening to several client processes. Use pipe_handller. """