4#ifndef QQUICKRANGESLIDER_P_H
5#define QQUICKRANGESLIDER_P_H
18#include <QtQuickTemplates2/private/qquickcontrol_p.h>
32 Q_PROPERTY(
qreal stepSize READ stepSize WRITE setStepSize NOTIFY stepSizeChanged FINAL)
34 Q_PROPERTY(
Qt::Orientation orientation READ orientation WRITE setOrientation NOTIFY orientationChanged FINAL)
36 Q_PROPERTY(
bool live READ live WRITE setLive NOTIFY liveChanged FINAL REVISION(2, 2))
37 Q_PROPERTY(
bool horizontal READ isHorizontal NOTIFY orientationChanged FINAL REVISION(2, 3))
39 Q_PROPERTY(
bool vertical READ isVertical NOTIFY orientationChanged FINAL REVISION(2, 3))
41 Q_PROPERTY(
qreal touchDragThreshold READ touchDragThreshold WRITE setTouchDragThreshold RESET resetTouchDragThreshold NOTIFY touchDragThresholdChanged FINAL REVISION(2, 5))
50 void setFrom(
qreal from);
58 qreal stepSize() const;
59 void setStepSize(
qreal step);
68 SnapMode snapMode()
const;
69 void setSnapMode(SnapMode
mode);
78 void setLive(
bool live);
81 bool isHorizontal()
const;
82 bool isVertical()
const;
85 qreal touchDragThreshold()
const;
86 void setTouchDragThreshold(
qreal touchDragThreshold);
87 void resetTouchDragThreshold();
93 void stepSizeChanged();
94 void snapModeChanged();
95 void orientationChanged();
109#if QT_CONFIG(quicktemplates2_multitouch)
112 void mirrorChange()
override;
113 void classBegin()
override;
114 void componentComplete()
override;
116#if QT_CONFIG(accessibility)
117 QAccessible::Role accessibleRole()
const override;
134 Q_PROPERTY(
qreal visualPosition READ visualPosition NOTIFY visualPositionChanged FINAL)
136 Q_PROPERTY(
bool pressed READ isPressed WRITE setPressed NOTIFY pressedChanged FINAL)
138 Q_PROPERTY(
bool hovered READ isHovered WRITE setHovered NOTIFY hoveredChanged FINAL REVISION(2, 1))
140 Q_PROPERTY(
qreal implicitHandleWidth READ implicitHandleWidth NOTIFY implicitHandleWidthChanged FINAL REVISION(2, 5))
141 Q_PROPERTY(
qreal implicitHandleHeight READ implicitHandleHeight NOTIFY implicitHandleHeightChanged FINAL REVISION(2, 5))
154 qreal visualPosition() const;
159 bool isPressed() const;
160 void setPressed(
bool pressed);
163 bool isHovered() const;
164 void setHovered(
bool hovered);
167 qreal implicitHandleWidth() const;
168 qreal implicitHandleHeight() const;
176 void positionChanged();
177 void visualPositionChanged();
178 void handleChanged();
179 void pressedChanged();
184 void implicitHandleWidthChanged();
185 void implicitHandleHeightChanged();
The QFocusEvent class contains event parameters for widget focus events.
The QKeyEvent class describes a key event.
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Used to select a range of values by sliding two handles along a track.
Q_REVISION(2, 5) Q_INVOKABLE qreal valueAt(qreal position) const
The QTouchEvent class contains parameters that describe a touch event.
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint64 GLenum void * handle
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
static qreal valueAt(const QQuickRangeSlider *slider, qreal position)
settings setValue("DataPump/bgcolor", color)