71 int lowerValue()
const;
79 int upperValue()
const;
86 void setTickPosition( QSlider::TickPosition position );
93 QSlider::TickPosition tickPosition()
const;
100 void setTickInterval(
int interval );
107 int tickInterval()
const;
114 void setOrientation( Qt::Orientation orientation );
121 Qt::Orientation orientation()
const;
131 bool flippedDirection()
const;
142 void setFlippedDirection(
bool flipped );
144 void paintEvent( QPaintEvent *event )
override;
145 void mousePressEvent( QMouseEvent *event )
override;
146 void mouseMoveEvent( QMouseEvent *event )
override;
147 void mouseReleaseEvent( QMouseEvent *event )
override;
148 void keyPressEvent( QKeyEvent *event )
override;
149 QSize sizeHint()
const override;
150 QSize minimumSizeHint()
const override;
160 int singleStep()
const;
170 int pageStep()
const;
182 int fixedRangeSize()
const;
194 void setFixedRangeSize(
int size );
204 void setMaximum(
int maximum );
212 void setMinimum(
int minimum );
220 void setRangeLimits(
int minimum,
int maximum );
229 void setLowerValue(
int value );
238 void setUpperValue(
int value );
246 void setRange(
int lower,
int upper );
256 void setSingleStep(
int step );
266 void setPageStep(
int step );
268 bool event( QEvent *event )
override;
294 int pick(
const QPoint &pt )
const;
295 int pixelPosToRangeValue(
int pos )
const;
296 bool updateHoverControl(
const QPoint &pos );
297 bool newHoverControl(
const QPoint &pos );
298 QRect selectedRangeRect();
299 void drawFocusRect();
307 int mFixedRangeSize = -1;
309 QStyleOptionSlider mStyleOption;
319 void applyStep(
int step );
320 int unFlippedSliderPosition(
int value )
const;
322 Control mActiveControl =
None;
323 int mStartDragPos = -1;
324 int mLowerClickOffset = 0;
325 int mUpperClickOffset = 0;
326 int mRangeDragOffset = 0;
327 int mPreDragLowerValue = -1;
328 int mPreDragUpperValue = -1;
329 Control mHoverControl =
None;
330 Control mFocusControl = Lower;
331 QStyle::SubControl mHoverSubControl = QStyle::SC_None;
334 bool mFlipped =
false;