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
 def __init__(self, ctrl, argv=None):
     QtInterface.__init__(self, ctrl, argv)
     self._status = QtStatus()