[Qt-interest] loading large data into QTable

Navid Parvini parvini_navid at yahoo.com
Wed Oct 14 09:20:33 CEST 2009


Dear All,

I have problem to load large data into QTable. I have
a numarray data with 100,000x3 dimensions and I want to load it into a
QTable object. I use the following code:

         for i in xrange( 100000 ):
            for j in xrange( 3 ):
                self.table.setText( i, j, str(data[i][j])  )

but it takes a lot of time. Would you please help me in order to do it faster?

Thanks a lot.
Navid



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091014/86a2e43b/attachment.html 


More information about the Qt-interest-old mailing list