* DATA MEMBERS
******************************************************************************/
private:
- bool m_doubleTapZoomRunning; ///< Double tap zoom running flag
+ bool m_doubleTapZoomRunning; ///< Double tap zoom running flag
- int m_dragTime[VALUES]; ///< Table of mouse event durations
- int m_index; ///< Index of mouse event values tables
- int m_zoomLevel; ///< Current zoom level
+ int m_dragTime[VALUES]; ///< Table of mouse event durations
+ int m_index; ///< Current index of mouse event values table
+ int m_zoomLevel; ///< Current zoom level
- qreal m_centerHorizontalShiftViewPixels;
- qreal m_kineticMaxViewDistance; ///< Maximum kinetic scroll distance in view pixels
+ qreal m_centerHorizontalShiftViewPixels; ///< Center point horizontal shift in the view
+ qreal m_kineticMaxViewDistance; ///< Maximum kinetic scroll distance in view pixels
QParallelAnimationGroup *m_scrollAndZoomAnimation; ///< Double click zoom animation
- QPoint m_dragMovement[VALUES]; ///< Table of mouse event distances
- QPoint m_internalScenePosition; ///< New center position
- QPoint m_lastMouseEventScenePosition; ///< Previous mouse event position in the scene
- QPoint m_lastMouseEventViewPosition; ///< Previous mouse event position in the view
+ QPoint m_dragMovement[VALUES]; ///< Table of mouse event distances
+ QPoint m_internalScenePosition; ///< New center position (used for dragging)
+ QPoint m_lastMouseEventScenePosition; ///< Previous mouse event position in the scene
+ QPoint m_lastMouseEventViewPosition; ///< Previous mouse event position in the view
- QPointF m_centerHorizontalShiftPoint; ///< Current amount of center point shifting
- QPointF m_centerHorizontalShiftEndValue;
+ QPointF m_centerHorizontalShiftPoint; ///< Current amount of center point shifting
- QPropertyAnimation *m_zoomAnimation; ///< Zoom animation
+ QPropertyAnimation *m_zoomAnimation; ///< Zoom animation
- QTime m_time; ///< Elapsed times in mouse events
+ QTime m_time; ///< Elapsed time between mouse events
QPropertyAnimation *m_centerShiftAnimation; ///< Animation for shifting the center point