MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / setUnits

Method setUnits

gui/src/plotaxis.cpp:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117PrefixFormatter *PlotAxis::getFormatter() { return m_formatter; }
118
119void PlotAxis::setUnits(QString units)
120{
121 m_units = units;
122 m_scaleDraw->setUnitType(m_units);
123
124 Q_EMIT unitsChanged(units);
125}
126
127QString PlotAxis::getUnits() { return m_units; }
128

Callers 5

GRTimeChannelAddonMethod · 0.45
createYAxisMenuMethod · 0.45
setYModeMethod · 0.45
ImportChannelAddonMethod · 0.45
setXUnitMethod · 0.45

Calls 1

setUnitTypeMethod · 0.45

Tested by

no test coverage detected