diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2026-06-09 20:14:54 -0600 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2026-06-09 20:14:54 -0600 |
| commit | 0fa0568c06fd770ad104b464197b3bb03123f38e (patch) | |
| tree | 7706a8a8145ea6f595b641cdfabaaa3f851d30ae /ui/control_panel.py | |
| parent | b776e70b4cd94c5d1f53dde39b2e46f6447cac3e (diff) | |
UI: streamline Add Device dialog and serial config widget
Add Device dialog:
- Replace Available Devices QGroupBox with plain devWindowTitle label
to match Configuration section style — no box/border
- Auto-scan on open via QTimer.singleShot(0)
- Rename Scan All → Refresh
Serial config widget:
- Fix gap between protocol panel and Available Serial Ports: introduce
_AdaptiveStack (QStackedWidget subclass) that reports only the current
panel's sizeHint; set Fixed vertical size policy so the stack never
expands beyond its content regardless of window size
- Stretch added between Available Serial Ports and Apply & Reconnect so
the button stays pinned to the bottom
- Rename Channels → Signals in _GenericPanel and _SCPIPanel (Signal Queries)
Config dialog (device info tab):
- Rename Channels → Signals
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'ui/control_panel.py')
0 files changed, 0 insertions, 0 deletions
