def postEvent(self, receiver, event): if receiver is None: receiver = self.getMainWindow() qt.QApplication.postEvent(receiver, QtCustomEvent.create(event))
def postEvent(self, receiver, event): qt.QApplication.postEvent(receiver, QtCustomEvent.create(event))