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

Function formatTnfDepth

src/gui/MainWindowHelpers.cpp:130–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130QString formatTnfDepth(int depthDb)
131{
132 switch (std::clamp(depthDb, 1, 3)) {
133 case 1:
134 return QStringLiteral("Normal");
135 case 2:
136 return QStringLiteral("Deep");
137 case 3:
138 return QStringLiteral("Very Deep");
139 default:
140 return QStringLiteral("Normal");
141 }
142}
143
144QString buildTnfTooltip(const TnfModel& tnfModel)
145{

Callers 1

buildTnfTooltipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected