PyQt question (colors)

Janos Blazi jblazi at hotmail.com
Tue Apr 9 07:49:59 EDT 2002


If I say

    stat_lab1.setBackgroundColor(QColor("DarkGreen"))

and stat_lab is a QLabel, this has the required effect. But if I say

    pb.setBackgroundColor(QColor("DarkGreen"))

and pb is a QProgressBar object, so this has no effect at all. Can anybody
tell me the reason for this? I use PyQt with Qt 2.3 on a MS-Win2000 system.

J.B.





-----=  Posted via Newsfeeds.Com, Uncensored Usenet News  =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
 Check out our new Unlimited Server. No Download or Time Limits!
-----==  Over 80,000 Newsgroups - 19 Different Servers!  ==-----



More information about the Python-list mailing list