[PyQt] QMap, QHash?

David Cortesi davecortesi at gmail.com
Fri Nov 16 23:18:29 GMT 2012


On Fri, Nov 16, 2012 at 2:20 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On Fri, 16 Nov 2012 10:34:12 -0800, David Cortesi <davecortesi at gmail.com>
> wrote:
>> Working on implementing a List model using QAbstractListModel and
>> would like to implement (set)itemData which returns a QMap.

> Have you tried...
>
>>>> from PyQt4.QtCore import QAbstractListModel
>>>> help(QAbstractListModel.itemData)
>

Hm. Well, there's me looking at the Qt Assistant class ref instead of
the Riverside class ref.

Thanks.


More information about the PyQt mailing list