[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] qtDesigner qt 4.8.6 Style Sheets (CSS) tab background-color
From:       Vincent Vande Vyvre <vincent.vande.vyvre () telenet ! be>
Date:       2015-06-17 16:23:48
Message-ID: 55819F14.7020006 () telenet ! be
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le 17/06/2015 17:13, my.reptile@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

[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 17/06/2015 17:13,
      <a class="moz-txt-link-abbreviated" \
href="mailto:my.reptile@gmail.com">my.reptile@gmail.com</a> a écrit :<br>  </div>
    <blockquote cite="mid:673E28212297488D91B2E49F81747FEA@specialxp"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 8.00.6001.23580">
      <style></style>
      <p class="post-text" itemprop="text">1.How to change tabs
        background-color without chaging colour of scrolls? </p>
      <p class="post-text" itemprop="text">It is a bug when is added
        background-color: rgb(255, 255, 255); or I missed some detailed
        configuration of css?</p>
      <p class="post-text" itemprop="text">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).</p>
      <p class="post-text" itemprop="text"><a moz-do-not-send="true"
          href="http://oi60.tinypic.com/11k8u53.jpg" \
rel="nofollow">http://oi60.tinypic.com/11k8u53.jpg</a>  </p>
      <p class="post-text" itemprop="text"> </p>
      <div class="post-text" itemprop="text">2.It is posible to "tabify"
        dock2 to dock1 in designer or preview by CSS style sheet?</div>
      <div> </div>
      <br>
    </blockquote>
    <br>
    When you appli a style sheet on a widget, all his children are also
    styled.<br>
    <br>
    If you don't like that, you have to appli an other style sheet for
    each one of these children.<br>
    <br>
    Not sure to understand your second question.<br>
    <br>
    Vincent<br>
  </body>
</html>


[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic