class Thermometer:

    def __init__(self, pot):
        self.pot = pot
self.pot.temperatureRaisedSignal.connect(self.temperatureWarning)

def StartMeasure(self):
    self.pot.Boil()

def temperatureWarning(self):
    print('Too high temperature!')
if __name__ == '__main__':
    pot = Pot()
th = Thermometer(pot)
th.StartMeasure()
Как подключить pyqtSignal между классами в PyQT