tweak signal handling

This commit is contained in:
Kamil Sopko
2016-03-25 00:59:02 +01:00
parent cac2f74be2
commit 2082446ab0
4 changed files with 70 additions and 23 deletions

View File

@@ -108,6 +108,10 @@ class App(QtCore.QObject):
# Emmited when shell command is finished(one command only)
shell_command_finished = QtCore.pyqtSignal(object)
# Emitted when an unhandled exception happens
# in the worker task.
thread_exception = QtCore.pyqtSignal(object)
message = QtCore.pyqtSignal(str, str, str)
def __init__(self, user_defaults=True, post_gui=None):