project/bin/defaultstyle.qss

145 lines
3.5 KiB
Plaintext
Raw Normal View History

/*title对应的qss 以及主窗口framewindows的背景*/
QWidget#title,#FrameWindow{background-color:#ffffff;}
2024-12-17 15:48:19 +08:00
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;}
2024-12-17 16:18:47 +08:00
QPushButton#titleBtn:hover{border-image:url(:/image/icon_exit_hover.png);border-radius: 40px;}
QPushButton#titleBtn:pressed{border-image:url(:/image/icon_exit_checked.png);border-radius: 40px;}
MainBtn{border-image:url(:/image/index_bg_setting.png);background-color: transparent;}
2024-12-17 15:48:19 +08:00
MainBtn:hover{border-image:url(:/image/index_bg_setting_hover.png);}
MainBtn:pressed{border-image:url(:/image/index_bg_setting_checked.png);}
2024-12-17 15:48:19 +08:00
QLabel#MainTxt{font-size: 60px;font-weight: 500;color:white;background-color: transparent;}
QLabel#MainTxtEn{font-size: 60px;font-weight:normal;color:white;background-color: transparent;}
QWidget#parasetting{background-color:white;border-radius: 10px;}
2024-12-20 10:29:17 +08:00
/*导联方案*/
QPushButton#btnShem{ background: rgb(255, 255, 255); color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; border:0px ; }
QPushButton#btnShem:hover{color: black;background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px; }
QPushButton#btnShem:pressed{color: black; background: rgb(255, 255, 255);color: #666666;font-family: Source Han Sans; font-size: 30px;font-weight: normal; border-radius: 4px;}
QPushButton#btnShem:checked{ color: white;background: #0D9DDB;border-radius: 8px; }
2024-12-13 14:55:21 +08:00
QLineEdit
{
border: 1px solid #ABCDA0;
border-radius: 3px;
padding-left: 5px;
background-color: #F2F2F2;
color: #A0A0A0;
selection-background-color: #A0A0A0;
selection-color: #F2F2F2;
font-family: "Microsoft YaHei";
font-size: 10pt;
}
QLineEdit:hover
{
border: 1px solid #298DFF;
border-radius: 3px;
background-color: #F2F2F2;
color: #298DFF;
selection-background-color: #298DFF;
selection-color: #F2F2F2;
}
QLineEdit[echoMode="2"]
{
lineedit-password-character: 9679;
lineedit-password-mask-delay: 2000;
}
QLineEdit:disabled
{
border: 1px solid #CDCDCD;
background-color: #CDCDCD;
color: #B4B4B4;
}
QLineEdit:read-only
{
background-color: #CDCDCD;
color: #F2F2F2;
}
QTextEdit
{
color: black;
background-color: white;
border:1px solid black;
}
QGroupBox
{
background-color: #4F4F4F;
border: 1px solid #969696;
color: rgb(13,157,219);
border-radius: 5px;
margin-top: 2ex;
}
QDateEdit
{
border: 1px solid rgb(22,63,23);
color: black;
}
2024-12-13 15:58:01 +08:00
QPushButton#ok,#cancel
2024-12-13 14:55:21 +08:00
{
2024-12-13 15:58:01 +08:00
border:1px solid black;
2024-12-13 14:55:21 +08:00
background: white;
border-radius:10px;
padding:7px 10px;
}
2024-12-13 15:58:01 +08:00
QPushButton#ok,#cancel
:hover
2024-12-13 14:55:21 +08:00
{
background: #0d9ddb;
border-radius:10px;
padding:7px 10px;
}
2024-12-13 15:58:01 +08:00
QPushButton#ok,#cancel
:pressed
2024-12-13 14:55:21 +08:00
{
background: #0d9aab;
border-radius:10px;
padding:7px 10px;
}
2024-12-13 15:58:01 +08:00
QPushButton#ok,#cancel
:checked
2024-12-13 14:55:21 +08:00
{
background: #0d9ddb;
border-radius:10px;
padding:7px 10px;
2024-12-13 15:58:01 +08:00
}
QPushButton#open
{
background: white;
border-radius:10px;
padding:7px 10px;
}
QPushButton#open
:hover
{
background: rgb(85, 85, 85);
border-radius:10px;
padding:7px 10px;
}
QPushButton#open
:pressed
{
background: rgb(80, 80, 80);
border-radius:10px;
padding:7px 10px;
}
QPushButton#open
:checked
{
background: #0d9ddb;
border-radius:10px;
padding:7px 10px;
}