开发者

How can we change the background image of button by pressing or hovering on the button?

开发者 https://www.devze.com 2023-03-29 11:19 出处:网络
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:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消