> It seems clear to me that there is a performance loss caused by the fact
> that the compare() method (which is obviously a bottleneck for the
> sorting routine) is now in the script instead of the binary Qt library.

Hi Fernando,

It's not clear to me, not at least without seeing your code.  Can you post it, 
or post some digest of it?  

> Since customized sorting for ListViews seems like such a common task for
> me, I am wondering whether I did something wrong, or if there is another
> way of doing this within PyQt.

Have you tried re-implementing QListViewItem.key() ?


-- 
Troy Melhase, [EMAIL PROTECTED]
--
It is not as a child that I believe and confess Jesus Christ.  My Hosanna is 
born of a furnace of doubt. - Fyodor Dostoevsky

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to