[PyQt] Pyuic4 bug in PyQt4 snapshot?
Umit Oztosun
umit at oztosun.net
Wed Mar 3 14:02:05 GMT 2010
Hello,
I tried the latest PyQt4 snapshot together with the latest Sip snapshot. I
noticed a problem with the order of QSpacerItem parameters. Attached are a
test ui file, together with outputs of pyuic4 4.7 and
snapshot-4.7.1-307e5cccaf6c. A quick diff reveals:
5,6c5,6
< # Created: Wed Mar 03 15:51:18 2010
< # by: PyQt4 UI code generator 4.7
---
> # Created: Wed Mar 03 15:51:45 2010
> # by: PyQt4 UI code generator snapshot-4.7.1-307e5cccaf6c
18c18
< spacerItem = QtGui.QSpacerItem(145, 20,
QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
---
> spacerItem = QtGui.QSpacerItem(145, 20, QtGui.QSizePolicy.Minimum,
QtGui.QSizePolicy.Expanding)
23c23
< spacerItem1 = QtGui.QSpacerItem(144, 20,
QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
---
> spacerItem1 = QtGui.QSpacerItem(144, 20,
QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
Best regards,
--
Umit Oztosun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100303/2be71bb6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ui
Type: application/octet-stream
Size: 1255 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100303/2be71bb6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_4_7.py
Type: application/octet-stream
Size: 1349 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100303/2be71bb6/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_snpsht.py
Type: application/octet-stream
Size: 1373 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100303/2be71bb6/attachment-0002.obj>
More information about the PyQt
mailing list