mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect-gui.git
synced 2025-06-24 21:14:12 +08:00
294 lines
5.1 KiB
Plaintext
294 lines
5.1 KiB
Plaintext
QMainWindow {
|
|
background-color: transparent;
|
|
}
|
|
|
|
QLabel {
|
|
color: #D9E1E7;
|
|
background-color: transparent;
|
|
border: 0 solid transparent;
|
|
}
|
|
|
|
MenuButton {
|
|
background-color: transparent;
|
|
}
|
|
|
|
QWidget#menuWidget {
|
|
background-color: #1E244D;
|
|
}
|
|
|
|
QWidget#headerWidget {
|
|
background-color: #2A2F55;
|
|
}
|
|
|
|
TaskListWidget QLabel,
|
|
TaskListWidget QPlainTextEdit {
|
|
font-size: 14px;
|
|
}
|
|
|
|
TaskListWidget QLabel#THeader {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
}
|
|
TaskListWidget QPushButton {
|
|
color: #D9E1E7;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
QPushButton {
|
|
color: #D9E1E7;
|
|
border-radius: 8px;
|
|
background-color: #3A36DB;
|
|
}
|
|
|
|
QPushButton::disabled {
|
|
color: #999999;
|
|
background-color: rgba(58,54,219,0.4);
|
|
}
|
|
|
|
QLineEdit {
|
|
color: #D9E1E7;
|
|
border: 1px solid #D9E1E7;
|
|
border-radius: 8px;
|
|
padding: 3 10;
|
|
background-color: transparent;
|
|
}
|
|
|
|
QWidget#jsonWidget {
|
|
border: 1px solid #D9E1E7;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
QPlainTextEdit {
|
|
color: #D9E1E7;
|
|
border: none;
|
|
border: 1px solid #D9E1E7;
|
|
background-color: transparent;
|
|
}
|
|
|
|
QAbstractScrollArea#mapArea {
|
|
border: none;
|
|
background: transparent;
|
|
border: 1px solid #D9E1E7;
|
|
}
|
|
|
|
QAbstractScrollArea QWidget {
|
|
border: none;
|
|
background: transparent;
|
|
}
|
|
|
|
/* === QScrollBar:horizontal === */
|
|
QScrollBar:horizontal {
|
|
background: rgba(58,54,219,0.45);
|
|
height: 5px;
|
|
margin: 0px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QScrollBar::handle:horizontal {
|
|
background: rgba(58,54,219,0.9);
|
|
min-width: 20px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QScrollBar::add-line:horizontal {
|
|
width: 0px;
|
|
}
|
|
|
|
QScrollBar::sub-line:horizontal {
|
|
width: 0px;
|
|
}
|
|
|
|
QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
|
|
background: none;
|
|
}
|
|
|
|
/* === QScrollBar:vertical === */
|
|
QScrollBar:vertical {
|
|
background: rgba(58,54,219,0.45);
|
|
width: 5px;
|
|
margin: 0px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QScrollBar::handle:vertical {
|
|
background: rgba(58,54,219,0.9);
|
|
min-height: 20px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QScrollBar::add-line:vertical {
|
|
height: 0px;
|
|
}
|
|
|
|
QScrollBar::sub-line:vertical {
|
|
height: 0px;
|
|
}
|
|
|
|
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
|
|
background: none;
|
|
}
|
|
|
|
TaskRunDialog {
|
|
background-color: #161B3B;
|
|
}
|
|
|
|
QWidget#viewWidget {
|
|
background-color: #222222;
|
|
}
|
|
|
|
QPushButton#stopTaskButton {
|
|
background-color: #FF4444;
|
|
}
|
|
|
|
EmbedItem QLabel {
|
|
color: #999999;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
EmbedItem QPushButton {
|
|
border: 1px solid #999999;
|
|
border-radius: 0;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
EmbedItem QPushButton#STD {
|
|
border: 1px solid transparent;
|
|
background-color: #FF4444;
|
|
}
|
|
|
|
QWidget#checkWidget,
|
|
QWidget#viewCheckWidget {
|
|
border: 0px dashed #6cff6c;
|
|
}
|
|
|
|
QWidget#legendCheckWidget {
|
|
width: 20px;
|
|
min-width: 20px;
|
|
max-width: 20px;
|
|
height: 20px;
|
|
min-height: 20px;
|
|
max-height: 20px;
|
|
border: 1px dashed #6cff6c;
|
|
}
|
|
|
|
QWidget#legendCheckLabel {
|
|
color: #6cff6c;
|
|
}
|
|
|
|
QWidget#legendStdWidget {
|
|
width: 20px;
|
|
min-width: 20px;
|
|
max-width: 20px;
|
|
height: 20px;
|
|
min-height: 20px;
|
|
max-height: 20px;
|
|
background-color: #FF4444;
|
|
}
|
|
|
|
QWidget#legendStdLabel {
|
|
color: #FF4444;
|
|
}
|
|
|
|
QWidget#legendOkWidget {
|
|
width: 20px;
|
|
min-width: 20px;
|
|
max-width: 20px;
|
|
height: 20px;
|
|
min-height: 20px;
|
|
max-height: 20px;
|
|
border: 1px solid #6cff6c;
|
|
}
|
|
|
|
QWidget#legendOkLabel {
|
|
color: #6cff6c;
|
|
}
|
|
|
|
QWidget#legendNgWidget {
|
|
width: 20px;
|
|
min-width: 20px;
|
|
max-width: 20px;
|
|
height: 20px;
|
|
min-height: 20px;
|
|
max-height: 20px;
|
|
border: 1px solid #FF4444;
|
|
}
|
|
|
|
QWidget#legendNgLabel {
|
|
color: #FF4444;
|
|
}
|
|
|
|
QWidget#legendNormalWidget {
|
|
width: 20px;
|
|
min-width: 20px;
|
|
max-width: 20px;
|
|
height: 20px;
|
|
min-height: 20px;
|
|
max-height: 20px;
|
|
border: 1px solid #999999;
|
|
}
|
|
|
|
QWidget#legendNormalLabel {
|
|
color: #999999;
|
|
}
|
|
|
|
EmbedDetail {
|
|
background-color: #161B3B;
|
|
border: 1px solid #999999;
|
|
}
|
|
|
|
EmbedDetail QPushButton {
|
|
padding: 5px;
|
|
font-size: 16px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
QMessageBox {
|
|
background-color: #161B3B; /* QMessageBox背景颜色 */
|
|
}
|
|
|
|
QMessageBox QLabel#qt_msgbox_label { /* textLabel */
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
background-color: transparent;
|
|
min-width: 240px; /* textLabel设置最小宽度可以相应的改变QMessageBox的最小宽度 */
|
|
min-height: 40px; /* textLabel和iconLabel高度保持一致 */
|
|
}
|
|
|
|
QMessageBox QLabel#qt_msgboxex_icon_label { /* iconLabel */
|
|
width: 40px;
|
|
height: 40px; /* textLabel和iconLabel高度保持一致 */
|
|
}
|
|
|
|
QMessageBox QPushButton { /* QMessageBox中的QPushButton样式 */
|
|
border: 1px solid #3A36DB;
|
|
border-radius: 8px;
|
|
background-color: #3A36DB;
|
|
color: #FFFFFF;
|
|
font-size: 16px;
|
|
min-width: 70px;
|
|
min-height: 30px;
|
|
}
|
|
|
|
QMessageBox QPushButton:hover {
|
|
background-color: #298DFF;
|
|
color: #F2F2F2;
|
|
}
|
|
|
|
QMessageBox QPushButton:pressed {
|
|
background-color: #257FE6;
|
|
}
|
|
|
|
QMessageBox QDialogButtonBox#qt_msgbox_buttonbox { /* buttonBox */
|
|
button-layout: 0; /* 设置QPushButton布局好像没啥作用 */
|
|
}
|
|
|
|
QPlainTextEdit#logText {
|
|
border: none;
|
|
background-color: #222222;
|
|
font-size: 16px;
|
|
color: #bbbbbb;
|
|
} |