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

Function currentMode

src/gui/SliceLabel.cpp:29–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27} // namespace
28
29Mode currentMode()
30{
31 // Default to "Global" so existing users see no change until they
32 // opt into RadioIndexed mode in Settings.
33 const QString s = AppSettings::instance()
34 .value("SliceLetterDisplay", "Global").toString();
35 return (s == "RadioIndexed") ? Mode::RadioIndexed : Mode::Global;
36}
37
38int displayColorIndex(int globalSliceId, const QString& radioLetter)
39{

Callers 5

displayColorIndexFunction · 0.85
richTextFunction · 0.85
unicodeFormFunction · 0.85
drawSliceBadgeFunction · 0.85
updateSliceButtonsMethod · 0.85

Calls 2

toStringMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected