example needed: sip + Qt

Uwe Mayer merkosh at hadiko.de
Fri Jan 28 17:22:05 EST 2005


On Friday 28 January 2005 14:24 pm, Craig Ringer wrote:
> Out of curiosity, would this be for an extension module used in an
> embedded Python interpreter, or for plain extension module for use with
> a standalone interpreter?

I am writing an application program using Python and PyQt:
https://savannah.nongnu.org/projects/lmc/

At one point I am using a QListView but need my items to be sorted 
numerically. There is no function to set the sort-criterea and the solution 
to this is subclassing QListViewItem and overwrite the comparison functions. 
However, doing so in Python was awfully slow for a greater number of items, 
so I want to rewrite this in C++ and wrap it back to python.

Ciao
Uwe
-- 
Kilroe hic erat!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 492 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050128/c6a1f1ea/attachment.sig>


More information about the Python-list mailing list