[PyQt] PyQt multithreaded model/view
dboddie at trolltech.com
Thu Jan 7 15:29:47 GMT 2010
On Wed Dec 30 11:02:08 GMT 2009, Romi Agar wrote:
> I have a custom table model that gets its data from a QThread reading
> serial port data. The serial thread emits data signals that are catched in
> the main GUI thread which populates the model with serial data.
> When I try to show the data with a QTableView, then the application hangs
> because of high data rate.
> What should I do that the main application would remain responsive?
As a starting suggestion, perhaps try to cache the data in the thread and
deliver it in batches at larger intervals than the one you currently use.
More information about the PyQt