Re: [PyQt] From object IDs to objects to model indexes...

2008-02-12 Thread Aaron Digulla
Dirk Wagener schrieb: > Hi > > I am using QModelIndex constructed with an id. I am using the built-in > method > id(my_object) to get an ID to construct a ModelIndex with. > If we have an index, internalId() returns the id used to create the index. > Is there a API way to get the ModelIndex from a

[PyQt] From object IDs to objects to model indexes...

2008-02-12 Thread Dirk Wagener
Hi I am using QModelIndex constructed with an id. I am using the built-in method id(my_object) to get an ID to construct a ModelIndex with. If we have an index, internalId() returns the id used to create the index. Is there a API way to get the ModelIndex from a view if we have the id used to