Good morning i'm new in Qt programming and for my project i have to use old QT 4.2.3

Problem is that.
When i click on QPushButton i changed the text color and background, and i want the button remains with this style untill i press the button again..

i try to make some examples :
first simple case : a button that when clicked remains whith a new stylesheet:


Using stylesheet (QPushButtonressed) the button remain in the new style only when pressed, but after pressed it returns in its initial state...

How can set the style for a button when clicked, that remains also after clicked ??

Thanks Gabriele

.