MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / isWheelActionId

Function isWheelActionId

src/gui/FlexControlDialog.cpp:445–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445bool isWheelActionId(const QString& actionId)
446{
447 // Latching Aux actions are only the modes that make the knob adjust a
448 // continuous control. One-shot actions such as step, zoom, MOX,
449 // active-slice advance, split, and macros should not leave an Aux mode on.
450 return actionId == QLatin1String("WheelFrequency")
451 || actionId == QLatin1String("WheelVolume")
452 // "WheelMasterAf" is the legacy alias for WheelVolume (see #2986
453 // and flexWheelModeForAction in MainWindow.cpp). Recognized here
454 // so saved bindings made before consolidation still register as
455 // wheel actions in this predicate.
456 || actionId == QLatin1String("WheelMasterAf")
457 || actionId == QLatin1String("WheelSliceAudio")
458 || actionId == QLatin1String("WheelPower")
459 || actionId == QLatin1String("WheelRit")
460 || actionId == QLatin1String("WheelXit")
461 || actionId == QLatin1String("WheelHeadphoneVolume")
462 || actionId == QLatin1String("WheelAgcT")
463 || actionId == QLatin1String("WheelApf")
464 || actionId == QLatin1String("WheelCwSpeed");
465}
466
467} // namespace
468

Callers 2

activeKnobActionIdMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected