[PyQt] qtDesigner qt 4.8.6 Style Sheets (CSS) tab background-color

Vincent Vande Vyvre vincent.vande.vyvre at telenet.be
Wed Jun 17 17:23:48 BST 2015


Le 17/06/2015 17:13, my.reptile at gmail.com a écrit :
>
> 1.How to change tabs background-color without chaging colour of scrolls?
>
> It is a bug when is added background-color: rgb(255, 255, 255); or I 
> missed some detailed configuration of css?
>
> I add to tabWidget_1 sytelSheet background-color: rgb(255, 255, 255); 
> But this change colour of everything around. In previewMode I edited 
> in Paint : ) ..what I'm looking (just want white tab background-color 
> in dock1 and normal colour of sroll like dock2).
>
> http://oi60.tinypic.com/11k8u53.jpg
>
> 2.It is posible to "tabify" dock2 to dock1 in designer or preview by 
> CSS style sheet?
>

When you appli a style sheet on a widget, all his children are also styled.

If you don't like that, you have to appli an other style sheet for each 
one of these children.

Not sure to understand your second question.

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150617/2dd17892/attachment.html>


More information about the PyQt mailing list