/*******************************************QProgressBar线*************************************************************/
/*常规状态*/
QProgressBar
{
background: #24272b; /*背景颜色*/
border: 0px solid #ff0000; /*边框宽度样式及颜色*/
border-radius: 4; /*边框圆角半径*/
color: #f6f5ec; /*字体颜色*/
margin-right: 0px; /*右外边距*/
text-align: center; /*文本居中对齐*/
}
/*进度条*/
QProgressBar::chunk
{
background: qlineargradient(x1: 0, y1: 1, x2: 1, y2: 1,
stop: 0 #b9d28a, stop: 1 #9ACD32); /*背景颜色,线性渐变*/
border-radius: 2; /*边框圆角半径*/
/*width:5px; /*每格宽度*/
margin:0.5px; /*间距*/
}
12-QProgressBar
最新推荐文章于 2023-09-01 10:18:55 发布