Hi,

I have a QTreeView that displays realtime information for about 400 items. At a time, only about 10 rows are visible in the treeview. The CPU utilization is very very high (and performance is very bad).
Currently, in my model, any time one of the item's data is changed in the underlying datastore, I emit a dataChanged signal.
To optimise this a bit, I maintained a integer topmostItem and integer bottommostItem, and in a 20 msec window, all the changes in the datastore are aggregated and I emit a dataChanged(createIndex(...topmostRow), ...bottommostRow). Even this has very bad performance.

What must I do to improve performance?

Thanks in advance.