Phil Thompson wrote: > Works fine for me.
Doesn't work for me though: [EMAIL PROTECTED]:~$ python test.py no workaround Traceback (most recent call last): File "test.py", line 49, in paintEvent painter.setBrush(g) TypeError: argument 1 of QPainter.setBrush() has an invalid type QPaintEngine::setSystemRect: Should not be changed while engine is active QPaintEngine::setSystemClip: Should not be changed while engine is active QPaintEngine::setSystemClip: Should not be changed while engine is active QPaintEngine::setSystemClip: Should not be changed while engine is active That's on Kubuntu with PyQt 4.1 and SIP 4.5. -- S. _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt