Quote Originally Posted by cspp View Post
and if I set the add this code:
Qt Code:
  1. colorButton->setFlat(true);
To copy to clipboard, switch view to plain text mode 

the button's background wiil be set.
but I don't want to set the flat true!
I did change flatness of a button, just compiled your example and it works.