[PyQt] QtCore.QAbstractItemModel.beginMoveRows missing in pyqt 4.7.3?
blaven at gmail.com
Tue Nov 27 20:39:58 GMT 2012
At work, we've got pyqt 4.7.3 installed on our linux boxes. While trying
to subclass a QAbstractItemModel, I've found that it doesn't seem to have a
beginMoveRows or endMoveRows. Here is some terminal output:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: type object 'QAbstractItemModel' has no attribute
The docs I have say it was added in version 4.6 but for some reason I can't
find it here at work. If I need to reimplement this functions, is it
#change internal list of data
#do something with changePersistentIndex
What exactly do I need to do with changePersistentIndex?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt