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

Function assignModeForcedDirections

src/gui/SpectrumWidget.cpp:236–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236void assignModeForcedDirections(const QVector<SpectrumWidget::SliceOverlay>& overlays,
237 QMap<int, VfoWidget::FlagDir>& dirMap)
238{
239 for (const SpectrumWidget::SliceOverlay& overlay : overlays) {
240 if (overlay.mode == "RTTY" || overlay.mode == "DIGL") {
241 dirMap[overlay.sliceId] = VfoWidget::ForceRight;
242 }
243 }
244}
245
246} // namespace
247

Callers 3

vfoFlagOnLeftForSliceMethod · 0.85
repositionVfoFlagsMethod · 0.85
paintEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected