新增SpkIconButton为主题和按钮工作减负

This commit is contained in:
RigoLigoRLC
2021-12-05 18:09:31 +08:00
parent 2e04d05b34
commit cefd309097
12 changed files with 171 additions and 18 deletions

View File

@@ -98,6 +98,23 @@ QScrollBar::add-line, QScrollBar::sub-line
height:0px
}
QProgressBar
{
border: none;
background-color: DCTL2;
height: 8px;
border-radius: 4px;
font-size: 1px;
color: transparent;
}
QProgressBar::chunk
{
border: none;
border-radius: 4px;
background-color: ACC_;
}
/* Custom widgets */
ElidedLabel
@@ -182,6 +199,22 @@ SpkAppItem::hover
background-color: ACC_
}
SpkIconButton
{
border-width: 0px;
background-color: GBG_;
}
SpkIconButton:pressed
{
background-color: ACCH;
}
SpkIconButton:checked
{
background-color: ACC_;
}
SpkTitleBar
{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 DCTL2, stop:1 DCTL1)