[PyQt] stylesheet sub-controlls

Nick Gaens mail at nickgaens.com
Wed Mar 24 23:45:56 GMT 2010


Hello Lennart,

By subcontrols, do you mean something like:

qpushbutton { color: white; }

qpushbutton:pressed { color: black; }

?

If so, you can set the same stylesheet to a widget as in the "regular" Qt,
it has little to do with PyQt itself, since the stylesheet is just a string
to be parsed.


On Wed, Mar 24, 2010 at 9:22 AM, Lennart Jansen <lord.len at gmx.net> wrote:

> Hi,
>
> are there "stylesheet sub-controlls" 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.
>
> I wish all of you a good day!
> --
> Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
> jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



-- 
Nick Gaens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100325/8e7c01f6/attachment.html>


More information about the PyQt mailing list