I've tried things like: QColor(QColorGroup.Highlight)
and variations - and completely different too of course. I need to set a widgets background and foreground colour to values retrieved from the current users theme/prefs. So far my attempts have only netted me a single integer number for the highlight or texthighlight - I assume these int are a palette entry? but I don't know how to map that to a value I can feed to qcolor. e.g. I'd like to change the background of a text widget to be the current colour of a scroll bar (where I don't know the colour at runtime, but want it from the user's theme). -- Regards, Paul Evans _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
