[PyQt] Pyuic4 bug in PyQt4 snapshot?

Phil Thompson phil at riverbankcomputing.com
Wed Mar 3 15:17:29 GMT 2010


On Wed, 3 Mar 2010 16:02:05 +0200, Umit Oztosun <umit at oztosun.net> wrote:
> 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)

Should be fixed in tonight's snapshot - thanks.

Phil


More information about the PyQt mailing list