feat(UI): add skin support

This commit is contained in:
2024-09-10 08:13:03 +08:00
parent 8ac558ebc6
commit 25eed8066b
5 changed files with 102 additions and 15 deletions

View File

@ -77,11 +77,11 @@ QPushButton {
}
QPushButton:hover {
background-color: rgba(255, 255, 255, 220);
background-color: rgba(0, 85, 255, 120);
}
QPushButton:pressed {
background-color: rgba(255, 255, 255, 250);
background-color: rgba(0, 85, 255, 250);
}
QPushButton#closeWindowBtn {
@ -101,6 +101,12 @@ QLabel {
QLabel#coverLabel {
border: 1px solid grey;
}
/****** ListView ******/
QListView {
background: rgba(0, 0, 0, 50);
}</string>
</property>
<property name="locale">
@ -220,7 +226,7 @@ QLabel#coverLabel {
</spacer>
</item>
<item>
<widget class="QPushButton" name="miniModeBtn">
<widget class="QPushButton" name="setSkinBtn">
<property name="maximumSize">
<size>
<width>25</width>
@ -228,7 +234,17 @@ QLabel#coverLabel {
</size>
</property>
<property name="text">
<string>^</string>
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/skin.png</normaloff>:/icons/icons/skin.png</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
</item>