QProgressBar#progressBar { border:0px solid white; text-align:center; color:black; } QProgressBar#progressBar:chunk { background-color:#3FABBA; width:20px; } QProgressBar#progressBar QLineEdit { border:none; color:black; padding-left:5px; font-size:16px; background-color:transparent; } QLabel{ color:black; font-family:'Microsoft YaHei'; font-size:12px; } /*----QPushButton样式表*/ #pushButton_ok, #pushButton_cancel, #pbtMasked, #pbtOutFill{ font-family:'Microsoft YaHei'; font-size:12px; background-color: #ffffff; border: 1px solid #dcdfe6; padding: 2px; border-radius: 5px; max-height:20px; } #pushButton_ok:hover, #pushButton_cancel:hover, #pbtMasked:hover, #pbtOutFill:hover{ background-color: #ecf5ff; color: #409eff; } #pushButton_ok:pressed, #pushButton_cancel:pressed, #pbtMasked:pressed, #pbtOutFill:pressed{ border: 1px solid #3a8ee6; color: #409eff; } #pushButton_ok:checked, #pushButton_cancel:checked, #pbtMasked:checked, #pbtOutFill:checked{ border: 1px solid #3a8ee6; color: #409eff; } #pushButton_ok:focus, #pushButton_cancel:focus, #pbtMasked:focus, #pbtOutFill:focus{ border: 1px solid #3a8ee6; color: #409eff; outline: none; } #pushButton_ok, #pushButton_cancel{ min-width:36px; } /*----QLineEdit样式*/ #lineMasked, #lineOutFill,#lineRectangleScale,#lineExpandSize{ border:0px; border-bottom: 1px solid #B3B3B3; font-family:'Microsoft YaHei'; background-color:transparent; } #lineMasked:hover, #lineOutFill:hover,#lineRectangleScale:hover,#lineExpandSize:hover{ border-bottom: 2px solid #66A3FF; } #lineMasked:focus, #lineOutFill:focus,#lineRectangleScale:focus,#lineExpandSize:focus{ border-bottom: 2px solid #7666FF; }