开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜