Spinboxes and Sliders

Cyrille Berger cberger at cberger.net
Sun Nov 15 17:54:35 CET 2009


On Sunday 15 November 2009, LukasT.dev at gmail.com wrote:
> Hello,
> 
> I'm trying to sliderify all my paintops and I come to this problem:
> When I want to add QSlider to QDoubleSpinBox, there is no relevant
>  signal/slot (no problem for qspinbox and qslider)

You should use KIntNumInput and KDoubleNumInput. Then you need to use 
setSliderEnabled, in your code, not in the UI (at least, until we start 
requiring KDE 4.3).

> 2. Use KDoubleNumInput
> - ugly layout, not very usable till somebody hint how can I layout the way
>  I want - no separate steps
Can you explain what is wrong ?

> - buggy in Designer
Hardly a problem :)

-- 
Cyrille Berger


More information about the kimageshop mailing list