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, #pbtInDataset, #pbtInLabel, #pbtInModel, #pbtIndex,#pbtResult{ 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, #pbtInDataset:hover, #pbtInLabel:hover, #pbtInModel:hover, #pbtIndex:hover,#pbtResult:hover{ background-color: #ecf5ff; color: #409eff; } #pushButton_ok:pressed, #pushButton_cancel:pressed, #pbtInDataset:pressed, #pbtInLabel:pressed, #pbtInModel:pressed, #pbtIndex:pressed,#pbtResult:pressed{ border: 1px solid #3a8ee6; color: #409eff; } #pushButton_ok:checked, #pushButton_cancel:checked, #pbtInDataset:checked, #pbtInLabel:checked, #pbtInModel:checked, #pbtIndex:checked,#pbtResult:checked{ border: 1px solid #3a8ee6; color: #409eff; } #pushButton_ok:focus, #pushButton_cancel:focus, #pbtInDataset:focus, #pbtInLabel:focus, #pbtInModel:focus, #pbtIndex:focus,#pbtResult:focus{ border: 1px solid #3a8ee6; color: #409eff; outline: none; } /*----QLineEdit样式*/ #lineInDataset, #lineInLabel, #lineInModel, #lineIndex, #lineResult{ border:0px; border-bottom: 1px solid #B3B3B3; font-family:'Microsoft YaHei'; font-size:12px; background-color:transparent; } #lineInDataset:hover, #lineInLabel:hover, #lineInModel:hover, #lineIndex:hover, #lineResult:hover{ border-bottom: 2px solid #66A3FF; } #lineInDataset:focus, #lineInLabel:focus, #lineInModel:focus, #lineIndex:focus, #lineResult:focus{ border-bottom: 2px solid #7666FF; }