Re: [PyQt] stylesheet sub-controlls

2010-03-24 Thread Lennart Jansen
Hi, thank for the response... i found the answer by myself by now XD self.baraction.setStyleSheet("""QProgressBar {background-color: white; text-align: center;

Re: [PyQt] stylesheet sub-controlls

2010-03-24 Thread Nick Gaens
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.

[PyQt] stylesheet sub-controlls

2010-03-24 Thread Lennart Jansen
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 heru