pyqtSignals not emitted in QThread worker
问题 I have an implementation of a BackgroundTask object that looks like the following: class BackgroundTask(QObject): ''' A utility class that makes running long-running tasks in a separate thread easier :type task: callable :param task: The task to run :param args: positional arguments to pass to task :param kawrgs: keyword arguments to pass to task .. warning :: There is one **MAJOR** restriction in task: It **cannot** interact with any Qt GUI objects. doing so will cause the GUI to crash. This