SaveToTemplate 0 0 416 217 Dialog QDialog#SaveToTemplate{ background:transparent; }; 0 0 416 217 QWidget{ background: #FFFFFF; border-radius: 8px; font-family: 思源黑体R; font-weight: 400; font-size: 14px; color: #3A3F63; line-height: 21px; text-align: left; font-style: normal; } QLabel#label_NC1 { font-family: 思源黑体M; font-weight: bold; font-size: 18px; color: #3A3F63; line-height: 27px; text-transform: uppercase; } QLabel#label_line { background: #E6E9F4; } QLabel#label_warn { color:red; } QPushButton#pBtn_close{ border-image: url(:/ESM-8C_ICON/Dialog_close.png); } QPushButton#pBtn_close:hover{ border-image: url(:/ESM-8C_ICON/Dialog_close2.png); } /********* 普通方框按钮三种状态效果 *********/ QPushButton#pBtn_cancel { border-radius: 16px; text-align: center; background: #FFFFFF; border-radius: 16px; border: 1px solid #E6E9F4; color: #3A3F63; } QPushButton#pBtn_cancel:hover { border-radius: 16px; text-align: center; background: #FFFFFF; border-radius: 16px; border: 1px solid #4458FE; color: #4458FE; } /********* 带有底色按钮三种状态效果 *********/ QPushButton#pBtn_ok { border-radius: 16px; text-align: center; color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF); border-radius: 16px; } QPushButton#pBtn_ok:hover { border-radius: 16px; text-align: center; color:white; background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF); border-radius: 16px; } /**************** 报警红框 ****************/ QLineEdit { background: #FFFFFF; border-radius: 4px; padding-left:12px; border: 1px solid #E6E9F4; } QLineEdit[Warn=true] { border: 1px solid #D21F21; } QLineEdit:!enabled/* 或者disable */ { background: rgba(0,0,0,0.04); border: 1px solid #E6E9F4; } 32 18 110 18 保存为模版 0 56 416 1 368 12 32 32 32 98 7 14 <html><head/><body><p><span style=" color:#ff0000;">*</span></p></body></html> 40 98 70 14 模板名称: 110 89 274 32 思源黑体R -1 50 false false 请输入 248 153 60 32 取消 324 153 60 32 保存 116 126 261 20