//设置button style, 比如重绘透明等等
//在.ui -> pushbutton ->style里 粘贴
QPushButton
{
border-radius:0px;
background-repeat:no-repeat;
border:none;
background-position:center center;
}
QPushButton:hover{
background-color: rgba(230,0,0,0.5);
}
QPushButton:pressed{
background-color: rgba(95, 95, 95,100);
border-color:rgba(255,255,255,30);
border-style:inset;
color:rgba(0,0,0,100);
}
pushbutton style重绘
最新推荐文章于 2023-09-24 00:43:37 发布