[PyQt] segfault when using a proxy and SIGNAL( "clicked(QModelIndex)" )

Andreas Pakulat apaku at gmx.de
Mon Apr 13 14:58:43 BST 2009


On 13.04.09 14:11:46, Arnold Krille wrote:
> It is a pointer for internal purposes, that is internal for the model
> so it can map indexes to the internal data structures. (And yes, that
> is needed for anything except simple list or table models.:)

<nitpick>Thats not true actually, you can create the most complex model
imaginable without using the internalPointer, simply by using the
internalId and the related createIndex overload. That also automatically
solves any problems created by python's refcounting+garbage collection
(if you forget to store a reference to an object for the model in your
model)

Andreas

-- 
Your aim is high and to the right.


More information about the PyQt mailing list