void NeedleInstrument::setScale(float zeroAngle, float zeroValue, float maxAngle, float maxValue) { Q_ASSERT(maxAngle != 0); _zeroangle = zeroAngle; _zeroValue = zeroValue; _maxAngle = maxAngle; _maxValue = maxValue; repaintPixmaps(); }
void NeedleInstrument::setLabel(QString text) { _label = text; repaintPixmaps(); }
void NeedleInstrument::setNumberScale(float ns) { _numberScale = ns; repaintPixmaps(); }
void NeedleInstrument::setNumbers(float div) { _numbers = div; repaintPixmaps(); }
void NeedleInstrument::setThinBars(float thin) { _thinBars = (float)thin; repaintPixmaps(); }
void NeedleInstrument::setBars(float thick, float thin) { _thinBars = thin; _thickBars = thick; repaintPixmaps(); }
void Variometer::setUnit(VelocityUnit unit) { units = unit; repaintPixmaps(); }