I think you must end the style sheet commands with semicolons.On lines 46 and 
54, it must be as "QWidget { background-color: %s;}" %col.name()


________________________________
From: Shuge Lee <[email protected]>
To: [email protected]
Sent: Thursday, November 10, 2011 5:34 PM
Subject: [PySide] [bug] qwidget.setStyleSheet doesn't works on Mac OS X


Hi all:

qwidget.setStyleSheet doesn't works on Mac OS X

The context of code is here https://gist.github.com/1355121

Test environemnt:

Platform: Darwin
>Python: 2.7
>SIP: 4.12.4
>Qt: 4.7.4
>PySide: 1.0.8
-- 
Shuge Lee / 李蠡 (U+674E U+8821)


_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to