Hello Lennart,<div><br></div><div>By subcontrols, do you mean something like:</div><div><br></div><div>qpushbutton { color: white; }</div><div><br></div><div>qpushbutton:pressed { color: black; }</div><div><br></div><div>?</div>

<div><br></div><div>If so, you can set the same stylesheet to a widget as in the &quot;regular&quot; Qt, it has little to do with PyQt itself, since the stylesheet is just a string to be parsed.</div><div><br></div><div>
<br>
<div class="gmail_quote">On Wed, Mar 24, 2010 at 9:22 AM, Lennart Jansen <span dir="ltr">&lt;<a href="mailto:lord.len@gmx.net">lord.len@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
are there &quot;stylesheet sub-controlls&quot; in pyqt like in qt? For example the widget Qprogressbar in qt got the sub-controll chunk, but i cant find anything like it in pyqt.<br>
<br>
I wish all of you a good day!<br>
<font color="#888888">--<br>
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -<br>
jetzt kostenlos herunterladen! <a href="http://portal.gmx.net/de/go/chbrowser" target="_blank">http://portal.gmx.net/de/go/chbrowser</a><br>
_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Nick Gaens<br>
</div>