added mesh surface arrows

This commit is contained in:
ykcheungab
2026-06-19 21:22:28 +08:00
parent 2e5c047d1e
commit 258948bcb7
20 changed files with 951 additions and 194 deletions
+31 -22
View File
@@ -1,5 +1,10 @@
"""Qt stylesheet for the finger dashboard."""
UI_FONT_STACK = '"Segoe UI Variable", "Segoe UI", "Inter", "Microsoft YaHei UI", sans-serif'
LOG_FONT_STACK = '"Cascadia Mono", "JetBrains Mono", "IBM Plex Mono", "Consolas", monospace'
UI_FONT_PRIMARY = "Segoe UI"
LOG_FONT_PRIMARY = "Cascadia Mono"
STYLE = """
QMainWindow {
background-color: #000000;
@@ -17,7 +22,7 @@ QPushButton {
border: 1px solid #333333;
border-radius: 4px;
padding: 6px 16px;
font-family: "SimHei";
font-family: __UI_FONT__;
font-size: 13px;
}
QPushButton:hover {
@@ -25,33 +30,36 @@ QPushButton:hover {
color: #cccccc;
border: 1px solid #555555;
}
QPushButton#btnStart {
QPushButton#btnPlayPause {
background-color: #0d2818;
color: #4caf84;
border: 1px solid #1a4d30;
padding: 4px 8px;
font-size: 15px;
}
QPushButton#btnStart:hover {
QPushButton#btnPlayPause:hover {
background-color: #143d24;
color: #6fd4a0;
}
QPushButton#btnStart:disabled {
background-color: #0f0f0f;
color: #333333;
border: 1px solid #222222;
QPushButton#btnPlayPause:disabled {
background-color: #1a1a1a;
color: #555555;
border: 1px solid #333333;
}
QPushButton#btnStop {
background-color: #2b1010;
color: #e05555;
border: 1px solid #4d1a1a;
QPushButton#btnPlayPause[playState="pause"] {
background-color: #3d2808;
color: #ff9800;
border: 1px solid #6d4400;
}
QPushButton#btnStop:hover {
background-color: #3d1818;
color: #f07070;
QPushButton#btnPlayPause[playState="pause"]:hover {
background-color: #523208;
color: #ffb74d;
border: 1px solid #8a5a00;
}
QPushButton#btnStop:disabled {
background-color: #0f0f0f;
color: #333333;
border: 1px solid #222222;
QPushButton#btnPlayPause[playState="pause"]:disabled {
background-color: #1a1a1a;
color: #555555;
border: 1px solid #333333;
}
QLineEdit {
background-color: #0d0d0d;
@@ -59,6 +67,7 @@ QLineEdit {
border: 1px solid #333333;
border-radius: 4px;
padding: 5px 10px;
font-family: __UI_FONT__;
font-size: 13px;
}
@@ -69,11 +78,11 @@ GraphicsLayoutWidget {
QPlainTextEdit {
background-color: #0b0b0b;
color: #777777;
color: #999999;
border: 1px solid #262626;
border-radius: 4px;
font-family: "Cascadia Code", "Consolas", "Courier New", monospace;
font-size: 13px;
font-family: __LOG_FONT__;
font-size: 12px;
padding: 8px;
selection-background-color: #1a3a4a;
selection-color: #cccccc;
@@ -111,4 +120,4 @@ QSplitter::handle:vertical {
QSplitter::handle:horizontal {
width: 1px;
}
"""
""".replace("__UI_FONT__", UI_FONT_STACK).replace("__LOG_FONT__", LOG_FONT_STACK)