[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] best way to keep user interface responsive ?
From:       Giuseppe Corbelli <giuseppe.corbelli () copanitalia ! com>
Date:       2015-05-29 13:56:02
Message-ID: 55686FF2.4050605 () copanitalia ! com
[Download RAW message or body]

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@copanitalia.com
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic