70 int lowerValue()
const;
78 int upperValue()
const;
85 void setTickPosition( QSlider::TickPosition position );
92 QSlider::TickPosition tickPosition()
const;
99 void setTickInterval(
int interval );
106 int tickInterval()
const;
113 void setOrientation( Qt::Orientation orientation );
120 Qt::Orientation orientation()
const;
130 bool flippedDirection()
const;
141 void setFlippedDirection(
bool flipped );
143 void paintEvent( QPaintEvent *event )
override;
144 void mousePressEvent( QMouseEvent *event )
override;
145 void mouseMoveEvent( QMouseEvent *event )
override;
146 void mouseReleaseEvent( QMouseEvent *event )
override;
147 void keyPressEvent( QKeyEvent *event )
override;
148 QSize sizeHint()
const override;
149 QSize minimumSizeHint()
const override;
159 int singleStep()
const;
169 int pageStep()
const;
181 int fixedRangeSize()
const;
193 void setFixedRangeSize(
int size );
203 void setMaximum(
int maximum );
211 void setMinimum(
int minimum );
219 void setRangeLimits(
int minimum,
int maximum );
228 void setLowerValue(
int value );
237 void setUpperValue(
int value );
245 void setRange(
int lower,
int upper );
255 void setSingleStep(
int step );
265 void setPageStep(
int step );
267 bool event( QEvent *event )
override;
292 int pick(
const QPoint &pt )
const;
293 int pixelPosToRangeValue(
int pos )
const;
294 bool updateHoverControl(
const QPoint &pos );
295 bool newHoverControl(
const QPoint &pos );
296 QRect selectedRangeRect();
297 void drawFocusRect();
305 int mFixedRangeSize = -1;
307 QStyleOptionSlider mStyleOption;
317 void applyStep(
int step );
318 int unFlippedSliderPosition(
int value )
const;
320 Control mActiveControl =
None;
321 int mStartDragPos = -1;
322 int mLowerClickOffset = 0;
323 int mUpperClickOffset = 0;
324 int mRangeDragOffset = 0;
325 int mPreDragLowerValue = -1;
326 int mPreDragUpperValue = -1;
327 Control mHoverControl =
None;
328 Control mFocusControl = Lower;
329 QStyle::SubControl mHoverSubControl = QStyle::SC_None;
332 bool mFlipped =
false;