123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- * {
- font-family: "思源黑体M", "Source Han Sans", "Microsoft YaHei", sans-serif; /* 确保字体的兼容性 */
- font-size: 14px;
- font-weight: normal;
- outline: 0px;
- }
- /*登录*/
- Login QWidget#widget_2
- {
- border-radius: 10px;
- image: url(:/images/login.png);
- }
- Login QWidget#widget
- {
- border-radius: 20px;
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6164D6, stop: 1 #6164D6); /* 第一层渐变 */
- }
- Login QPushButton
- {
- color:#FFFFFF;
- border-radius: 8px;
- background: #9294FF;
- }
- Login QLineEdit#userNameLineEdit,
- Login QLineEdit#passLineEdit
- {
- color:#FFFFFF;
- border-radius: 8px;
- padding-left:82px;
- border: 1px solid #9294FF;
- background: rgba(111, 113, 223, 0.2);
- }
- Login QLabel#label_user
- {
- image: url(:/images/login_user.png);
- }
- Login QLabel#label_pass
- {
- image: url(:/images/login_pass.png);
- }
- Login QFrame#line,
- Login QFrame#line_2
- {
- background: #9294FF;
- }
- /*主界面*/
- MainWnd QWidget#TabSideBar
- {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #EEF0F8, stop: 1 #E6E7F9);
- }
- MainWnd QWidget#centralwidget
- {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E8EAFA, stop: 1 #D0D1EB);
- }
- QFrame#line,
- QFrame#line_3,
- Demo001_3 QFrame#line_2
- {
- background-color: #BABBDC;
- }
- MainWnd QWidget#TabSideBar QToolButton
- {
- color: #1D2087;
- font-weight: bold;
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F8FBFF, stop: 1 #E7ECF3);
- border-radius:6px;
- }
- /*侧边栏按钮*/
- QWidget#TabSideBar>QToolButton::hover,QWidget#TabSideBar>QToolButton::pressed,QWidget#TabSideBar>QToolButton::checked
- {
- border:none;
- color:#FFFFFF;
- background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #949FE8,stop:1 #2D309B);
- }
- MainWnd QToolButton
- {
- padding-top: 8px;
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn
- {
- qproperty-icon:url(:/images/light/home.png);
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn_2
- {
- qproperty-icon:url(:/images/light/Productionn assistance.png);
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn_3
- {
- qproperty-icon:url(:/images/light/Program.png);
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn_4
- {
- qproperty-icon:url(:/images/light/Message.png);
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn_5
- {
- qproperty-icon:url(:/images/light/Module.png);
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn_6
- {
- qproperty-icon:url(:/images/light/Disposition.png);
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn_7
- {
- qproperty-icon:url(:/images/light/Diagnosis.png);
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn_8
- {
- qproperty-icon:url(:/images/light/System.png);
- }
- QWidget#TabSideBar>QToolButton#tabBondBtn_9
- {
- qproperty-icon:url(:/images/light/Help.png);
- }
- /*顶部*/
- QWidget#Toptitlebar
- {
- border-radius: 6px;
- background: #5C63BE;
- color: #FFFFFF;
- }
- QWidget#Toptitlebar QLable#label_4
- {
- color: #FFFFFF;
- }
- OriginalWnd QWidget#Toptitlebar QPushButton#pushButton
- {
- color: #FFFFFF;
- border-radius: 4px;
- background: #4AA2FF;
- }
- QWidget#Toptitlebar QPushButton#pushButton_2
- {
- background-color: transparent;
- image: url(:/images/two.png);
- }
- QWidget#Toptitlebar QPushButton#pushButton_3
- {
- background-color: transparent;
- image: url(:/images/one.png);
- }
- /*初始界面*/
- OriginalWnd QWidget#widget_2,
- OriginalWnd QWidget#widget
- {
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F1F4FD, stop: 1 #E5E4F6);
- border-radius: 10px;
- }
- OriginalWnd QWidget#widget QToolButton#toolButton
- {
- border-radius: 6px;
- background: #F02962;
- color: #FFFFFF;
- padding-bottom: 13px;
- padding-left: 28px;
- }
- OriginalWnd QWidget#widget QToolButton#toolButton_2
- {
- border-radius: 6px;
- background: #4AB832;
- color: #FFFFFF;
- padding-bottom: 13px;
- padding-left: 28px;
- }
- OriginalWnd QWidget#widget QPushButton#pushButton_4
- {
- border-radius: 6px;
- background: #CBD0FF;
- image: url(:/images/light/Demo001_1.png);
- }
- OriginalWnd QWidget#widget QPushButton#pushButton_5
- {
- border-radius: 6px;
- background: #CBD0FF;
- image: url(:/images/light/Demo001_2.png);
- }
- OriginalWnd QWidget#widget QPushButton#pushButton_6
- {
- border-radius: 6px;
- background: #CBD0FF;
- image: url(:/images/light/Demo001_3.png);
- }
- /* Demo001_3 */
- QComboBox
- {
- border:1px solid #BABBDC;
- border-radius:6px;
- background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #FFFFFF,stop:1 #F2F2FA);
- }
- QComboBox::down-arrow
- {
- image: url(:/images/drop.png);
- width: 30px;
- height:30px;
- }
- QComboBox::drop-down
- {
- width:20px;
- border:none;
- padding-right:5px;
- }
- Demo001_3 QWidget#centralwidget
- {
- border-radius: 10px;
- background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F1F4FD, stop: 1 #E5E4F6);
- }
- Demo001_3 QPushButton#pushButton,
- Demo001_3 QPushButton#pushButton_2
- {
- image: url(:/images/unknown_1.png);
- border-radius: 6px;
- background:qlineargradient(spread:pad,x1:0,y1:0,x2:0,y2:1,stop:0 #949FE8,stop:1 #2D309B);
- }
- Demo001_3 QWidget#widget_6,
- Demo001_3 QWidget#widget_7,
- Demo001_3 QWidget#widget_8
- {
- background: #D6D8ED;
- }
- Demo001_3 QLineEdit
- {
- border-radius: 6px;
- border: 1px solid #BABBDC;
- }
- Demo001_3 QWidget#widget_2,
- Demo001_3 QWidget#widget
- {
- border-radius: 0px;
- }
- /* 为垂直滑块设置样式 */
- QSlider::groove:vertical {
- height: 56px;
- width: 3px;
- background: rgba(78, 81, 206, 0.25);
- }
- QSlider::sub-page:vertical {
- height: 56px;
- width: 3px;
- background: rgba(78, 81, 206, 0.25);
- }
- QSlider::handle:vertical {
- border-image: url(:/images/slider.png);
- height: 6px;
- margin: 0px -5px 0px -5px;
- border-radius: 4px;
- }
|