Esempio n. 1
0
 def postEventWithCallback(self, callback, *args):
     self.queue.put((callback, args))
     QtGui.qApp.postEvent(self, QtCore.QEvent(QtCore.QEvent.User))
Esempio n. 2
0
 def postYotonEvent(self):
     try:
         QtGui.qApp.postEvent(self, QtCore.QEvent(QtCore.QEvent.User))
     except Exception:
         pass  # If IEP is shutting down, the app may be None