Hi,
I want to get the system color for widget background. How can I get that?
Another example would be get the system color for button face.
Thanks.
Hi,
I want to get the system color for widget background. How can I get that?
Another example would be get the system color for button face.
Thanks.
I found the solution
AlekseyK (4th May 2016)
Hi, use QApplication::palette() and ask its color() method for the color you want.
Ginsengelf
edit: perfectly in sync... For the application's palette you would not need a temporary widget, so I think that's the better way.
Last edited by Ginsengelf; 20th July 2010 at 08:22. Reason: updated contents
Bookmarks