OpenCoverage

qquickpincharea_p_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickpincharea_p_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5class QQuickPinch;-
6class QQuickPinchAreaPrivate : public QQuickItemPrivate-
7{-
8 inline QQuickPinchArea* q_func() { return static_cast<QQuickPinchArea *>(q_ptr); } inline const QQuickPinchArea* q_func() const { return static_cast<const QQuickPinchArea *>(q_ptr); } friend class QQuickPinchArea;-
9public:-
10 QQuickPinchAreaPrivate()-
11 : enabled(true), stealMouse(false), inPinch(false)-
12 , pinchRejected(false), pinchActivated(false), initPinch(false)-
13 , pinch(0), pinchStartDist(0), pinchStartScale(1.0)-
14 , pinchLastScale(1.0), pinchStartRotation(0.0), pinchStartAngle(0.0)-
15 , pinchLastAngle(0.0), pinchRotation(0.0)-
16 {-
17 }
executed 32 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpincharea
  • tst_touchmouse
32
18-
19 ~QQuickPinchAreaPrivate();-
20-
21 void init()-
22 {-
23 QQuickPinchArea * const q = q_func();-
24 q->setAcceptedMouseButtons(Qt::LeftButton);-
25 q->setFiltersChildMouseEvents(true);-
26 }
executed 32 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpincharea
  • tst_touchmouse
32
27-
28 bool enabled : 1;-
29 bool stealMouse : 1;-
30 bool inPinch : 1;-
31 bool pinchRejected : 1;-
32 bool pinchActivated : 1;-
33 bool initPinch : 1;-
34 QQuickPinch *pinch;-
35 QPointF sceneStartPoint1;-
36 QPointF sceneStartPoint2;-
37 QPointF lastPoint1;-
38 QPointF lastPoint2;-
39 qreal pinchStartDist;-
40 qreal pinchStartScale;-
41 qreal pinchLastScale;-
42 qreal pinchStartRotation;-
43 qreal pinchStartAngle;-
44 qreal pinchLastAngle;-
45 qreal pinchRotation;-
46 QPointF sceneStartCenter;-
47 QPointF pinchStartCenter;-
48 QPointF sceneLastCenter;-
49 QPointF pinchStartPos;-
50 QList<QTouchEvent::TouchPoint> touchPoints;-
51 int id1;-
52};-
53-
54-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0