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

Method setShowGrid

src/gui/SpectrumWidget.cpp:1634–1640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1632 s.save();
1633}
1634void SpectrumWidget::setShowGrid(bool on) {
1635 m_showGrid = on;
1636 auto& s = AppSettings::instance();
1637 s.setValue(settingsKey("DisplayShowGrid"), on ? "True" : "False");
1638 s.save();
1639 markOverlayDirty();
1640}
1641void SpectrumWidget::setFreqGridSpacing(int khz) {
1642 m_freqGridSpacingKhz = khz;
1643 auto& s = AppSettings::instance();

Callers 5

AprsMessagesDialogMethod · 0.80
buildTciTabMethod · 0.80
buildAprsUiMethod · 0.80
MemoryBrowsePanelMethod · 0.80
buildBodyMethod · 0.80

Calls 3

settingsKeyFunction · 0.85
setValueMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected