[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] Implement get in QAbstractListModel, PyQT 5.2 snapshot
From: Johnny Karlsson <Johnny.Karlsson2 () hiq ! se>
Date: 2013-11-25 8:26:24
Message-ID: 1DF07B52FC7DAA4C883C30036628A0142B7D549A () HIQQBEXC101 ! sto ! hiq ! se
[Download RAW message or body]
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
_______________________________________________
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