[PyQt] wx.MilliSleep equivalent

Chris Pezley chris at pezley.net
Sat Sep 22 07:02:32 BST 2018

Hi Tong,

maybe what you want is "QtWidgets.qApp.processEvents()"? (make sure to 
look at the one with the optional argument for maxtime)

On 21/09/2018 20.22, Tong Zhang wrote:
> Hello,
> 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!
> Tong
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180922/29812f7a/attachment.html>

More information about the PyQt mailing list