On Thu, 09 Apr 2009 13:15:24 +0700, Alexandr N Zamaraev <[email protected]> wrote: > 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)
Should be fixed in tonight's PyQt snapshot - there was a whole group of signals missing from the .sip file. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
