[PyKDE] Huge amount of time

Carlos Moreira duduca007 at yahoo.com
Wed Aug 20 20:30:00 BST 2003


Hello,

     I have a very simple QTable with 65536 rows. I
need to change the row labels to hex, I do this by
using the code below:

<code>
for line_label in
range(0,self.verticalHeader().count()):
     self.verticalHeader().setLabel(line_label, "#" +
(hex(line_label)[2:].upper()).zfill(4) )
</code>

But I need some help.....this simple code take a huge
of time to change all row header labels. Is there some
alternative to program this ?

               Thanks

Cadu

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




More information about the PyQt mailing list