Hi,

I want to know that is it possible to give a background color to the buttons inside a frame from the source code by not setting the style sheets of each button one by one. Notably, this background color should be set after a button is pressed! I type something like the following but it did not work!

myMainFrame.setStyleSheet(" QPushButtonressed{ background-color: red}");

Regards