Access Widget Palette Colors from QSS StyleSheet
-
Is it possible? IE: background-color: LinkVisited;
-
afaik not really.
You can set some colors, but not access the palette -
see "Qt Style Sheet reference":http://doc.qt.nokia.com/4.7/stylesheet-reference.html
Here you see, which color you can set. -
[quote author="ivan.todorovich" date="1292274078"]Is it possible? IE: background-color: LinkVisited;[/quote]
Yes: use the PaletteRole http://doc.trolltech.com/latest/stylesheet-reference.html#paletterole
-
[quote author="peppe" date="1292279793"]
[quote author="ivan.todorovich" date="1292274078"]Is it possible? IE: background-color: LinkVisited;[/quote]Yes: use the PaletteRole http://doc.trolltech.com/latest/stylesheet-reference.html#paletterole[/quote]
Thanks!! That's exactly what I needed :)