[PyQt] Implement get in QAbstractListModel, PyQT 5.2 snapshot

Johnny Karlsson Johnny.Karlsson2 at hiq.se
Mon Nov 25 08:26:24 GMT 2013


Hi!

I'm trying to  implement a get method in PyQt for the QAbstractListModel but I can't seem to get it to work. 

The code in qml: 

var toggleState = dataModel.get(index).active

Is that method supposed to be built into the PyQt QAbstractListModel or how to I implement it?

Regards

Johnny Karlsson


More information about the PyQt mailing list