MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / refreshParamControls

Method refreshParamControls

Default/FFT/FFTWidget.cpp:962–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960}
961
962void
963FFTWidget::refreshParamControls(Suscan::AnalyzerParams const &params)
964{
965 bool blockSignals = this->blockSignals(true);
966
967 this->setWindowFunction(params.windowFunction);
968 this->setFftSize(params.windowSize);
969 this->setRefreshRate(SCAST(unsigned, 1.f / params.psdUpdateInterval));
970 this->blockSignals(blockSignals);
971}
972
973///////////////////////////////// Slots ///////////////////////////////////////
974void

Callers 2

applyConfigMethod · 0.95
onAnalyzerParamsMethod · 0.95

Calls 3

setWindowFunctionMethod · 0.95
setFftSizeMethod · 0.95
setRefreshRateMethod · 0.95

Tested by

no test coverage detected