def timerEvent(self, event): if event.timerId() == self.fTimerId: self.dump() QDialog.timerEvent(self, event)