[PyQt] Calling slots in a QThread?

Lukas Hetzenecker LuHe at gmx.at
Wed Aug 12 18:04:46 BST 2009


Hello,

is it possible to connect signals from a Widget to a slot in a QThread and 
ensure that the Widget responds to keypress and mouse events?

I attached my first try, but it doesn't work, the UI blocks until the execution 
of the function is finished.

Thanks for your help,
Lukas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: text/x-python
Size: 1323 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090812/9fb427fb/main.py


More information about the PyQt mailing list