MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / setValueA

Method setValueA

src/interface/QAnimatedSlider.cpp:42–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void QAnimatedSlider::setValueA(int val,
43 bool animate)
44{
45 cValue = val;
46 onTooltipInvalidated();
47
48 if (animate)
49 {
50 anim->stop();
51 anim->setDuration(mDuration);
52 anim->setEasingCurve(mEasingCurve);
53 anim->setStartValue(QSlider::value());
54 anim->setEndValue(val);
55 anim->start();
56 }
57 else
58 {
59 QSlider::setValue(val);
60 }
61}
62
63int QAnimatedSlider::valueA() const
64{

Callers 4

loadConfigMethod · 0.80
onBs2bPresetUpdatedMethod · 0.80
onReverbPresetUpdatedMethod · 0.80
loadPropertiesMethod · 0.80

Calls 4

valueFunction · 0.85
setDurationMethod · 0.80
setEasingCurveMethod · 0.80
startMethod · 0.80

Tested by

no test coverage detected