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