[PyKDE] PyQt4 Update

David Boddie david at boddie.org.uk
Sun Dec 4 21:42:06 GMT 2005


On Sunday 04 December 2005 21:25, Phil Thompson wrote:

> Yes - I shouldn't have used the word "bug".
>
> SIP doesn't support automatic type converters like C++ does, so I've been
> adding %ConvertToTypeCode in various places to make things a bit more
> convenient. This is one such place.

I can't remember whether PyQt3 supported this, but it would also be quite
useful to have convenience convertors for QBrush(QColor(...)) and
QPen(QColor(...)). I'm sure there are many more of these waiting to be
discovered!

David




More information about the PyQt mailing list