IncDec Slider with unlimited Range


I'm using an IncDecSlider to control some variables. The dragging when clicking on the buttons is a very useful feature. But the values normally can be anything from -inf to inf, so my question is, how would I implement a slider without a fixed range?

Forget the question, after reading all the way through the code I found Slider::setMouseDragSensitivity() was exactly the function I searched for...