> This should work with PyQt v4.2 and later. If that's what you are using then
send me a simple script that demonstrates the problem.
Here - I believe I'm using the latest. I'm not using Ubuntu's old one
at least. I can't tell how, to see. Anyway, this shows it on my
system.
#!/usr/bin/env python
On Monday 03 September 2007, Jeff Donner wrote:
> > This should work with PyQt v4.2 and later. If that's what you are using
> > then
>
> send me a simple script that demonstrates the problem.
>
> Here - I believe I'm using the latest. I'm not using Ubuntu's old one
> at least. I can't tell how, to
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
QPaintEngin
On Tuesday 04 September 2007, Sundance wrote:
> 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:
Phil Thompson wrote:
> I've already said that you need PyQt 4.2 or later.
Blargh, you're right -- sorry!
-- S.
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt