How can we change the background image of button by pressing or hovering on the button?
I开发者_Go百科 have made a round button and i have set a background image on it. I want it to display the other background button image while hover over it.
You can do that using style sheets:
QPushButton:hover { color: white }
See more about pseudo states here.
精彩评论