[PyQt] 2 Updates for the modeltest in PyQt4

Andreas Pakulat apaku at gmx.de
Sun Feb 20 21:00:39 GMT 2011


Hi,

just started a new project with PyQt which will involve a model, hence
I've sat down and checked wether the python-version of the modeltest is
up-to-date with the C++ version.

There turned out to be one bug (broken signal names) and the C++ version
now also checks the layoutChanged signal. Attached two patches fix that.
I didn't test yet against an actual model, so might have done something
wrong in porting.

Andreas

-- 
You have the body of a 19 year old.  Please return it before it gets wrinkled.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-signal-names.patch
Type: text/x-diff
Size: 2919 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110220/7d8792c5/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-new-check-for-layout-changes.patch
Type: text/x-diff
Size: 2414 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110220/7d8792c5/attachment-0001.patch>


More information about the PyQt mailing list