From 9f3f22741d383ea09ea4c2b22494ba78d812fca4 Mon Sep 17 00:00:00 2001 From: Felix Auer Date: Thu, 26 Feb 2026 16:45:28 +0100 Subject: [PATCH] Add description for the host and port settings --- crosspoint_reader/config.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crosspoint_reader/config.py b/crosspoint_reader/config.py index 6e3e241..8a0408a 100644 --- a/crosspoint_reader/config.py +++ b/crosspoint_reader/config.py @@ -5,6 +5,7 @@ QDialogButtonBox, QFormLayout, QHBoxLayout, + QLabel, QLineEdit, QPlainTextEdit, QPushButton, @@ -47,6 +48,12 @@ def __init__(self): layout.addRow('Host', self.host) layout.addRow('Port', self.port) + + notice = QLabel('Host and port settings are fallback values used only when the device is not auto-discoverable by UDP broadcast.') + notice.setWordWrap(True) + notice.setStyleSheet('color: gray; font-style: italic;') + layout.addRow('', notice) + layout.addRow('Upload path', self.path) layout.addRow('Chunk size', self.chunk_size) layout.addRow('', self.debug)