[PyQt] long running operations

Hans-Peter Jansen hpj at urpla.net
Fri Apr 1 21:05:28 BST 2011

[Oops, wrong key..]

On Friday 01 April 2011, 20:53:41 Eric Frederich wrote:
> I'd like to be able to do something in PyQt that I know how to do in
> Java / Swing and that is run certain processes off of the EDT (event
> dispatch thread).
> Normally, I lock down different parts of the gui before hand, and
> then re-enable them after the operation is done.
> This must be possible in PyQt but I'm looking for someone to point me
> in the right direction.
> Does Qt have support for this type of stuff, and then which should I
> use to do it.... Python or Qt?

Is it QWidget.setEnabled(bool) and QThread() what you're after?

You might rephrase your question to be more specific. 


More information about the PyQt mailing list