[PyKDE] Adding QListViewItems from a thread

Mike Kinton mike.kinton at waymaker.co.uk
Tue Feb 25 09:10:01 GMT 2003

I have a function in the main thread that adds an item to a QListView.  If
called from the main thread, this works fine.  However if I call this same
function from a separate thread, the items are displayed in the lsit view,
but QlistView seems to lose the pointer(s) to the items in QListView.

I have used the python thread module and have not put any locking in.

this is my first effort at using of threads so I may have made some silly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030225/36066ae2/attachment.html

More information about the PyQt mailing list