On Fri, Nov 16, 2012 at 2:20 PM, Phil Thompson
wrote:
> On Fri, 16 Nov 2012 10:34:12 -0800, David Cortesi
> 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 impo
Certainly, I'm doing something wrong, but I must be missing it.
I've made a little demo script that downloads a file from ftp & updates a
progress bar while doing so. The downloading & updating the progress bar works
fine, however, I'm trying to do the next step which is to take a url that look
On Fri, 16 Nov 2012 10:34:12 -0800, David Cortesi
wrote:
> Working on implementing a List model using QAbstractListModel and
> would like to implement (set)itemData which returns a QMap.
>
> QMap seems to be Qt's version of a dict, a list of key:value pairs.
> (QHash is apparently similar.) The p
Working on implementing a List model using QAbstractListModel and
would like to implement (set)itemData which returns a QMap.
QMap seems to be Qt's version of a dict, a list of key:value pairs.
(QHash is apparently similar.) The point of itemData/setItemData is to
return or set the data for every