I've been reading on qtcentre that it is possible to populate a model from a separate qthread in order to prevent a program from freezing before it loads, however the example code I have seen is a bit too much involved (and in c++) for me to comprehend. I was wondering if anyone knew of a pyqt program that did, or could point me toward some code snippets doing this.

The only thing that I can gather is that I need to create the qthread in the __init__ method of my model and call it's run command. However, I can't figure out what exactly need to go in the run method, or what signals to emit/catch.

Thansk in advance for any help
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to