4#ifndef QQUICKFLICKABLE_P_H
5#define QQUICKFLICKABLE_P_H
19#include <private/qtquickglobal_p.h>
29 Q_PROPERTY(
qreal contentWidth READ contentWidth WRITE setContentWidth NOTIFY contentWidthChanged)
30 Q_PROPERTY(
qreal contentHeight READ contentHeight WRITE setContentHeight NOTIFY contentHeightChanged)
31 Q_PROPERTY(
qreal contentX READ contentX WRITE setContentX NOTIFY contentXChanged FINAL)
32 Q_PROPERTY(
qreal contentY READ contentY WRITE setContentY NOTIFY contentYChanged FINAL)
35 Q_PROPERTY(
qreal topMargin READ topMargin WRITE setTopMargin NOTIFY topMarginChanged FINAL)
36 Q_PROPERTY(
qreal bottomMargin READ bottomMargin WRITE setBottomMargin NOTIFY bottomMarginChanged FINAL)
39 Q_PROPERTY(
qreal leftMargin READ leftMargin WRITE setLeftMargin NOTIFY leftMarginChanged FINAL)
40 Q_PROPERTY(
qreal rightMargin READ rightMargin WRITE setRightMargin NOTIFY rightMarginChanged FINAL)
43 Q_PROPERTY(
qreal horizontalVelocity READ horizontalVelocity NOTIFY horizontalVelocityChanged FINAL)
44 Q_PROPERTY(
qreal verticalVelocity READ verticalVelocity NOTIFY verticalVelocityChanged FINAL)
46 Q_PROPERTY(BoundsBehavior boundsBehavior READ boundsBehavior WRITE setBoundsBehavior NOTIFY boundsBehaviorChanged FINAL)
47 Q_PROPERTY(
BoundsMovement boundsMovement READ boundsMovement WRITE setBoundsMovement NOTIFY boundsMovementChanged REVISION(2, 10) FINAL)
49 Q_PROPERTY(
qreal maximumFlickVelocity READ maximumFlickVelocity WRITE setMaximumFlickVelocity NOTIFY maximumFlickVelocityChanged FINAL)
50 Q_PROPERTY(
qreal flickDeceleration READ flickDeceleration WRITE setFlickDeceleration NOTIFY flickDecelerationChanged FINAL)
51 Q_PROPERTY(
bool moving READ isMoving NOTIFY movingChanged FINAL)
52 Q_PROPERTY(
bool movingHorizontally READ isMovingHorizontally NOTIFY movingHorizontallyChanged FINAL)
53 Q_PROPERTY(
bool movingVertically READ isMovingVertically NOTIFY movingVerticallyChanged FINAL)
54 Q_PROPERTY(
bool flicking READ isFlicking NOTIFY flickingChanged FINAL)
55 Q_PROPERTY(
bool flickingHorizontally READ isFlickingHorizontally NOTIFY flickingHorizontallyChanged FINAL)
56 Q_PROPERTY(
bool flickingVertically READ isFlickingVertically NOTIFY flickingVerticallyChanged FINAL)
57 Q_PROPERTY(
bool dragging READ isDragging NOTIFY draggingChanged FINAL)
58 Q_PROPERTY(
bool draggingHorizontally READ isDraggingHorizontally NOTIFY draggingHorizontallyChanged FINAL)
59 Q_PROPERTY(
bool draggingVertically READ isDraggingVertically NOTIFY draggingVerticallyChanged FINAL)
60 Q_PROPERTY(
FlickableDirection flickableDirection READ flickableDirection WRITE setFlickableDirection NOTIFY flickableDirectionChanged FINAL)
62 Q_PROPERTY(
bool interactive READ isInteractive WRITE setInteractive NOTIFY interactiveChanged FINAL)
63 Q_PROPERTY(
int pressDelay READ pressDelay WRITE setPressDelay NOTIFY pressDelayChanged FINAL)
65 Q_PROPERTY(
bool atXEnd READ isAtXEnd NOTIFY atXEndChanged FINAL)
66 Q_PROPERTY(
bool atYEnd READ isAtYEnd NOTIFY atYEndChanged FINAL)
67 Q_PROPERTY(
bool atXBeginning READ isAtXBeginning NOTIFY atXBeginningChanged FINAL)
68 Q_PROPERTY(
bool atYBeginning READ isAtYBeginning NOTIFY atYBeginningChanged FINAL)
72 Q_PROPERTY(
bool pixelAligned READ pixelAligned WRITE setPixelAligned NOTIFY pixelAlignedChanged FINAL)
73 Q_PROPERTY(
bool synchronousDrag READ synchronousDrag WRITE setSynchronousDrag NOTIFY synchronousDragChanged REVISION(2, 12) FINAL)
75 Q_PROPERTY(
qreal horizontalOvershoot READ horizontalOvershoot NOTIFY horizontalOvershootChanged REVISION(2, 9) FINAL)
76 Q_PROPERTY(
qreal verticalOvershoot READ verticalOvershoot NOTIFY verticalOvershootChanged REVISION(2, 9) FINAL)
94 OvershootBounds = 0x2,
95 DragAndOvershootBounds = DragOverBounds | OvershootBounds
100 BoundsBehavior boundsBehavior()
const;
101 void setBoundsBehavior(BoundsBehavior);
105 FollowBoundsBehavior = 0x1
109 BoundsMovement boundsMovement()
const;
110 void setBoundsMovement(BoundsMovement movement);
115 qreal contentWidth()
const;
116 void setContentWidth(
qreal);
118 qreal contentHeight()
const;
119 void setContentHeight(
qreal);
121 qreal contentX()
const;
122 virtual void setContentX(
qreal pos);
124 qreal contentY()
const;
125 virtual void setContentY(
qreal pos);
127 qreal topMargin()
const;
128 void setTopMargin(
qreal m);
130 qreal bottomMargin()
const;
131 void setBottomMargin(
qreal m);
133 qreal leftMargin()
const;
134 void setLeftMargin(
qreal m);
136 qreal rightMargin()
const;
137 void setRightMargin(
qreal m);
139 virtual qreal originY()
const;
140 virtual qreal originX()
const;
142 bool isMoving()
const;
143 bool isMovingHorizontally()
const;
144 bool isMovingVertically()
const;
145 bool isFlicking()
const;
146 bool isFlickingHorizontally()
const;
147 bool isFlickingVertically()
const;
148 bool isDragging()
const;
149 bool isDraggingHorizontally()
const;
150 bool isDraggingVertically()
const;
152 int pressDelay()
const;
153 void setPressDelay(
int delay);
155 qreal maximumFlickVelocity()
const;
156 void setMaximumFlickVelocity(
qreal);
158 qreal flickDeceleration()
const;
159 void setFlickDeceleration(
qreal);
161 bool isInteractive()
const;
162 void setInteractive(
bool);
164 qreal horizontalVelocity()
const;
165 qreal verticalVelocity()
const;
167 bool isAtXEnd()
const;
168 bool isAtXBeginning()
const;
169 bool isAtYEnd()
const;
170 bool isAtYBeginning()
const;
174 enum FlickableDirection { AutoFlickDirection=0x0, HorizontalFlick=0x1, VerticalFlick=0x2, HorizontalAndVerticalFlick=0x3,
175 AutoFlickIfNeeded=0xc };
176 Q_ENUM(FlickableDirection)
177 FlickableDirection flickableDirection()
const;
178 void setFlickableDirection(FlickableDirection);
180 bool pixelAligned()
const;
181 void setPixelAligned(
bool align);
183 bool synchronousDrag()
const;
184 void setSynchronousDrag(
bool v);
186 qreal horizontalOvershoot()
const;
187 qreal verticalOvershoot()
const;
221 void reboundChanged();
222 void maximumFlickVelocityChanged();
223 void flickDecelerationChanged();
224 void pressDelayChanged();
225 void movementStarted();
226 void movementEnded();
231 void pixelAlignedChanged();
237 void atXEndChanged();
238 void atYEndChanged();
239 void atXBeginningChanged();
240 void atYBeginningChanged();
248#if QT_CONFIG(wheelevent)
249 void wheelEvent(QWheelEvent *
event)
override;
256 void movementStarting();
257 void movementEnding();
258 void movementEnding(
bool hMovementEnding,
bool vMovementEnding);
259 void velocityTimelineCompleted();
260 void timelineCompleted();
263 virtual qreal minXExtent()
const;
264 virtual qreal minYExtent()
const;
265 virtual qreal maxXExtent()
const;
266 virtual qreal maxYExtent()
const;
267 qreal vWidth()
const;
268 qreal vHeight()
const;
270 virtual void viewportMoved(Qt::Orientations orient);
virtual void timerEvent(QTimerEvent *event)
This event handler can be reimplemented in a subclass to receive timer events for the object.
\inmodule QtCore\reentrant
A base class for pointer events.
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
void boundsBehaviorChanged()
void draggingHorizontallyChanged()
void interactiveChanged()
void flickableDirectionChanged()
Q_REVISION(2, 10) void boundsMovementChanged()
void bottomMarginChanged()
void movingHorizontallyChanged()
QQuickFlickableVisibleArea * visibleArea()
void flickingVerticallyChanged()
void verticalVelocityChanged()
void isAtBoundaryChanged()
void draggingVerticallyChanged()
void horizontalVelocityChanged()
void contentWidthChanged()
void movingVerticallyChanged()
void rightMarginChanged()
void flickingHorizontallyChanged()
void contentHeightChanged()
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
virtual void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry)
virtual void mouseUngrabEvent()
This event handler can be reimplemented in a subclass to be notified when a mouse ungrab event has oc...
void componentComplete() override
\reimp Derived classes should call the base class method before adding their own actions to perform a...
\inmodule QtCore\reentrant
The QTouchEvent class contains parameters that describe a touch event.
Combined button and popup list for selecting options.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
#define Q_DECLARE_FLAGS(Flags, Enum)
GLsizei const GLfloat * v
[13]
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h
#define QML_DECLARE_TYPE(TYPE)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent