QWidget { background: transparent; border-radius: 8px; /* font-family: 思源黑体R; */ /* font-weight: 400; */ font-size: 14px; color: #D2D2D2; line-height: 21px; text-align: left; font-style: normal; } QWidget#widget { background-color: #313539; } QWidget#widget_Top { background: rgba(108,105,124,0.2); border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } QLabel#label_title { /* font-weight: normal; */ font-size: 18px; color: #D2D2D2; line-height: 27px; text-align: left; font-style: normal; text-transform: uppercase; } QLabel#label_warning { color:red; } QPushButton#pBtn_close { /* border-image: url(:/ICON/ICON/Dialog_close.png); */ background: transparent; border-radius: 4px; qproperty-icon: url(:/ICON/ICON/Close_Dark.png); qproperty-iconSize: 20px 20px; text-align: center; } QPushButton#pBtn_close[Hover = true] { /* border-image: url(:/ICON/ICON/Dialog_close2.png); */ background: transparent; border-radius: 4px; qproperty-icon: url(:/ICON/ICON/Close_pass.png); qproperty-iconSize: 20px 20px; text-align: center; border: 1px solid #438EFF; } /********* 普通方框按钮三种状态效果 *********/ QPushButton#pBtn_cancel:enabled { text-align: center; color: #EBEBEB; border: 1px solid rgba(255,255,255,0.25); border-radius: 16px; background: transparent; } QPushButton#pBtn_cancel:hover { text-align: center; color: #EBEBEB; border: 1px solid rgba(255,255,255,0.25); border-radius: 16px; background: rgba(0,0,0,0.15); } /********* 带有底色按钮三种状态效果 *********/ QPushButton#pBtn_ok { border-radius: 16px; text-align: center; color:white; background: #438EFF; border-radius: 16px; } QPushButton#pBtn_ok:hover { border-radius: 16px; text-align: center; color:white; background: #5F9EFF; border-radius: 16px; } /* ========================================================== * QTabelWidget * ========================================================== */ /* 标题栏 */ QLabel#label_NC2, #label_NC3, #label_NC4 { /* font-weight: 400; */ font-size: 14px; color: #D2D2D2; line-height: 21px; text-align: left; font-style: normal; } QLabel#label_line2, #label_line3 { background: #E6E9F4; } QTableWidget { background: transparent; 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 { color: #EBEBEB; /* background: rgba(231,236,255,0.5); */ background: #438EFF; }