[PyQt] [PyQt 4.5 Bug] Derived signals do not present

Alexandr N Zamaraev tonal at promsoft.ru
Thu Apr 9 07:15:24 BST 2009


Code for reproduce:
[code=python]
from PyQt4 import QtGui

sm = QtGui.QSortFilterProxyModel()
sm.modelReset.conncet(lambda: None)
[/code]
Traceback (most recent call last):
   File "C:\Lang\test\python\PyQtSignalBug\QtSortProxy.py", line 4, in 
<module>
     sm.modelReset.conncet(lambda: None)
AttributeError: 'QSortFilterProxyModel' object has no attribute 'modelReset'

Signal modelReset has in QAbstractItemModel.

Os Windows Vista Home Ru + sp1
g++ (GCC) 3.4.5 (mingw-vista special r3)
Qt 4.5 (self build)
sip-4.8-snapshot-20090401 (self build)
PyQt-win-gpl-4.5-snapshot-20090328.zip (self build)



More information about the PyQt mailing list