[PyQt] Style sheet properties..

Jebagnana Das jebagnanadas at gmail.com
Tue Mar 9 20:05:13 GMT 2010


Hello all,

If i apply a property to a parent widget it is automatically applied for
child widgets too.. Is there any way of preventing this??

For example if i set background color as white in a dialog then any
button,combo boxes and scroll bars(within the dialog) looks white and it
lacks it's native look(have to say it's unpleasant to the eyes(esp. in unix)
& ugly).. Is there any way that i can apply the stylesheets only to a parent
widget not to it's children? can i exclude specifically some child widgets
from not inheriting parent SS properties??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100310/e10849d9/attachment.html>


More information about the PyQt mailing list