[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] =?utf-8?q?QMap=2C_QHash=3F?=
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2012-11-17 9:33:57
Message-ID: 74f60ce75ab2fb9ddf38a737ba76d6f8 () localhost
[Download RAW message or body]

On Fri, 16 Nov 2012 15:18:29 -0800, David Cortesi <davecortesi@gmail.com>
wrote:
> On Fri, Nov 16, 2012 at 2:20 PM, Phil Thompson
> <phil@riverbankcomputing.com> wrote:
>> On Fri, 16 Nov 2012 10:34:12 -0800, David Cortesi
<davecortesi@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.

The best source of simple help (ie. argument and result types) is help()
because it is generated automatically and should always be correct.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic