54 Q_FLAGS(SynchronizeSiblings)
59 Q_PROPERTY(
int decimals READ decimals WRITE setDecimals NOTIFY decimalsChanged)
60 Q_PROPERTY(
double singleStep READ singleStep WRITE setSingleStep)
61 Q_PROPERTY(
double pageStep READ pageStep WRITE setPageStep)
62 Q_PROPERTY(
double minimum READ minimum WRITE setMinimum)
63 Q_PROPERTY(
double maximum READ maximum WRITE setMaximum)
64 Q_PROPERTY(
double value READ value WRITE setValue)
65 Q_PROPERTY(QString prefix READ prefix WRITE setPrefix)
66 Q_PROPERTY(QString suffix READ suffix WRITE setSuffix)
67 Q_PROPERTY(
double tickInterval READ tickInterval WRITE setTickInterval)
68 Q_PROPERTY(QSlider::TickPosition tickPosition READ tickPosition WRITE setTickPosition)
69 Q_PROPERTY(SynchronizeSiblings synchronizeSiblings READ synchronizeSiblings WRITE setSynchronizeSiblings)
70 Q_PROPERTY(Qt::Alignment spinBoxAlignment READ spinBoxAlignment WRITE setSpinBoxAlignment)
71 Q_PROPERTY(
bool tracking READ hasTracking WRITE setTracking)
72 Q_PROPERTY(
bool spinBoxVisible READ isSpinBoxVisible WRITE setSpinBoxVisible);
73 Q_PROPERTY(
bool popupSlider READ hasPopupSlider WRITE setPopupSlider);
74 Q_PROPERTY(
bool invertedAppearance READ invertedAppearance WRITE setInvertedAppearance)
75 Q_PROPERTY(
bool invertedControls READ invertedControls WRITE setInvertedControls)
94 NoSynchronize = 0x000,
95 SynchronizeWidth = 0x001,
96 SynchronizeDecimals = 0x002,
98 Q_DECLARE_FLAGS(SynchronizeSiblings, SynchronizeSibling)
113 virtual
double minimum()const;
114 virtual
void setMinimum(
double minimum);
122 virtual
double maximum()const;
123 virtual
void setMaximum(
double maximum);
126 virtual
void setRange(
double min,
double max);
138 virtual
double value()const;
145 virtual
double singleStep()const;
146 virtual
void setSingleStep(
double step);
152 virtual
double pageStep()const;
153 virtual
void setPageStep(
double step);
158 virtual
int decimals()const;
164 virtual QString prefix()const;
165 virtual
void setPrefix(const QString& prefix);
171 virtual QString suffix()const;
172 virtual
void setSuffix(const QString& suffix);
179 virtual
double tickInterval()const;
180 virtual
void setTickInterval(
double tick);
186 virtual
void setTickPosition(QSlider::TickPosition position);
187 virtual QSlider::TickPosition tickPosition()const;
193 virtual
void setSpinBoxAlignment(Qt::Alignment alignment);
194 virtual Qt::Alignment spinBoxAlignment()const;
202 virtual
void setTracking(
bool enable);
203 virtual
bool hasTracking()const;
210 virtual
SliderWidget::SynchronizeSiblings synchronizeSiblings() const;
211 virtual
void setSynchronizeSiblings(
SliderWidget::SynchronizeSiblings options);
222 virtual
void setInvertedAppearance(
bool invertedAppearance);
223 virtual
bool invertedAppearance()const;
232 virtual
void setInvertedControls(
bool invertedControls);
233 virtual
bool invertedControls()const;
238 virtual
bool isSpinBoxVisible()const;
247 virtual
bool hasPopupSlider()const;
248 virtual
void setPopupSlider(
bool popup);
273 virtual
void setValueProxy(
ValueProxy* proxy);
279 virtual
void reset();
280 virtual
void setValue(
double value);
281 virtual
void setSpinBoxVisible(
bool);
285 virtual
void setDecimals(
int decimals);
293 void valueChanged(
double value);
299 void valueIsChanging(
double value);
303 void decimalsChanged(
int decimals);
307 virtual
void startChanging();
308 virtual
void stopChanging();
309 virtual
void setSpinBoxValue(
double sliderValue);
310 virtual
void setSliderValue(
double spinBoxValue);
311 virtual
void onValueProxyAboutToBeModified();
312 virtual
void onValueProxyModified();
315 virtual
bool eventFilter(QObject *obj, QEvent *event);