Skip to content

fix(gui): make CAT per-port enable toggle visible#3618

Open
K5PTB wants to merge 1 commit into
aethersdr:mainfrom
K5PTB:fix/cat-port-enable-ux
Open

fix(gui): make CAT per-port enable toggle visible#3618
K5PTB wants to merge 1 commit into
aethersdr:mainfrom
K5PTB:fix/cat-port-enable-ux

Conversation

@K5PTB

@K5PTB K5PTB commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Resolves #3609

Summary

A user reported being unable to access the CAT port. The cause turned out to be discoverability: the CAT control table has a per-port enable checkbox, but it was easy to miss on two fronts — the column header read En (looks truncated), and the default QCheckBox indicator is nearly invisible against the dark applet/pop-out background. You can have the CAT server on globally yet never tick the individual port's box. The reporter confirmed he hadn't realized he needed to enable the port with the checkbox, and liked the new design.

Changes

  • Relabel the column header EnEnabled (widened and centered) in both the floating applet (CatControlApplet.cpp) and the pop-out window (CatPopoutWindow.cpp).
  • Dark-mode checkbox contrast: style the enable QCheckBox::indicator with a high-contrast border when unchecked and a filled accent when checked, so on/off reads at a glance. Added an "Enable this CAT port" tooltip. The applet uses theme tokens ({{color.accent}} …); the pop-out uses hardcoded hex to match each file's existing styling convention.
  • Widen the Dialect column so TS-2000 is no longer clipped (applet 68→84px, pop-out 86→100px; pop-out header 88→102px to preserve its header/grid offset).

Screenshot

Screenshot 2026-06-15 at 08 21 33

Files changed

File What changed
src/gui/CatControlApplet.cpp Header relabel + width, kEnableCheck indicator style, tooltip, Dialect width
src/gui/CatPopoutWindow.cpp Header relabel + width, kCheckStyle indicator style, tooltip, column-0 min width, Dialect width

Testing

Built clean on MacBook Air M2; verified visually in the running app (applet + pop-out): Enabled header fits, checkboxes clearly show enabled/disabled state in dark mode, TS-2000 no longer clipped. The original reporter confirmed the redesigned control made the per-port enable obvious.

🤖 Generated with Claude Code

Users were missing that each CAT port has its own enable checkbox — the
"En" header read as truncated and the default checkbox indicator is nearly
invisible against the dark applet/popout background.

- Relabel the column header "En" -> "Enabled" (widened + centered) in both
  the floating applet and the pop-out window.
- Style the enable QCheckBox indicator for dark mode: high-contrast border
  when unchecked, filled accent when checked, plus an "Enable this CAT port"
  tooltip. Applet uses theme tokens; popout uses hardcoded hex to match each
  file's existing styling convention.
- Widen the Dialect column so "TS-2000" is no longer clipped (applet 68->84,
  popout 86->100; popout header 88->102 to preserve its header/grid offset).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@K5PTB K5PTB requested a review from a team as a code owner June 15, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flex TCP Server in the CAT Control Applet does not work.

1 participant