KisSliderSpinBox api change

Cyrille Berger cberger at cberger.net
Sat Mar 13 23:46:12 CET 2010


On Saturday 13 March 2010, Sven Langkamp wrote:
> On Sat, Mar 13, 2010 at 9:23 AM, Boudewijn Rempt <boud at valdyas.org> wrote:
> > Does this make it impossible to use the slider for integer values? We
> > have a
> > number of places where we use integers, like opacity etc.
> 
> Not impossible, you could set decimals to 0 and round the resulting values.
> If we don't make the change than you have to be careful to use the right
> method.
> At the moment e.g. the gradient tool threshold is broken because of that.
Wouldn't it be possible to have two classes, one for integer and one for float 
? (with a base class to share everything)

-- 
Cyrille Berger


More information about the kimageshop mailing list