feat(flexcontrol): add WheelAgcT wheel-mode action (#2907). Principle I.#2924
Merged
Conversation
Adds AGC-T (AGC Threshold) to the FlexControl wheel-mode rotation. Assigning the WheelAgcT action to a FlexControl button switches the encoder to AGC-T mode; rotation then adjusts the active slice's AGC-T in 1-unit steps clamped to the existing 0..100 scale. The protocol path (slice set <id> agc_threshold=<value>) is already implemented in SliceModel::setAgcThreshold per FlexLib, and RxApplet is already bound to agcThresholdChanged — so this change is purely FlexControl plumbing in three files: - src/gui/MainWindow.h: extend FlexWheelMode enum with AgcT - src/gui/MainWindow.cpp: handle AgcT in tuneSteps lambda (active-slice guard mirrors Rit/Xit), add WheelAgcT button action to switch mode, add AgcT case to flexWheelModeName - src/gui/RadioSetupDialog.cpp: add WheelAgcT to the mapping UI's action list Token naming follows existing camel-case convention (WheelFrequency, WheelRit, WheelXit) rather than the issue's literal "WheelAGC-T". Knob-press return-to-Frequency inherits the existing handler at MainWindow.cpp:3525, so AgcT auto-exits like other non-Frequency modes. Blast radius: risk_score=0.197 driven by RadioSetupDialog.cpp's position in the MainWindow construction graph; the actual edit is an additive enum value, additive switch cases, and a static QStringList append — no API or semantic change to existing call sites. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 tasks
jensenpat
approved these changes
May 21, 2026
jensenpat
left a comment
Collaborator
There was a problem hiding this comment.
Approve AGC-T control binding.
G6PWY-Chris
pushed a commit
to G6PWY-Chris/AetherSDR
that referenced
this pull request
Jun 22, 2026
…Principle I. (aethersdr#2924) ## Summary Fixes aethersdr#2907 ### What was changed feat(flexcontrol): add WheelAgcT wheel-mode action (aethersdr#2907). Principle I. ### Files modified - `src/gui/MainWindow.cpp` - `src/gui/MainWindow.h` - `src/gui/RadioSetupDialog.cpp` ``` src/gui/MainWindow.cpp | 9 +++++++++ src/gui/MainWindow.h | 2 +- src/gui/RadioSetupDialog.cpp | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) ``` --- Generated by AetherClaude (automated agent for AetherSDR) Co-authored-by: aethersdr-agent[bot] <273844287+aethersdr-agent[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #2907
What was changed
feat(flexcontrol): add WheelAgcT wheel-mode action (#2907). Principle I.
Files modified
src/gui/MainWindow.cppsrc/gui/MainWindow.hsrc/gui/RadioSetupDialog.cppGenerated by AetherClaude (automated agent for AetherSDR)