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

Function labelForActionId

src/gui/FlexControlDialog.cpp:297–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295};
296
297QString labelForActionId(const QString& actionId)
298{
299 for (const auto& def : kFlexActions) {
300 if (actionId == QLatin1String(def.id))
301 return QString::fromLatin1(def.label);
302 }
303 return actionId.isEmpty() ? QStringLiteral("None") : actionId;
304}
305
306double normalizeWheelAngle(double radians)
307{

Callers 2

refreshButtonActionsMethod · 0.85
updateModeReadoutMethod · 0.85

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected