4#ifndef QQUICKSLIDER_P_H
5#define QQUICKSLIDER_P_H
18#include <QtQuickTemplates2/private/qquickcontrol_p.h>
31 Q_PROPERTY(
qreal visualPosition READ visualPosition NOTIFY visualPositionChanged FINAL)
32 Q_PROPERTY(
qreal stepSize READ stepSize WRITE setStepSize NOTIFY stepSizeChanged FINAL)
33 Q_PROPERTY(
SnapMode snapMode READ snapMode WRITE setSnapMode NOTIFY snapModeChanged FINAL)
34 Q_PROPERTY(
bool pressed READ isPressed WRITE setPressed NOTIFY pressedChanged FINAL)
37 Q_PROPERTY(
bool live READ live WRITE setLive NOTIFY liveChanged FINAL REVISION(2, 2))
39 Q_PROPERTY(
bool horizontal READ isHorizontal NOTIFY orientationChanged FINAL REVISION(2, 3))
40 Q_PROPERTY(
bool vertical READ isVertical NOTIFY orientationChanged FINAL REVISION(2, 3))
42 Q_PROPERTY(
qreal touchDragThreshold READ touchDragThreshold WRITE setTouchDragThreshold RESET resetTouchDragThreshold NOTIFY touchDragThresholdChanged FINAL REVISION(2, 5))
43 Q_PROPERTY(
qreal implicitHandleWidth READ implicitHandleWidth NOTIFY implicitHandleWidthChanged FINAL REVISION(2, 5))
44 Q_PROPERTY(
qreal implicitHandleHeight READ implicitHandleHeight NOTIFY implicitHandleHeightChanged FINAL REVISION(2, 5))
45 Q_CLASSINFO(
"DeferredPropertyNames",
"background,handle")
54 void setFrom(
qreal from);
63 qreal visualPosition()
const;
65 qreal stepSize()
const;
66 void setStepSize(
qreal step);
75 SnapMode snapMode()
const;
76 void setSnapMode(SnapMode
mode);
78 bool isPressed()
const;
79 void setPressed(
bool pressed);
92 void setLive(
bool live);
95 bool isHorizontal() const;
96 bool isVertical() const;
99 qreal touchDragThreshold() const;
100 void setTouchDragThreshold(
qreal touchDragThreshold);
101 void resetTouchDragThreshold();
103 qreal implicitHandleWidth() const;
104 qreal implicitHandleHeight() const;
114 void positionChanged();
115 void visualPositionChanged();
116 void stepSizeChanged();
117 void snapModeChanged();
118 void pressedChanged();
119 void orientationChanged();
120 void handleChanged();
133#if QT_CONFIG(quicktemplates2_multitouch)
136#if QT_CONFIG(wheelevent)
137 void wheelEvent(QWheelEvent *
event)
override;
143#if QT_CONFIG(accessibility)
144 void accessibilityActiveChanged(
bool active)
override;
145 QAccessible::Role accessibleRole()
const override;
The QKeyEvent class describes a key event.
void componentComplete() override
Invoked after the root component that caused this instantiation has completed construction.
virtual void mirrorChange()
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
virtual void touchEvent(QTouchEvent *event)
This event handler can be reimplemented in a subclass to receive touch events for an item.
Used to select a value by sliding a handle along a track.
Q_REVISION(2, 1) 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_DECLARE_TYPE(TYPE)
#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)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent