[PyQt] ANN: PyQt v4.8.1 Released
Linos
info at linos.es
Wed Nov 3 15:56:02 GMT 2010
Hello Phil,
i have a problem with this version and a QFormLayout, this code in the .ui file:
<item row="8" column="1">
<widget class="QSpinBox" name="avisoMinimaRotacionSpinBox">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QLabel" name="avisoMinimaRotacionLabel">
<property name="text">
<string>AVISO MIN ROTACION:</string>
</property>
<property name="buddy">
<cstring>avisoMinimaRotacionSpinBox</cstring>
</property>
</widget>
</item>
ends like this in the generated file:
self.avisoMinimaRotacionSpinBox = QtGui.QSpinBox(self.datos_generales_tab)
self.avisoMinimaRotacionSpinBox.setMinimumSize(QtCore.QSize(80, 0))
self.avisoMinimaRotacionSpinBox.setObjectName(_fromUtf8("avisoMinimaRotacionSpinBox"))
self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole,
self.avisoMinimaRotacionSpinBox)
self.avisoMinimaRotacionLabel = QtGui.QLabel(self.datos_generales_tab)
self.avisoMinimaRotacionLabel.setObjectName(_fromUtf8("avisoMinimaRotacionLabel"))
self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole,
self.avisoMinimaRotacionLabel)
self.avisoMaximaRotacionLabel = QtGui.QLabel(self.datos_generales_tab)
should be the reverse obviously, the .ui file it is rendered correctly in QT
Designer, could this be other pyuic bug?
Regards,
Miguel Angel.
El 30/10/10 13:47, Phil Thompson escribió:
> PyQt v4.8.1 has been released and is available from the usual place.
>
> This is just a minor bug-fix release that fixes the pyuic4 regression
> introduced in v4.8.
>
> Phil
> _______________________________________________
> PyQt mailing list PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
More information about the PyQt
mailing list