[PyQt] best way to keep user interface responsive ?
Giuseppe Corbelli
giuseppe.corbelli at copanitalia.com
Fri May 29 14:56:02 BST 2015
On 28/05/2015 16:46, younes hdz wrote:
> Hello,
> One button on my user interface do work that takes few minutes. I
> want to keep the user interface responsive while the task is getting
> done in background. what is the best way to do this in pyqt ?
Maybe start it in another thread. Or call QApplication.processEvents() from
the lengthy method.
--
Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666318 Fax: +390302659932
E-mail: giuseppe.corbelli at copanitalia.com
More information about the PyQt
mailing list