Review Request: Allow slider to be exponential to the spin box on KDoubleNumInput

Cyrille Berger cberger at
Sat Apr 11 19:45:19 BST 2009

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs.


The main point if this patch is to allow to have an "exponential" slider for KDoubleNumInput. It's usefull when you have an input where the main interesting range is small values, while supporting a big range. For instance, in Krita, when we set the radius of the brush we have a range of 0.0 to 9999.0, but most of the time the user work in the range of 0.0-100.0, but since the slider is linear to 0.0 to 9999.0, the most usefull range is only 10% of the slider which makes the slider very unusuable, hence the idea of an exponential slider, where we could make sure the range 0.0-100.0 use half the slider.

Extra goodies, add a few Q_PROPERTY for enabling slider in designer. And it also bring KDoubleNumInput API closer to KIntegerNumInput (unfortunately I can't go further to have the same setRange function as in KIntegerNumInput since it would break ABI)


  trunk/KDE/kdelibs/kdeui/widgets/knuminput.h 952354 
  trunk/KDE/kdelibs/kdeui/widgets/knuminput.cpp 952354 





More information about the kde-core-devel mailing list