[PyKDE] Wrapping a custom Model into Python

Tobias Rundström tru at xmms.org
Wed Aug 16 20:14:18 BST 2006


Hello List,

What is the best practice of wrapping a custom QAbstractItemModel  
into PyQt? I developed a ItemModel that I want to use in a C++  
program aswell as in my Python program, the best way seems to be to  
write it in C++ and then wrap it into PyQt, this allows sharing the  
model code. What is the best way of doing this?

Thanks,

Tobias




More information about the PyQt mailing list