Vincent van Beveren
Tue, 26 Jan 2010 03:07:09 -0800
Hi, I'm using a rather old (4.4.3) version of PyQT, but I was wondering if the following issue was solved:
I've created a custom component with one property being a QStringList. When I
compile this with pyuic4 it generates the following code in one of the python
modules:
self.gasFlowTestResult.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(8)
self.gasFlowTestResult.setFont(font)
self.gasFlowTestResult.setNames([<PyQt4.uic.Compiler.qtproxies.i18n_string
object at 0x00D9CD10>, <PyQt4.uic.Compiler.qtproxies.i18n_string object at
0x00D9CD30>, <PyQt4.uic.Compiler.qtproxies.i18n_string object at 0x00D9CD70>,
<PyQt4.uic.Compiler.qtproxies.i18n_string object at 0x00D9CDB0>,
<PyQt4.uic.Compiler.qtproxies.i18n_string object at 0x00D9CE10>])
Needless to say Python doesn't like this very much. Is this solved in a later
version?
Regards,
Vincent
___
Ing. V. van Beveren
Software Engineer, FOM Rijnhuizen
T: +31 (0) 30-6096769
E: v.vanbeve...@rijnhuizen.nl<mailto:v.vanbeve...@rijnhuizen.nl>
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt