aboutsummaryrefslogtreecommitdiff
path: root/src/gui/signal.py
blob: 99100f1a1519317b9b8ac9db048e0bd637bf8da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from PyQt5 import QtCore

class Reload(QtCore.QObject):
    _signal = QtCore.pyqtSignal(name = "reload")

    def __init__(self):
        QtCore.QObject.__init__(self)

    def emit(self):
        self._signal.emit()

    def connect(self, f):
        self._signal.connect(f)