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

Aaron Seigo aseigo at kde.org
Sun Apr 12 13:44:25 BST 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/555/#review904
-----------------------------------------------------------


the concept sounds good, but the diffs didn't make it up onto reviewboard (be sure to "View Diff" when posting to make sure it upload properly :) .. can you (re-)post the diff? thanks :)

- Aaron


On 2009-04-11 11:45:18, Cyrille Berger wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/555/
> -----------------------------------------------------------
> 
> (Updated 2009-04-11 11:45:18)
> 
> 
> Review request for kdelibs.
> 
> 
> Summary
> -------
> 
> 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)
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdelibs/kdeui/widgets/knuminput.h 952354 
>   trunk/KDE/kdelibs/kdeui/widgets/knuminput.cpp 952354 
> 
> Diff: http://reviewboard.kde.org/r/555/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Cyrille
> 
>





More information about the kde-core-devel mailing list