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

Function oscillatorStatusColor

src/gui/RadioSetupDialog.cpp:528–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528static QString oscillatorStatusColor(const RadioModel* model)
529{
530 if (normalizedOscillatorValue(model->oscState()).isEmpty())
531 return QStringLiteral("#8aa8c0");
532 return model->oscLocked() ? QStringLiteral("#00c040")
533 : QStringLiteral("#c04040");
534}
535
536static void addOscillatorChoice(QComboBox* combo, const QString& label,
537 const QString& value)

Callers 1

buildRxTabMethod · 0.85

Calls 4

oscStateMethod · 0.80
oscLockedMethod · 0.80
isEmptyMethod · 0.45

Tested by

no test coverage detected