I have a QFrame that I want to change the background color.

I do so using the following:

my_qframe->setStyleSheet("background-color:yellow;");

Which works -- to a point

I have several buttons in that frame. I do not want their colors changed, but they do change.

Is there a way around this?

Thank You

emp1953