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, #pbtInPredict, #pbtInLabel, #pbtModel, #pbtIndex,#pbtOutResult{ font-family:'Microsoft YaHei'; font-size:12px; background-color: #ffffff; border: 1px solid #dcdfe6; padding: 2px; border-radius: 5px; max-height:20px; } #pushButton_ok, #pushButton_cancel{ min-width:36px; } #pushButton_ok:hover, #pushButton_cancel:hover, #pbtInPredict:hover, #pbtInLabel:hover, #pbtModel:hover, #pbtIndex:hover,#pbtOutResult:hover{ background-color: #ecf5ff; color: #409eff; } #pushButton_ok:pressed, #pushButton_cancel:pressed, #pbtInPredict:pressed, #pbtInLabel:pressed, #pbtModel:pressed, #pbtIndex:pressed,#pbtOutResult:pressed{ border: 1px solid #3a8ee6; color: #409eff; } #pushButton_ok:checked, #pushButton_cancel:checked, #pbtInPredict:checked, #pbtInLabel:checked, #pbtModel:checked, #pbtIndex:checked,#pbtOutResult:checked{ border: 1px solid #3a8ee6; color: #409eff; } #pushButton_ok:focus, #pushButton_cancel:focus, #pbtInPredict:focus, #pbtInLabel:focus, #pbtModel:focus, #pbtIndex:focus,#pbtOutResult:focus{ border: 1px solid #3a8ee6; color: #409eff; outline: none; } /*----QLineEdit样式*/ #lineInPredict, #lineInLabel, #lineModel, #lineIndex, #lineOutResult{ border:0px; border-bottom: 1px solid #B3B3B3; font-family:'Microsoft YaHei'; font-size:12px; background-color:transparent; } #lineInPredict:hover, #lineInLabel:hover, #lineModel:hover, #lineIndex:hover, #lineOutResult:hover{ border-bottom: 2px solid #66A3FF; } #lineInPredict:focus, #lineInLabel:focus, #lineModel:focus, #lineIndex:focus, #lineOutResult:focus{ border-bottom: 2px solid #7666FF; }