37 bool _isOutOfBounds[2] = {
false};
38 float _outOfBoundValue[2];
39 int _grabbedControl = -1;
40 int _lastSelectedControl = 0;
42 bool _grabbedBar =
false;
43 int _grabbedBarPosition;
44 int _grabbedBarStartPosition;
45 int _grabbedBarControlStartPositions[2];
47 void paintHandle(QStylePainter &p,
int i);
48 void paintTrack(QStylePainter &p);
49 bool doesHandleContainPixel(
int handle,
const QPoint &pixel)
const;
50 bool doesGrooveContainPixel(
const QPoint &pixel)
const;
51 bool isSliderDown(
int i)
const;
53 void emitValueChanged(
bool intermediate =
false);
void paintEvent(QPaintEvent *event)
QRangeSlider(Qt::Orientation orientation)
void ValueChangedIntermediate(float min, float max)
User changed the value but they have not finalized it.
void mousePressEvent(QMouseEvent *event)
void setStyle(QStyle *style)=delete
void ValueChanged(float min, float max)
User finalized changing the value.
void ValueChangedBegin()
User began to change the value.
void mouseMoveEvent(QMouseEvent *event)
void SetValue(float min, float max)
void mouseReleaseEvent(QMouseEvent *event)
QSize minimumSizeHint() const