8#ifndef LIBKIS_SLIDERSPINBOX_H
9#define LIBKIS_SLIDERSPINBOX_H
11#include "kis_slider_spin_box.h"
12#include "IntParseSpinBox.h"
13#include "DoubleParseSpinBox.h"
15#include "kritalibkis_export.h"
18template <
typename SpinBoxTypeTP,
typename BaseSpinBoxTypeTP>
19class KisSliderSpinBoxPrivate;
78 int fastSliderStep()
const;
86 int softMinimum()
const;
94 int softMaximum()
const;
100 bool isDragging()
const;
118 void setRange(
int newMinimum,
int newMaximum,
bool computeNewFastSliderStep =
true);
129 void setMinimum(
int newMinimum,
bool computeNewFastSliderStep =
true);
140 void setMaximum(
int newMaximum,
bool computeNewFastSliderStep =
true);
149 void setExponentRatio(qreal newExponentRatio);
161 void setBlockUpdateSignalOnDrag(
bool newBlockUpdateSignalOnDrag);
169 void setFastSliderStep(
int newFastSliderStep);
179 void setSoftRange(
int newSoftMinimum,
int newSoftMaximum);
188 void setSoftMinimum(
int newSoftMinimum);
197 void setSoftMaximum(
int newSoftMaximum);
200 void draggingFinished();
233 qreal fastSliderStep()
const;
234 qreal softMinimum()
const;
235 qreal softMaximum()
const;
236 bool isDragging()
const;
252 void setRange(qreal newMinimum, qreal newMaximum,
int newNumberOfDecimals = 0,
bool computeNewFastSliderStep =
true);
253 void setMinimum(qreal newMinimum,
bool computeNewFastSliderStep =
true);
254 void setMaximum(qreal newMaximum,
bool computeNewFastSliderStep =
true);
255 void setExponentRatio(qreal newExponentRatio);
256 void setBlockUpdateSignalOnDrag(
bool newBlockUpdateSignalOnDrag);
257 void setFastSliderStep(qreal newFastSliderStep);
258 void setSoftRange(qreal newSoftMinimum, qreal newSoftMaximum);
259 void setSoftMinimum(qreal newSoftMinimum);
260 void setSoftMaximum(qreal newSoftMaximum);
263 void draggingFinished();
A wrapper around KisDoubleParseSpinBox, which is a cleverer doubleSpinBox, able to parse arithmetic e...
This class is a wrapper around KisDoubleSliderSpinBox, a spinbox in which you can click and drag to s...
A wrapper around KisIntParseSpinBox, which is a cleverer SpinBox, able to parse arithmetic expression...
QSpinBox * widget() const
Get the internal KisIntParseSpinBox as a QWidget, so it may be added to a UI.
void setValue(int value, bool overwriteExpression=false)
Set the value of the spinbox.
This class is a wrapper around KisSliderSpinBox, a spinbox in which you can click and drag to set the...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:53:16 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.