#界面美化
qssStyle = """
QMainWindow {
border: 1px solid #89ADBB;
background-color: qlineargradient(x1: 0, y1: 0, x2: 2, y2: 1,
stop: 0 #64D8DE, stop: 1 #7A64EB);
}
QPushButton {
border: 3px solid rgba(0,128,192,80%);
border-radius: 5px;
background-color:rgba(0,128,192,80%);
border-style: outset;
}
QPushButton:pressed {
border-style: inset;
}
QComboBox {
border: 2px solid #87B2D5;
border-radius: 5px;
background-color: rgba(255, 255, 255, 80%);
}
QTextBrowser{
border: 2px solid #87B2D5;
border-radius: 5px;
background-color: rgba(255, 255, 255, 80%);
}
QLineEdit {
border: 2px solid #87B2D5;
border-radius: 5px;
background-color: rgba(255, 255, 255, 80%);
}
QProgressBar {
border: 1px solid #87B2D5;
border-radius: 5px;
text-align: center;
width: 10px;
background-color: rgba(228, 248, 255, 30%);
border-style: outset;
}
QProgressBar::chunk {
background-color: rgba(191, 255, 92, 70%);
border-radius: 5px;
}
QGroupBox {
border-color: #C2CEE5;
border-width: 1px;
border-style: solid;
margin-top: 2ex;
}
QGroupBox::title {
subcontrol-origin: margin;
subcontrol-position: top left;
left: 10px;
margin-left: 2px;
padding: 0px;
}
"""
06-09
02-22
1429
12-15
881