You have two large culprits here:
tv.resizeColumnsToContents()
and
for row in xrange(nrows):
tv.setRowHeight(row, 18)
Both can take a very long period of time.
resizeColumnsToContents is the worst offender as it has to scan every
piece of data in your column, determine its size
On Thu, 20 Dec 2007 16:20:08 -0800 (PST), B Clowers wrote:
> I am fairly new to python and programming as a whole and would like to
> develop a small application capable of plotting simple 2D graphs and also
> display such data in a table. In my initial assessment of PyQt4 I have
> been able to l
I am fairly new to python and programming as a whole and would like to develop
a small application capable of plotting simple 2D graphs and also display such
data in a table. In my initial assessment of PyQt4 I have been able to load my
data into a table but it is terribly slow. I am using a Q