55 Q_PROPERTY(
double value READ value WRITE setValue NOTIFY valueChanged USER
true)
56 Q_PROPERTY(
double sliderPosition READ sliderPosition WRITE setSliderPosition)
57 Q_PROPERTY(
double singleStep READ singleStep WRITE setSingleStep)
58 Q_PROPERTY(
double pageStep READ pageStep WRITE setPageStep)
59 Q_PROPERTY(
double minimum READ minimum WRITE setMinimum)
60 Q_PROPERTY(
double maximum READ maximum WRITE setMaximum)
61 Q_PROPERTY(
double tickInterval READ tickInterval WRITE setTickInterval)
62 Q_PROPERTY(QSlider::TickPosition tickPosition READ tickPosition WRITE setTickPosition)
63 Q_PROPERTY(
bool tracking READ hasTracking WRITE setTracking)
64 Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
65 Q_PROPERTY(QString handleToolTip READ handleToolTip WRITE setHandleToolTip)
66 Q_PROPERTY(
bool invertedAppearance READ invertedAppearance WRITE setInvertedAppearance)
67 Q_PROPERTY(
bool invertedControls READ invertedControls WRITE setInvertedControls)
78 explicit DoubleSlider(Qt::Orientation orient, QWidget* parent = 0);
87 void setMinimum(
double min);
88 double minimum()
const;
95 void setMaximum(
double max);
96 double maximum()
const;
101 void setRange(
double min,
double max);
116 void setSingleStep(
double step);
117 double singleStep()
const;
123 bool isValidStep(
double step)
const;
130 void setPageStep(
double step);
131 double pageStep()
const;
138 void setTickInterval(
double ti);
139 double tickInterval()
const;
145 void setTickPosition(QSlider::TickPosition position);
146 QSlider::TickPosition tickPosition()
const;
154 double sliderPosition()
const;
155 void setSliderPosition(
double);
163 void setTracking(
bool enable);
164 bool hasTracking()
const;
170 void triggerAction(QAbstractSlider::SliderAction action);
175 Qt::Orientation orientation()
const;
186 void setInvertedAppearance(
bool invertedAppearance);
187 bool invertedAppearance()
const;
195 void setInvertedControls(
bool invertedControls);
196 bool invertedControls()
const;
203 QString handleToolTip()
const;
204 void setHandleToolTip(
const QString& toolTip);
207 virtual bool eventFilter(QObject*, QEvent*);
226 void setValue(
double value);
231 void setOrientation(Qt::Orientation orientation);
264 void onValueChanged(
int value);
265 void onSliderMoved(
int position);
266 void onRangeChanged(
int min,
int max);
267 void onValueProxyAboutToBeModified();
268 void onValueProxyModified();
271 QScopedPointer<DoubleSliderPrivate> d_ptr;