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

Method setBackgroundFillColor

src/gui/SpectrumWidget.cpp:7342–7350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7340}
7341
7342void SpectrumWidget::setBackgroundFillColor(const QColor& c)
7343{
7344 if (!c.isValid() || c == m_bgFillColor) return;
7345 m_bgFillColor = c;
7346 auto& s = AppSettings::instance();
7347 s.setValue(settingsKey("BackgroundFillColor"), m_bgFillColor.name());
7348 s.save();
7349 markOverlayDirty();
7350}
7351
7352bool SpectrumWidget::event(QEvent* ev)
7353{

Callers 2

wirePanadapterMethod · 0.80
wirePanLifecycleMethod · 0.80

Calls 5

settingsKeyFunction · 0.85
isValidMethod · 0.45
setValueMethod · 0.45
nameMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected