equal
deleted
inserted
replaced
123 qreal overShootDistance(qreal velocity, qreal size); |
123 qreal overShootDistance(qreal velocity, qreal size); |
124 |
124 |
125 void itemGeometryChanged(QDeclarativeItem *, const QRectF &, const QRectF &); |
125 void itemGeometryChanged(QDeclarativeItem *, const QRectF &, const QRectF &); |
126 |
126 |
127 public: |
127 public: |
128 QDeclarativeItem *viewport; |
128 QDeclarativeItem *contentItem; |
129 |
129 |
130 AxisData hData; |
130 AxisData hData; |
131 AxisData vData; |
131 AxisData vData; |
132 |
132 |
133 QDeclarativeTimeLine timeline; |
133 QDeclarativeTimeLine timeline; |
138 bool movingHorizontally : 1; |
138 bool movingHorizontally : 1; |
139 bool movingVertically : 1; |
139 bool movingVertically : 1; |
140 bool stealMouse : 1; |
140 bool stealMouse : 1; |
141 bool pressed : 1; |
141 bool pressed : 1; |
142 bool interactive : 1; |
142 bool interactive : 1; |
143 QTime lastPosTime; |
143 QElapsedTimer lastPosTime; |
144 QPointF lastPos; |
144 QPointF lastPos; |
145 QPointF pressPos; |
145 QPointF pressPos; |
146 QTime pressTime; |
146 QElapsedTimer pressTime; |
147 qreal deceleration; |
147 qreal deceleration; |
148 qreal maxVelocity; |
148 qreal maxVelocity; |
149 QTime velocityTime; |
149 QElapsedTimer velocityTime; |
150 QPointF lastFlickablePosition; |
150 QPointF lastFlickablePosition; |
151 qreal reportedVelocitySmoothing; |
151 qreal reportedVelocitySmoothing; |
152 QGraphicsSceneMouseEvent *delayedPressEvent; |
152 QGraphicsSceneMouseEvent *delayedPressEvent; |
153 QGraphicsItem *delayedPressTarget; |
153 QGraphicsItem *delayedPressTarget; |
154 QBasicTimer delayedPressTimer; |
154 QBasicTimer delayedPressTimer; |