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

Function formatStep

src/gui/FlexControlDialog.cpp:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414QString formatStep(int hz)
415{
416 if (hz >= 1000)
417 return QString("%1 kHz").arg(hz / 1000.0, 0, 'f', hz % 1000 == 0 ? 0 : 1);
418 return QString("%1 Hz").arg(hz);
419}
420
421void repolish(QWidget* widget)
422{

Callers 1

setStepSizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected