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

Method syncWfLineDuration

src/gui/SpectrumOverlayMenu.cpp:2141–2154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2139}
2140
2141void SpectrumOverlayMenu::syncWfLineDuration(int rate)
2142{
2143 if (!m_rateSlider || !m_rateLabel) {
2144 return;
2145 }
2146 if (m_kiwiWaterfallControlMode) {
2147 return;
2148 }
2149
2150 QSignalBlocker blocker(m_rateSlider);
2151 const int sliderValue = lineDurationToRateSliderValue(rate);
2152 m_rateSlider->setValue(sliderValue);
2153 m_rateLabel->setText(rateSliderLabelText(sliderValue));
2154}
2155
2156void SpectrumOverlayMenu::syncExtraDisplaySettings(bool blankerOn, float blankerThresh,
2157 int bgOpacity,

Callers 1

setWfLineDurationMethod · 0.80

Calls 3

rateSliderLabelTextFunction · 0.85
setValueMethod · 0.45

Tested by

no test coverage detected