From 3c0bd2927524cc098e1c5631797f2811ae2c7d68 Mon Sep 17 00:00:00 2001 From: DXC Date: Fri, 8 May 2026 18:04:02 +0800 Subject: [PATCH] =?UTF-8?q?UI=E4=BC=98=E5=8C=96=EF=BC=9AStep9=E5=8D=95?= =?UTF-8?q?=E9=80=89=E6=A1=86=E6=A0=B7=E5=BC=8F=E7=BE=8E=E5=8C=96=EF=BC=88?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=80=81=E8=93=9D=E8=89=B2=E5=AE=9E=E5=BF=83?= =?UTF-8?q?=E5=9C=86=E7=82=B9+=E6=82=AC=E5=81=9C=E6=95=88=E6=9E=9C?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gui/panels/step9_panel.py | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/gui/panels/step9_panel.py b/src/gui/panels/step9_panel.py index 507d9a6..32462ba 100644 --- a/src/gui/panels/step9_panel.py +++ b/src/gui/panels/step9_panel.py @@ -109,6 +109,37 @@ class Step9Panel(QWidget): mode_row.addStretch() layout.addLayout(mode_row) + # ---------- RadioButton 美化样式(选中状态更醒目) ---------- + radio_style = """ + QRadioButton { + font-size: 14px; + spacing: 8px; + color: #333333; + } + QRadioButton::indicator { + width: 18px; + height: 18px; + border: 2px solid #999999; + border-radius: 9px; + background-color: white; + } + QRadioButton::indicator:checked { + border: 2px solid #0078d4; + background-color: qradialgradient( + cx:0.5, cy:0.5, radius:0.5, + fx:0.5, fy:0.5, + stop:0 #0078d4, + stop:0.6 white, + stop:1.0 white + ); + } + QRadioButton::indicator:hover { + border: 2px solid #005a9e; + } + """ + self.mode_single_rb.setStyleSheet(radio_style) + self.mode_folder_rb.setStyleSheet(radio_style) + self.prediction_csv_file = FileSelectWidget( "预测结果CSV:", "CSV Files (*.csv);;All Files (*.*)"