def run(self, command=None, argv=None):
     result = QtInterface.run(self, command, argv)        
     self._status.wait()
     while self._log.isVisible():
         time.sleep(0.1)
         while QtCore.QEventLoop().isRunning():
             QtGui.QCoreApplication.eventLoop().processEvents(QtGui.QEventLoop.AllEvents)
     return result
Beispiel #2
0
 def run(self, command=None, argv=None):
     result = QtInterface.run(self, command, argv)        
     self._status.wait()
     while self._log.isVisible():
         time.sleep(0.1)
         while QtGui.QApplication.eventLoop().hasPendingEvents():
             QtGui.QApplication.eventLoop().processEvents(QtGui.QEventLoop.AllEvents)
     return result