void ScrollBar::setInverted(bool inverted) { if ( d_inverted != inverted ) { d_inverted = inverted; moveSlider(minSliderValue(), maxSliderValue()); } }
void ScrollBar::setBase(double min, double max) { if ( min != d_minBase || max != d_maxBase ) { d_minBase = min; d_maxBase = max; moveSlider(minSliderValue(), maxSliderValue()); } }
void ScrollBar::setBase(double min, double max) { if (mLogScale) { min = log(min); max = log(max); } if (min != d_minBase || max != d_maxBase) { d_minBase = min; d_maxBase = max; moveSlider(minSliderValue(), maxSliderValue()); } }