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

Method profileLoadPanDimensionsMatchExpected

src/gui/MainWindow_Wiring.cpp:1203–1214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1201}
1202
1203bool MainWindow::profileLoadPanDimensionsMatchExpected(const QString& panId,
1204 SpectrumWidget* sw) const
1205{
1206 auto expectedIt = m_profileLoadPendingFftYpixels.find(panId);
1207 if (expectedIt == m_profileLoadPendingFftYpixels.end()) {
1208 return true;
1209 }
1210
1211 return sw
1212 && panPixelDimensionsReady(sw)
1213 && panYpixelsFor(sw) == expectedIt.value();
1214}
1215
1216void MainWindow::retryProfileLoadPanDimensions(const QString& panId, SpectrumWidget* sw)
1217{

Callers

nothing calls this directly

Calls 4

panPixelDimensionsReadyFunction · 0.85
panYpixelsForFunction · 0.85
findMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected