53 Q_PROPERTY(
int decimals READ decimals WRITE setDecimals)
54 Q_PROPERTY(
double singleStep READ singleStep WRITE setSingleStep)
55 Q_PROPERTY(
double minimum READ minimum WRITE setMinimum)
56 Q_PROPERTY(
double maximum READ maximum WRITE setMaximum)
57 Q_PROPERTY(
double minimumValue READ minimumValue WRITE setMinimumValue)
58 Q_PROPERTY(
double maximumValue READ maximumValue WRITE setMaximumValue)
59 Q_PROPERTY(QString prefix READ prefix WRITE setPrefix)
60 Q_PROPERTY(QString suffix READ suffix WRITE setSuffix)
61 Q_PROPERTY(
double tickInterval READ tickInterval WRITE setTickInterval)
62 Q_PROPERTY(
bool autoSpinBoxWidth READ isAutoSpinBoxWidth WRITE setAutoSpinBoxWidth)
63 Q_PROPERTY(Qt::Alignment spinBoxTextAlignment READ spinBoxTextAlignment WRITE setSpinBoxTextAlignment)
64 Q_PROPERTY(Qt::Alignment spinBoxAlignment READ spinBoxAlignment WRITE setSpinBoxAlignment)
65 Q_PROPERTY(
bool tracking READ hasTracking WRITE setTracking)
66 Q_PROPERTY(
bool symmetricMoves READ symmetricMoves WRITE setSymmetricMoves)
86 virtual double minimum()
const;
87 virtual void setMinimum(
double minimum);
95 virtual double maximum()
const;
96 virtual void setMaximum(
double maximum);
99 virtual void setRange(
double min,
double max);
100 virtual void range(
double minimumAndMaximum[2])
const;
106 virtual double minimumValue()
const;
112 virtual double maximumValue()
const;
117 virtual void values(
double &minValue,
double &maxValue)
const;
124 virtual double singleStep()
const;
125 virtual void setSingleStep(
double step);
129 virtual int decimals()
const;
135 virtual QString prefix()
const;
136 virtual void setPrefix(
const QString& prefix);
142 virtual QString suffix()
const;
143 virtual void setSuffix(
const QString& suffix);
150 virtual double tickInterval()
const;
151 virtual void setTickInterval(
double ti);
157 virtual void setSpinBoxAlignment(Qt::Alignment alignment);
158 virtual Qt::Alignment spinBoxAlignment()
const;
164 virtual void setSpinBoxTextAlignment(Qt::Alignment alignment);
165 virtual Qt::Alignment spinBoxTextAlignment()
const;
173 virtual void setTracking(
bool enable);
174 virtual bool hasTracking()
const;
181 virtual bool isAutoSpinBoxWidth()
const;
182 virtual void setAutoSpinBoxWidth(
bool autoWidth);
187 virtual bool symmetricMoves()
const;
188 virtual void setSymmetricMoves(
bool symmetry);
202 virtual void setValueProxy(
ValueProxy* proxy);
208 virtual void reset();
209 virtual void setMinimumValue(
double value);
210 virtual void setMaximumValue(
double value);
213 virtual void setValues(
double minValue,
double maxValue);
217 virtual void setDecimals(
int decimals);
224 void minimumValueIsChanging(
double value);
225 void maximumValueChanged(
double value);
226 void maximumValueIsChanging(
double value);
227 void valuesChanged(
double minValue,
double maxValue);
228 void rangeChanged(
double min,
double max);
231 virtual void startChanging();
232 virtual void stopChanging();
233 virtual void changeValues(
double newMinValue,
double newMaxValue);
234 virtual void changeMinimumValue(
double value);
235 virtual void changeMaximumValue(
double value);
237 virtual void setSliderValues();
238 virtual void setMinimumToMaximumSpinBox(
double minimum);
239 virtual void setMaximumToMinimumSpinBox(
double maximum);
240 virtual void onSliderRangeChanged(
double min,
double max);
242 virtual void onValueProxyAboutToBeModified();
243 virtual void onValueProxyModified();
246 virtual bool eventFilter(QObject *obj, QEvent *event);
252 QScopedPointer<DoubleRangeWidgetPrivate> d_ptr;