[PyQt] Large Table Example in PyQt4
B Clowers
clowersb at yahoo.com
Fri Dec 21 00:20:08 GMT 2007
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 QAbstractTableModel example that I found on the web:
http://iwiwdsmi.blogspot.com/2007/12/pyqt-43-qtableview-qabstracttable-model.html
This has been useful but if I load a large numpy array (5 x 250,000) into this example it is insanely slow. It seems as though there was a "bigtable.py" example for PyQt3 but I cannot seem to port this to version 4. The Qt website also discusses the use of large tables when programming C++ but this is out of my league. Does anyone have a simple solution to this problem or perhaps a quick example that I can insert a numpy array into? Again, I'm pretty new to python but am eager to learn.
Cheers,
Brian
---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071221/5d13bb4b/attachment.html
More information about the PyQt
mailing list