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-weight: bold; font-size: 18px; color: #3A3F63; line-height: 27px; text-align: left; font-style: normal; text-transform: uppercase; } QLabel#label_NC2,QLabel#label_NC3,QLabel#label_NC4 { font-weight: 400; font-size: 14px; color: #5A607F; line-height: 21px; text-align: left; font-style: normal; } QLabel#label_line1,QLabel#label_line2,QLabel#label_line3 { background: #E6E9F4; } QLabel#label_warning { color:red; } QPushButton#pBtn_close { border-image: url(:/ICON/ICON/Dialog_close.png); } QPushButton#pBtn_close:hover { border-image: url(:/ICON/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; } /* ========================================================== * QTabelWidget * ========================================================== */ QTableWidget { background: #FFFFFF; padding-left: 0px; border: 0px solid #E6E9F4; text-align: left; } QTableWidget::item { padding-left: 12px; padding-right: 0px; padding-top: 0px; padding-bottom: 0px; margin: 0px; text-align: left; border: 0px solid #E6E9F4; } QTableWidget::item:selected { background: rgba(231,236,255,0.5); }