On Sun, 23 Oct 2011 18:51:15 -0700 (PDT)
"Edward K. Ream" <[email protected]> wrote:
> An Aha about Qt stylesheets::
>
> w.setStyleSheet *only* affects the settings mentioned
> in the stylesheet, plus any "related" settings.
Interesting. Every widget can have its own stylesheet, but you're
talking about sheets on the same widget?
What about adding new widgets, like replacing
QPushButton { color: red; }
with
QTextEdit { background: blue; }
and then adding a new QPushButton - is it still red?
Or is the effect you're seeing just that already styled widgets aren't
restyled when you switch to a stylesheet that doesn't address them
specifically?
Cheers -Terry
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.