24 return d->fastSliderStep();
29 return d->softMinimum();
34 return d->softMaximum();
39 return d->isDragging();
49 return d->minimumSizeHint();
54 d->setValue(newValue);
59 d->setRange(newMinimum, newMaximum, computeNewFastSliderStep);
64 setRange(newMinimum, maximum(), computeNewFastSliderStep);
69 setRange(minimum(), newMaximum, computeNewFastSliderStep);
74 d->setExponentRatio(newExponentRatio);
79 d->setBlockUpdateSignalOnDrag(newBlockUpdateSignalOnDrag);
84 d->setFastSliderStep(newFastSliderStep);
94 d->setSoftRange(newSoftMinimum, newSoftMaximum);
109 d->setValue(newValue, newBlockUpdateSignal);
127 return d->fastSliderStep();
132 return d->softMinimum();
137 return d->softMaximum();
142 return d->isDragging();
147 return d->sizeHint();
152 return d->minimumSizeHint();
157 d->setValue(newValue);
162 d->setRange(newMinimum, newMaximum, newNumberOfDecimals, computeNewFastSliderStep);
167 setRange(newMinimum, maximum(), decimals(), computeNewFastSliderStep);
172 setRange(minimum(), newMaximum, decimals(), computeNewFastSliderStep);
177 Q_ASSERT(newExponentRatio > 0.0);
178 d->setExponentRatio(newExponentRatio);
183 d->setBlockUpdateSignalOnDrag(newBlockUpdateSignalOnDrag);
188 d->setFastSliderStep(newFastSliderStep);
193 d->setSoftRange(newSoftMinimum, newSoftMaximum);
208 d->setValue(newValue, newBlockUpdateSignal);
float value(const T *src, size_t ch)
The KisDoubleParseSpinBox class is a cleverer doubleSpinBox, able to parse arithmetic expressions.
This class is a spinbox in which you can click and drag to set the value. A slider like bar is displa...
void setMaximum(qreal newMaximum, bool computeNewFastSliderStep=true)
qreal fastSliderStep() const
void setValue(qreal newValue)
void setRange(qreal newMinimum, qreal newMaximum, int newNumberOfDecimals=0, bool computeNewFastSliderStep=true)
Set the minimum and the maximum values of the range.
void setPrivateValue(qreal newValue)
QScopedPointer< KisSliderSpinBoxPrivate< KisDoubleSliderSpinBox, KisDoubleParseSpinBox > > d
void setBlockUpdateSignalOnDrag(bool newBlockUpdateSignalOnDrag)
qreal softMinimum() const
qreal softMaximum() const
void setSoftMaximum(qreal newSoftMaximum)
~KisDoubleSliderSpinBox() override
void setExponentRatio(qreal newExponentRatio)
void setSoftMinimum(qreal newSoftMinimum)
QSize sizeHint() const override
virtual void setInternalValue(qreal newValue, bool newBlockUpdateSignal)
void setSoftRange(qreal newSoftMinimum, qreal newSoftMaximum)
void setFastSliderStep(qreal newFastSliderStep)
void setMinimum(qreal newMinimum, bool computeNewFastSliderStep=true)
KisDoubleSliderSpinBox(QWidget *parent=nullptr)
QSize minimumSizeHint() const override
The KisIntParseSpinBox class is a cleverer SpinBox, able to parse arithmetic expressions.
This class is a spinbox in which you can click and drag to set the value. A slider like bar is displa...
int fastSliderStep() const
Get the value to which multiples the sinbox value snaps when the control key is pressed.
void setBlockUpdateSignalOnDrag(bool newBlockUpdateSignalOnDrag)
Set if the spinbox should not Q_EMIT signals when dragging the slider.
void setExponentRatio(qreal newExponentRatio)
Set the exponent used by a power function to modify the values as a function of the horizontal positi...
void setMinimum(int newMinimum, bool computeNewFastSliderStep=true)
Set the minimum value of the range.
~KisSliderSpinBox() override
void setSoftMinimum(int newSoftMinimum)
Set the minimum value of the soft range.
QSize minimumSizeHint() const override
QScopedPointer< KisSliderSpinBoxPrivate< KisSliderSpinBox, KisIntParseSpinBox > > d
void setSoftRange(int newSoftMinimum, int newSoftMaximum)
Set the minimum and the maximum values of the soft range.
void setFastSliderStep(int newFastSliderStep)
Set the value to which multiples the sinbox value snaps when the control key is pressed.
KisSliderSpinBox(QWidget *parent=nullptr)
int softMaximum() const
Get the maximum value of the "soft range".
void setPrivateValue(int value)
virtual void setInternalValue(int value, bool blockUpdateSignal)
void setValue(int newValue)
void setSoftMaximum(int newSoftMaximum)
Set the maximum value of the soft range.
void setMaximum(int newMaximum, bool computeNewFastSliderStep=true)
Set the maximum value of the range.
QSize sizeHint() const override
Set the value.
bool isDragging() const
Get if the user is currently dragging the slider with the pointer.
void setRange(int newMinimum, int newMaximum, bool computeNewFastSliderStep=true)
Set the minimum and the maximum values of the range, computing a new "fast slider step" based on the ...
void setPageStep(int newPageStep)
Does nothing currently.
int softMinimum() const
Get the minimum value of the "soft range".