[PyKDE] PyQt4 QStringList

Doug Bell dougb at bellz.org
Sat Jan 14 20:56:49 GMT 2006


Hi,

I've noticed that the use of QStringList is more common in Qt4.  But
using the C++ stream operators to initialize a it doesn't seem very
Pythonic.

Would it be possible to allow the QStringList constructor to
automatically convert from a Python list of strings?  Or am I missing an
easier way to do it?

Thanks,
Doug.




More information about the PyQt mailing list