Ask QPalette to give you one.
Ask QPalette to give you one.
I actually tried this (see above) but I got errors. (this was the way I really wanted to do it)
it asks for an object, but I am not quite sure what object its asking for.Qt Code:
To copy to clipboard, switch view to plain text mode
QPalette::brush() isn't a static method, so you have to create a QPalette object first:
tpf80 (18th July 2007)
ah I see.. I knew it was something simple that I was missing...
Bookmarks