From f967da7f53181f292be357655de7fd1ac89eb2f2 Mon Sep 17 00:00:00 2001 From: Guriy Date: Tue, 23 Jun 2026 18:30:20 +0300 Subject: [PATCH] added a warning line in GUI and WEBUI --- python_app/gui/controllers/sections/processing_section.py | 5 +++++ python_app/webui/static/app.js | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/python_app/gui/controllers/sections/processing_section.py b/python_app/gui/controllers/sections/processing_section.py index 0be01f0..8e96f34 100644 --- a/python_app/gui/controllers/sections/processing_section.py +++ b/python_app/gui/controllers/sections/processing_section.py @@ -8,6 +8,7 @@ from PyQt6.QtWidgets import ( QDoubleSpinBox, QFormLayout, QGroupBox, + QLabel, QLineEdit, QPlainTextEdit, QSizePolicy, @@ -200,6 +201,10 @@ def build_processing_group(owner) -> QGroupBox: split_index=1, ) + owner._gpr_geometry_hint = QLabel("To apply Tx/Rx geometry or permittivity changes: Save Config and restart the app") + owner._gpr_geometry_hint.setWordWrap(True) + owner._gpr_common_page.layout().addWidget(owner._gpr_geometry_hint) + owner._gpr_input_positions_input = QLineEdit(str(gpr_live_defaults.input_positions)) owner._gpr_input_positions_input.setPlaceholderText("0,1,2") diff --git a/python_app/webui/static/app.js b/python_app/webui/static/app.js index 2bbfb59..5cf0b98 100644 --- a/python_app/webui/static/app.js +++ b/python_app/webui/static/app.js @@ -173,6 +173,12 @@ function buildSettingsForm(schema) { settingsFields.appendChild(heading); } settingsFields.appendChild(makeFieldRow(entry)); + if (entry.name === "rx_geometry") { + const note = document.createElement("div"); + note.className = "config-active"; + note.textContent = "To apply Tx/Rx geometry or permittivity changes: Save Config and restart the app"; + settingsFields.appendChild(note); + } } formSignature = schema.map((e) => e.name).join(","); }