<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Tong,<br>
<br>
maybe what you want is "QtWidgets.qApp.processEvents()"? (make
sure to look at the one with the optional argument for maxtime)<br>
<a class="moz-txt-link-freetext" href="http://doc.qt.io/qt-5/qcoreapplication.html#processEvents-1">http://doc.qt.io/qt-5/qcoreapplication.html#processEvents-1</a><br>
<br>
On 21/09/2018 20.22, Tong Zhang wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CABUYRu4aFG7VDw-HzaZLtVObf9i287e-pDjcwaLkynNEe2-bfA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>When I'm building applications by wxPython, there is a
function wx.MilliSleep could be used to do non-GUI-block
sleep, while I cannot find the similar thing in PyQt, is it
available or not? Otherwise, what I can do to is to use
QThread. Any comment is appreciated!</div>
<div><br>
</div>
<div>Tong<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
<p><br>
</p>
</body>
</html>