fix:修复文件丢失的bug
This commit is contained in:
@@ -0,0 +1,117 @@
|
||||
QWidget {
|
||||
/* Fixes #189 */
|
||||
border-radius: 4px;
|
||||
font-size:12pt;
|
||||
color: white;
|
||||
background-color: #222222;
|
||||
}
|
||||
|
||||
QProgressBar {
|
||||
background-color: #333333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QComboBox {
|
||||
background-color: #444444;
|
||||
border-radius: 4px;
|
||||
height:30;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QComboBox::disabled {
|
||||
background-color: #444444;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
QComboBox QAbstractItemView {
|
||||
background-color: #444444;
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
height:30;
|
||||
selection-background-color: #222222; /* 选中项的背景颜色 */
|
||||
selection-color: white; /* 选中项的文字颜色 */
|
||||
}
|
||||
|
||||
QSpinBox
|
||||
{
|
||||
background-color : #333333;
|
||||
color:white;
|
||||
}
|
||||
|
||||
QTextEdit
|
||||
{
|
||||
background-color : #333333;
|
||||
color:white;
|
||||
}
|
||||
|
||||
QGroupBox {
|
||||
border:1px solid #505050;
|
||||
border-radius:6px;
|
||||
margin-top:14px;
|
||||
}
|
||||
|
||||
QGroupBox::title {
|
||||
subcontrol-origin: margin;
|
||||
left:10px;
|
||||
padding:0 4px;
|
||||
}
|
||||
|
||||
QLineEdit {
|
||||
background-color: #333333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
background-color: #62627d;
|
||||
height: 40;
|
||||
width: 120;
|
||||
}
|
||||
|
||||
QPushButton::disabled {
|
||||
background-color: #333333;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
QPushButton::hover {
|
||||
background-color: #72627d;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QLabel {
|
||||
color: white;
|
||||
height: 40;
|
||||
}
|
||||
|
||||
QMenuBar{background-color:transparent;}/*设置背景色,跟随背景色*/
|
||||
QMenuBar::selected{background-color:transparent;}/*设置菜单栏选中背景色*/
|
||||
QMenuBar::item{background-color:#333333;font-size:12px;font-family:Microsoft YaHei;color:rgba(255,255,255,1);}/*设置菜单栏字体为白色,透明度为1(取值范围0.0-255)*/
|
||||
QMenu {background-color:#333333; border:1px solid rgba(82,130,164,1);margin:2px;}
|
||||
QMenu::item {min-width:50px;font-size: 12px;color: rgb(225,225,225);margin:2px;background:rgba(75,120,154,0.5);border:1px solid rgba(82,130,164,1);padding:1px 1px;margin:1px 1px;}
|
||||
QMenu::item:selected {background:rgba(82,130,164,1);border:1px solid rgba(82,130,164,1);} /*选中或者说鼠标滑过状态*/
|
||||
QMenu::item:pressed {background:rgba(82,130,164,0.4);border:1px solid rgba(82,130,164,1);/*摁下状态*/}
|
||||
|
||||
QPlainTextEdit {
|
||||
background-color: #333333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
QMessageBox {
|
||||
background-color: #333333; /* 设置QMessageBox的背景颜色 */
|
||||
}
|
||||
|
||||
QMessageBox QLabel {
|
||||
color: white; /* 设置QMessageBox中文本(QLabel)的颜色,如果需要的话 */
|
||||
}
|
||||
|
||||
QMessageBox QPushButton {
|
||||
background-color: #62627d; /* 设置QPushButton的背景颜色,这会影响QMessageBox中的按钮 */
|
||||
color: white; /* 设置QPushButton的文字颜色 */
|
||||
border: none; /* 移除边框,如果需要的话 */
|
||||
border-radius: 5px; /* 设置边框圆角,如果需要的话 */
|
||||
}
|
||||
|
||||
/* 如果需要更具体地设置QMessageBox中的某个按钮,可以使用objectName或者更具体的选择器 */
|
||||
/* 例如,假设你有一个objectName为"okButton"的QPushButton在QMessageBox中 */
|
||||
QPushButton#okButton {
|
||||
background-color: #3498db; /* 为特定的按钮设置不同的背景颜色 */
|
||||
}
|
||||
Reference in New Issue
Block a user