How to style QPushButton's checked state to remove grey dots?
I'm able to remove the dots by simply set border: none;
on the QPushButton:checked
property of stylesheet.
On your example, it should be like this:
w.setStyleSheet("\ QPushButton { \ color:white; \ } \ QPushButton:checked{\ background-color: rgb(80, 80, 80);\ border: none; \ }\ QPushButton:hover{ \ background-color: grey; \ border-style: outset; \ } \ ");
And here you can see the result when the button is checked: