[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] AttributeError: setBackgroundColor
From: Stefan Seefeld <seefeld () sympatico ! ca>
Date: 2003-12-13 19:50:58
[Download RAW message or body]
hi there,
I'v been playing with pyqt a bit, and I run into
a problem with some of the examples. the QWidget's
'setBackgroundColor' method doesn't seem to be
accessible:
bash-2.05b$ examples2/splitter.py
Traceback (most recent call last):
File "examples2/splitter.py", line 39, in ?
t1.setBackgroundColor(Qt.blue.light(180))
AttributeError: setBackgroundColor
Trying to call the 'setBackgroundColor' by hand
on any qwidget object gives the same error.
What am I doing wrong ? I'm using
PyQt 3.9, sip 3.9, Qt 3.1.
Thanks for your help !
Stefan
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic