界面优化,监控逻辑优化

This commit is contained in:
2025-03-30 12:27:57 +08:00
parent c325875dbb
commit a9a6db23fd
20 changed files with 574 additions and 594 deletions

View File

@ -0,0 +1 @@
close_reduced_mode

View File

@ -0,0 +1 @@
open_reduced_mode

View File

@ -0,0 +1 @@
soft_estop_state

View File

@ -1 +0,0 @@
tcp_pos

View File

@ -0,0 +1 @@
tcp_pose

BIN
assets/media/green.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
assets/media/red.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

50
assets/qss/style.qss Normal file
View File

@ -0,0 +1,50 @@
/* ------------------------------------------- QTabBar -------------------------------------------*/
QTabBar::tab:selected {
padding: 6px;
background: #909090;
color: white;
border-radius: 0px;
}
QTabBar::tab:!selected {
padding: 4px;
background: #b0b0b0;
color: white;
}
QTabWidget::pane {
border: 4px solid #CCCCCC;
padding: 1px;
}
/* ------------------------------------------- QPushButton -------------------------------------------*/
QPushButton[objectName$="_btn"] {
background-color: DarkCyan; /* 按钮背景颜色 */
color: white; /* 按钮文本颜色 */
border: 1px solid DarkGray; /* 按钮边框 */
border-radius: 4px; /* 按钮圆角 */
padding: 2px 4px; /* 按钮内边距 */
}
QPushButton[objectName$="_btn"]:hover {
background-color: #000000;
}
QPushButton[objectName^="btn"] {
background-color: #666666; /* 按钮背景颜色 */
color: white; /* 按钮文本颜色 */
border: 1px solid #555555; /* 按钮边框 */
border-radius: 4px; /* 按钮圆角 */
padding: 4px 8px; /* 按钮内边距 */
}
QPushButton[objectName^="btn"]:hover {
background-color: #888888; /* 鼠标悬停时的背景颜色 */
}
QPushButton[objectName^="btn"]:pressed {
background-color: #8FBC8F; /* 按钮按下时的背景颜色 */
}
/* ------------------------------------------- QStatusBar -------------------------------------------*/
QStatusBar::item { border: 0px; }