迁移主窗口的背景色到qss文件中

This commit is contained in:
2024-12-17 16:06:52 +08:00
parent bbc85f17b3
commit 84e020c26e
6 changed files with 29 additions and 20 deletions

View File

@@ -1,12 +1,12 @@
/*title对应的qss*/
QWidget#title{background-color:#ffffff;}
/*title对应的qss 以及主窗口framewindows的背景*/
QWidget#title,#FrameWindow{background-color:#ffffff;}
QLabel#titleDes{font-size: 45px;font-weight: 500;font-family: 思源黑体;color:#0D9DDB;background-color: transparent;}
QLabel#titleSystemName{font-size: 45px;font-weight: 500;font-family: 思源黑体;color:#555555;background-color: transparent;}
QPushButton#titleBtn{border-image:url(:/image/icon_exit.png);border-radius: 40px;background-color: #EEF7FD;}
QPushButton#titleBtn:hover{border-image:url(:/image/icon_exit_hover.png);border-radius: 40px; background-color:green;}
QPushButton#titleBtn:pressed{border-image:url(:/image/icon_exit_checked.png);border-radius: 40px;background-color: blue;}
/*mainBtn*/
MainBtn{border-image:url(:/image/index_bg_setting.png);}
MainBtn{border-image:url(:/image/index_bg_setting.png);background-color: transparent;}
MainBtn:hover{border-image:url(:/image/index_bg_setting_hover.png);}
MainBtn:pressed{border-image:url(:/image/index_bg_setting_checked.png);}
/*---未生效*/

Binary file not shown.