56 Q_PROPERTY(
int singleStep READ singleStep WRITE setSingleStep)
57 Q_PROPERTY(
int minimum READ minimum WRITE setMinimum)
58 Q_PROPERTY(
int maximum READ maximum WRITE setMaximum)
59 Q_PROPERTY(
int minimumValue READ minimumValue WRITE setMinimumValue)
60 Q_PROPERTY(
int maximumValue READ maximumValue WRITE setMaximumValue)
61 Q_PROPERTY(uint stepSizeValue READ stepSizeValue WRITE setStepSizeValue)
62 Q_PROPERTY(uint minimumRange READ minimumRange WRITE setMinimumRange)
63 Q_PROPERTY(uint maximumRange READ maximumRange WRITE setMaximumRange)
64 Q_PROPERTY(uint stepSizeRange READ stepSizeRange WRITE setStepSizeRange)
65 Q_PROPERTY(
bool rangeIncludeLimits READ rangeIncludeLimits WRITE setRangeIncludeLimits)
66 Q_PROPERTY(QString prefix READ prefix WRITE setPrefix)
67 Q_PROPERTY(QString suffix READ suffix WRITE setSuffix)
68 Q_PROPERTY(
int tickInterval READ tickInterval WRITE setTickInterval)
69 Q_PROPERTY(
bool autoSpinBoxWidth READ isAutoSpinBoxWidth WRITE setAutoSpinBoxWidth)
70 Q_PROPERTY(Qt::Alignment spinBoxTextAlignment READ spinBoxTextAlignment WRITE setSpinBoxTextAlignment)
71 Q_PROPERTY(Qt::Alignment spinBoxAlignment READ spinBoxAlignment WRITE setSpinBoxAlignment)
72 Q_PROPERTY(
bool tracking READ hasTracking WRITE setTracking)
73 Q_PROPERTY(
bool symmetricMoves READ symmetricMoves WRITE setSymmetricMoves)
93 virtual int minimum()
const;
94 virtual void setMinimum(
int minimum);
102 virtual int maximum()
const;
103 virtual void setMaximum(
int maximum);
106 virtual void setRange(
int min,
int max);
107 virtual void range(
int minimumAndMaximum[2])
const;
113 virtual int minimumValue()
const;
119 virtual int maximumValue()
const;
124 virtual void values(
int &minValue,
int &maxValue)
const;
131 virtual int singleStep()
const;
132 virtual void setSingleStep(
int step);
137 uint stepSizeValue()
const;
138 void setStepSizeValue(uint stepSize);
143 uint minimumRange()
const;
144 void setMinimumRange(uint min);
149 uint maximumRange()
const;
150 void setMaximumRange(uint max);
155 uint stepSizeRange()
const;
156 void setStepSizeRange(uint stepSize);
162 bool rangeIncludeLimits()
const;
163 void setRangeIncludeLimits(
bool include);
169 virtual QString prefix()
const;
170 virtual void setPrefix(
const QString& prefix);
176 virtual QString suffix()
const;
177 virtual void setSuffix(
const QString& suffix);
184 virtual int tickInterval()
const;
185 virtual void setTickInterval(
int ti);
191 virtual void setSpinBoxAlignment(Qt::Alignment alignment);
192 virtual Qt::Alignment spinBoxAlignment()
const;
198 virtual void setSpinBoxTextAlignment(Qt::Alignment alignment);
199 virtual Qt::Alignment spinBoxTextAlignment()
const;
207 virtual void setTracking(
bool enable);
208 virtual bool hasTracking()
const;
215 virtual bool isAutoSpinBoxWidth()
const;
216 virtual void setAutoSpinBoxWidth(
bool autoWidth);
221 virtual bool symmetricMoves()
const;
222 virtual void setSymmetricMoves(
bool symmetry);
229 virtual QSpinBox* minimumSpinBox()
const;
232 virtual QSpinBox* maximumSpinBox()
const;
243 virtual void reset();
244 virtual void setMinimumValue(
int value);
245 virtual void setMaximumValue(
int value);
248 virtual void setValues(
int minValue,
int maxValue);
255 void minimumValueIsChanging(
int value);
256 void maximumValueChanged(
int value);
257 void maximumValueIsChanging(
int value);
258 void valuesChanged(
int minValue,
int maxValue);
259 void rangeChanged(
int min,
int max);
262 virtual void startChanging();
263 virtual void stopChanging();
264 virtual void changeValues(
int newMinValue,
int newMaxValue);
265 virtual void changeMinimumValue(
int value);
266 virtual void changeMaximumValue(
int value);
268 virtual void setSliderValues();
269 virtual void setMinimumToMaximumSpinBox(
int minimum);
270 virtual void setMaximumToMinimumSpinBox(
int maximum);
271 virtual void onSliderRangeChanged(
int min,
int max);
274 virtual bool eventFilter(QObject *obj, QEvent *event);
280 QScopedPointer<RangeWidgetPrivate> d_ptr;