Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | const QLoggingCategory &DBG_TOUCH() { static const QLoggingCategory category("qt.quick.touch"); returnexecuted 3630 times by 10 tests: return category; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
category;executed 3630 times by 10 tests: return category; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
} | 3630 |
19 | const QLoggingCategory &DBG_TOUCH_TARGET() { static const QLoggingCategory category("qt.quick.touch.target"); returnexecuted 461 times by 10 tests: return category; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
category;executed 461 times by 10 tests: return category; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
} | 461 |
20 | const QLoggingCategory &DBG_MOUSE() { static const QLoggingCategory category("qt.quick.mouse"); returnexecuted 10305 times by 16 tests: return category; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
category;executed 10305 times by 16 tests: return category; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
} | 10305 |
21 | const QLoggingCategory &DBG_MOUSE_TARGET() { static const QLoggingCategory category("qt.quick.mouse.target"); returnexecuted 1852 times by 13 tests: return category; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
category;executed 1852 times by 13 tests: return category; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
} | 1852 |
22 | const QLoggingCategory &lcWheelTarget() { static const QLoggingCategory category("qt.quick.wheel.target"); returnexecuted 4 times by 2 tests: return category; Executed by:- tst_qquickitem
- tst_qquickmousearea
category;executed 4 times by 2 tests: return category; Executed by:- tst_qquickitem
- tst_qquickmousearea
} | 4 |
23 | const QLoggingCategory &lcGestureTarget() { static const QLoggingCategory category("qt.quick.gesture.target"); return never executed: return category; category;never executed: return category; } | 0 |
24 | const QLoggingCategory &DBG_HOVER_TRACE() { static const QLoggingCategory category("qt.quick.hover.trace"); returnexecuted 2375020 times by 42 tests: return category; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlpropertymap
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
category;executed 2375020 times by 42 tests: return category; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlpropertymap
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- ...
} | 2375020 |
25 | const QLoggingCategory &DBG_FOCUS() { static const QLoggingCategory category("qt.quick.focus"); returnexecuted 47249 times by 22 tests: return category; Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
category;executed 47249 times by 22 tests: return category; Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
} | 47249 |
26 | const QLoggingCategory &DBG_DIRTY() { static const QLoggingCategory category("qt.quick.dirty"); returnexecuted 599283 times by 76 tests: return category; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
category;executed 599283 times by 76 tests: return category; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
} | 599283 |
27 | const QLoggingCategory &lcTransient() { static const QLoggingCategory category("qt.quick.window.transient"); returnexecuted 24 times by 3 tests: return category; Executed by:- tst_qqmlcomponent
- tst_qquickloader
- tst_qquickmousearea
category;executed 24 times by 3 tests: return category; Executed by:- tst_qqmlcomponent
- tst_qquickloader
- tst_qquickmousearea
} | 24 |
28 | | - |
29 | extern __attribute__((visibility("default"))) QImage qt_gl_read_framebuffer(const QSize &size, bool alpha_format, bool include_alpha); | - |
30 | | - |
31 | bool QQuickWindowPrivate::defaultAlphaBuffer = false; | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | QQuickWindow::TextRenderType QQuickWindowPrivate::textRenderType = QQuickWindow::QtTextRendering; | - |
37 | | - |
38 | | - |
39 | void QQuickWindowPrivate::updateFocusItemTransform() | - |
40 | { | - |
41 | | - |
42 | QQuickWindow * const q = q_func(); | - |
43 | QQuickItem *focus = q->activeFocusItem(); | - |
44 | if (focusTRUE | evaluated 3269 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
&& QGuiApplication::focusObject() == focusTRUE | evaluated 3265 times by 17 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4 times by 1 test |
) { | 0-3269 |
45 | QQuickItemPrivate *focusPrivate = QQuickItemPrivate::get(focus); | - |
46 | QGuiApplication::inputMethod()->setInputItemTransform(focusPrivate->itemToWindowTransform()); | - |
47 | QGuiApplication::inputMethod()->setInputItemRectangle(QRectF(0, 0, focusPrivate->width, focusPrivate->height)); | - |
48 | focus->updateInputMethod(Qt::ImInputItemClipRectangle); | - |
49 | }executed 3265 times by 17 tests: end of block Executed by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 3265 |
50 | | - |
51 | }executed 3269 times by 18 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 3269 |
52 | | - |
53 | class QQuickWindowIncubationController : public QObject, public QQmlIncubationController | - |
54 | { | - |
55 | public: | - |
56 | #pragma GCC diagnostic push | - |
57 | | - |
58 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
59 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
60 | #pragma GCC diagnostic ignored "-Wattributes" | - |
61 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
62 | #pragma GCC diagnostic pop | - |
63 | struct QPrivateSignal {}; | - |
64 | | - |
65 | public: | - |
66 | QQuickWindowIncubationController(QSGRenderLoop *loop) | - |
67 | : m_renderLoop(loop), m_timer(0) | - |
68 | { | - |
69 | | - |
70 | m_incubation_time = qMax(1, int(1000 / QGuiApplication::primaryScreen()->refreshRate()) / 3); | - |
71 | | - |
72 | QAnimationDriver *animationDriver = m_renderLoop->animationDriver(); | - |
73 | if (animationDriverTRUE | never evaluated | FALSE | evaluated 3308 times by 84 testsEvaluated by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- ...
|
) { | 0-3308 |
74 | connect(animationDriver, qFlagLocation("2""stopped()" "\0" __FILE__ ":" "136"), this, qFlagLocation("1""animationStopped()" "\0" __FILE__ ":" "136")); | - |
75 | connect(m_renderLoop, qFlagLocation("2""timeToIncubate()" "\0" __FILE__ ":" "137"), this, qFlagLocation("1""incubate()" "\0" __FILE__ ":" "137")); | - |
76 | } never executed: end of block | 0 |
77 | }executed 3308 times by 84 tests: end of block Executed by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- ...
| 3308 |
78 | | - |
79 | protected: | - |
80 | void timerEvent(QTimerEvent *) override | - |
81 | { | - |
82 | killTimer(m_timer); | - |
83 | m_timer = 0; | - |
84 | incubate(); | - |
85 | }executed 1442 times by 6 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
| 1442 |
86 | | - |
87 | void incubateAgain() { | - |
88 | if (m_timer == 0TRUE | evaluated 1485 times by 7 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 1310 times by 6 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
|
) { | 1310-1485 |
89 | | - |
90 | | - |
91 | m_timer = startTimer(m_incubation_time); | - |
92 | }executed 1485 times by 7 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1485 |
93 | }executed 2795 times by 7 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 2795 |
94 | | - |
95 | public : | - |
96 | void incubate() { | - |
97 | if (incubatingObjectCount()TRUE | evaluated 949 times by 6 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
| FALSE | evaluated 493 times by 5 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
|
) { | 493-949 |
98 | if (m_renderLoop->interleaveIncubation()TRUE | never evaluated | FALSE | evaluated 949 times by 6 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
|
) { | 0-949 |
99 | incubateFor(m_incubation_time); | - |
100 | } never executed: end of block else { | 0 |
101 | incubateFor(m_incubation_time * 2); | - |
102 | if (incubatingObjectCount()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmltypeloader
- tst_qquicklistview
| FALSE | evaluated 943 times by 6 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
|
) | 6-943 |
103 | incubateAgain();executed 6 times by 2 tests: incubateAgain(); Executed by:- tst_qqmltypeloader
- tst_qquicklistview
| 6 |
104 | }executed 949 times by 6 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
| 949 |
105 | } | - |
106 | }executed 1442 times by 6 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
| 1442 |
107 | | - |
108 | void animationStopped() { incubate(); } never executed: end of block | 0 |
109 | | - |
110 | protected: | - |
111 | void incubatingObjectCountChanged(int count) override | - |
112 | { | - |
113 | if (countTRUE | evaluated 2789 times by 7 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | evaluated 2610 times by 7 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& !m_renderLoop->interleaveIncubation()TRUE | evaluated 2789 times by 7 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| FALSE | never evaluated |
) | 0-2789 |
114 | incubateAgain();executed 2789 times by 7 tests: incubateAgain(); Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 2789 |
115 | }executed 5399 times by 7 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 5399 |
116 | | - |
117 | private: | - |
118 | QSGRenderLoop *m_renderLoop; | - |
119 | int m_incubation_time; | - |
120 | int m_timer; | - |
121 | }; | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | QAccessibleInterface *QQuickWindow::accessibleRoot() const | - |
131 | { | - |
132 | returnexecuted 10 times by 1 test: return QAccessible::queryAccessibleInterface(const_cast<QQuickWindow*>(this)); QAccessible::queryAccessibleInterface(const_cast<QQuickWindow*>(this));executed 10 times by 1 test: return QAccessible::queryAccessibleInterface(const_cast<QQuickWindow*>(this)); | 10 |
133 | } | - |
134 | QQuickRootItem::QQuickRootItem() | - |
135 | { | - |
136 | } | - |
137 | | - |
138 | | - |
139 | void QQuickWindow::exposeEvent(QExposeEvent *) | - |
140 | { | - |
141 | QQuickWindowPrivate * const d = d_func(); | - |
142 | if (d->windowManagerTRUE | evaluated 8057 times by 79 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| FALSE | never evaluated |
) | 0-8057 |
143 | d->windowManager->exposureChanged(this);executed 8057 times by 79 tests: d->windowManager->exposureChanged(this); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 8057 |
144 | }executed 8057 times by 79 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 8057 |
145 | | - |
146 | | - |
147 | void QQuickWindow::resizeEvent(QResizeEvent *ev) | - |
148 | { | - |
149 | QQuickWindowPrivate * const d = d_func(); | - |
150 | if (d->contentItemTRUE | evaluated 3935 times by 79 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| FALSE | never evaluated |
) | 0-3935 |
151 | d->contentItem->setSize(ev->size());executed 3935 times by 79 tests: d->contentItem->setSize(ev->size()); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 3935 |
152 | if (d->windowManagerTRUE | evaluated 3935 times by 79 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| FALSE | never evaluated |
) | 0-3935 |
153 | d->windowManager->resize(this);executed 3935 times by 79 tests: d->windowManager->resize(this); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 3935 |
154 | }executed 3935 times by 79 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 3935 |
155 | | - |
156 | | - |
157 | void QQuickWindow::showEvent(QShowEvent *) | - |
158 | { | - |
159 | QQuickWindowPrivate * const d = d_func(); | - |
160 | if (d->windowManagerTRUE | evaluated 3968 times by 81 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| FALSE | never evaluated |
) | 0-3968 |
161 | d->windowManager->show(this);executed 3968 times by 81 tests: d->windowManager->show(this); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| 3968 |
162 | }executed 3968 times by 81 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| 3968 |
163 | | - |
164 | | - |
165 | void QQuickWindow::hideEvent(QHideEvent *) | - |
166 | { | - |
167 | QQuickWindowPrivate * const d = d_func(); | - |
168 | if (d->windowManagerTRUE | evaluated 162 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qquickitem
- tst_qquickshortcut
- tst_qquicktext
- tst_scenegraph
| FALSE | never evaluated |
) | 0-162 |
169 | d->windowManager->hide(this);executed 162 times by 6 tests: d->windowManager->hide(this); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickitem
- tst_qquickshortcut
- tst_qquicktext
- tst_scenegraph
| 162 |
170 | }executed 162 times by 6 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickitem
- tst_qquickshortcut
- tst_qquicktext
- tst_scenegraph
| 162 |
171 | | - |
172 | | - |
173 | void QQuickWindow::focusOutEvent(QFocusEvent *ev) | - |
174 | { | - |
175 | QQuickWindowPrivate * const d = d_func(); | - |
176 | if (d->contentItemTRUE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| FALSE | never evaluated |
) | 0-20 |
177 | d->contentItem->setFocus(false, ev->reason());executed 20 times by 5 tests: d->contentItem->setFocus(false, ev->reason()); Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
178 | }executed 20 times by 5 tests: end of block Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
179 | | - |
180 | | - |
181 | void QQuickWindow::focusInEvent(QFocusEvent *ev) | - |
182 | { | - |
183 | QQuickWindowPrivate * const d = d_func(); | - |
184 | if (d->contentItemTRUE | evaluated 1078 times by 17 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
) | 0-1078 |
185 | d->contentItem->setFocus(true, ev->reason());executed 1078 times by 17 tests: d->contentItem->setFocus(true, ev->reason()); Executed by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 1078 |
186 | d->updateFocusItemTransform(); | - |
187 | }executed 1078 times by 17 tests: end of block Executed by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 1078 |
188 | | - |
189 | | - |
190 | static bool transformDirtyOnItemOrAncestor(const QQuickItem *item) | - |
191 | { | - |
192 | while (itemTRUE | evaluated 585 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 224 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 224-585 |
193 | if (QQuickItemPrivate::get(item)->dirtyAttributes & (TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 558 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
| 27-558 |
194 | QQuickItemPrivate::TransformOrigin |TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 558 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
| 27-558 |
195 | QQuickItemPrivate::Transform |TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 558 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
| 27-558 |
196 | QQuickItemPrivate::BasicTransform |TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 558 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
| 27-558 |
197 | QQuickItemPrivate::Position |TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 558 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
| 27-558 |
198 | QQuickItemPrivate::Size |TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 558 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
| 27-558 |
199 | QQuickItemPrivate::ParentChanged |TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 558 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
| 27-558 |
200 | QQuickItemPrivate::Clip)TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 558 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 27-558 |
201 | returnexecuted 27 times by 2 tests: return true; Executed by:- tst_qquicktextedit
- tst_qquicktextinput
true;executed 27 times by 2 tests: return true; Executed by:- tst_qquicktextedit
- tst_qquicktextinput
| 27 |
202 | } | - |
203 | item = item->parentItem(); | - |
204 | }executed 558 times by 5 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
| 558 |
205 | returnexecuted 224 times by 5 tests: return false; Executed by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
false;executed 224 times by 5 tests: return false; Executed by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
| 224 |
206 | } | - |
207 | | - |
208 | | - |
209 | void QQuickWindowPrivate::polishItems() | - |
210 | { | - |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | | - |
216 | | - |
217 | | - |
218 | int recursionSafeguard = 0x7fffffff; | - |
219 | while (!itemsToPolish.isEmpty()TRUE | evaluated 331969 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickshape
- ...
| FALSE | evaluated 50619 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& --TRUE | evaluated 331969 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickshape
- ...
| FALSE | never evaluated |
recursionSafeguard > 0TRUE | evaluated 331969 times by 35 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickshape
- ...
| FALSE | never evaluated |
) { | 0-331969 |
220 | QQuickItem *item = itemsToPolish.takeLast(); | - |
221 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
222 | itemPrivate->polishScheduled = false; | - |
223 | itemPrivate->updatePolish(); | - |
224 | item->updatePolish(); | - |
225 | }executed 331969 times by 35 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickshape
- ...
| 331969 |
226 | | - |
227 | if (recursionSafeguard == 0TRUE | never evaluated | FALSE | evaluated 50619 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 0-50619 |
228 | QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).warning("QQuickWindow: possible QQuickItem::polish() loop"); never executed: QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).warning("QQuickWindow: possible QQuickItem::polish() loop"); | 0 |
229 | | - |
230 | | - |
231 | if (QQuickItem *focusItem = q_func()->activeFocusItem()TRUE | evaluated 6548 times by 15 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 44071 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 6548-44071 |
232 | | - |
233 | | - |
234 | | - |
235 | const bool isActiveFocusItem = (focusItem == QGuiApplication::focusObject()); | - |
236 | const bool hasImEnabled = focusItem->inputMethodQuery(Qt::ImEnabled).toBool(); | - |
237 | if (isActiveFocusItemTRUE | evaluated 6548 times by 15 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
&& hasImEnabledTRUE | evaluated 251 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 6297 times by 15 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
&& transformDirtyOnItemOrAncestor(focusItem)TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 224 times by 5 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 0-6548 |
238 | updateFocusItemTransform();executed 27 times by 2 tests: updateFocusItemTransform(); Executed by:- tst_qquicktextedit
- tst_qquicktextinput
| 27 |
239 | }executed 6548 times by 15 tests: end of block Executed by:- tst_qquickanimationcontroller
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 6548 |
240 | | - |
241 | }executed 50619 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50619 |
242 | void QQuickWindow::update() | - |
243 | { | - |
244 | QQuickWindowPrivate * const d = d_func(); | - |
245 | if (d->windowManagerTRUE | evaluated 1746 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickitem2
- tst_qquickloader
- tst_qquicktext
| FALSE | never evaluated |
) | 0-1746 |
246 | d->windowManager->update(this);executed 1746 times by 7 tests: d->windowManager->update(this); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickitem2
- tst_qquickloader
- tst_qquicktext
| 1746 |
247 | else if (d->renderControlTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
248 | QQuickRenderControlPrivate::get(d->renderControl)->update(); never executed: QQuickRenderControlPrivate::get(d->renderControl)->update(); | 0 |
249 | }executed 1746 times by 7 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickitem2
- tst_qquickloader
- tst_qquicktext
| 1746 |
250 | | - |
251 | static void updatePixelRatioHelper(QQuickItem *item, float pixelRatio) | - |
252 | { | - |
253 | if (item->flags() & QQuickItem::ItemHasContentsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
254 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
255 | itemPrivate->itemChange(QQuickItem::ItemDevicePixelRatioHasChanged, pixelRatio); | - |
256 | } never executed: end of block | 0 |
257 | | - |
258 | QList <QQuickItem *> items = item->childItems(); | - |
259 | for (int i = 0; i < items.size()TRUE | never evaluated | FALSE | never evaluated |
; ++i) | 0 |
260 | updatePixelRatioHelper(items.at(i), pixelRatio); never executed: updatePixelRatioHelper(items.at(i), pixelRatio); | 0 |
261 | } never executed: end of block | 0 |
262 | | - |
263 | void QQuickWindow::physicalDpiChanged() | - |
264 | { | - |
265 | QQuickWindowPrivate * const d = d_func(); | - |
266 | const qreal newPixelRatio = screen()->devicePixelRatio(); | - |
267 | if (qFuzzyCompare(newPixelRatio, d->devicePixelRatio)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
268 | return; never executed: return; | 0 |
269 | d->devicePixelRatio = newPixelRatio; | - |
270 | if (d->contentItemTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
271 | updatePixelRatioHelper(d->contentItem, newPixelRatio); never executed: updatePixelRatioHelper(d->contentItem, newPixelRatio); | 0 |
272 | } never executed: end of block | 0 |
273 | | - |
274 | void QQuickWindow::handleScreenChanged(QScreen *screen) | - |
275 | { | - |
276 | QQuickWindowPrivate * const d = d_func(); | - |
277 | if (screenTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
278 | physicalDpiChanged(); | - |
279 | | - |
280 | | - |
281 | | - |
282 | d->physicalDpiChangedConnection = connect(screen, qFlagLocation("2""physicalDotsPerInchChanged(qreal)" "\0" __FILE__ ":" "376"), | - |
283 | this, qFlagLocation("1""physicalDpiChanged()" "\0" __FILE__ ":" "377")); | - |
284 | } never executed: end of block else { | 0 |
285 | disconnect(d->physicalDpiChangedConnection); | - |
286 | } never executed: end of block | 0 |
287 | | - |
288 | d->forcePolish(); | - |
289 | } never executed: end of block | 0 |
290 | | - |
291 | void forcePolishHelper(QQuickItem *item) | - |
292 | { | - |
293 | if (item->flags() & QQuickItem::ItemHasContentsTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
294 | item->polish(); | - |
295 | } never executed: end of block | 0 |
296 | | - |
297 | QList <QQuickItem *> items = item->childItems(); | - |
298 | for (int i=0; i<items.size()TRUE | never evaluated | FALSE | never evaluated |
; ++i) | 0 |
299 | forcePolishHelper(items.at(i)); never executed: forcePolishHelper(items.at(i)); | 0 |
300 | } never executed: end of block | 0 |
301 | | - |
302 | | - |
303 | | - |
304 | | - |
305 | void QQuickWindowPrivate::forcePolish() | - |
306 | { | - |
307 | QQuickWindow * const q = q_func(); | - |
308 | if (!q->screen()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
309 | return; never executed: return; | 0 |
310 | forcePolishHelper(contentItem); | - |
311 | } never executed: end of block | 0 |
312 | | - |
313 | void forceUpdate(QQuickItem *item) | - |
314 | { | - |
315 | if (item->flags() & QQuickItem::ItemHasContentsTRUE | evaluated 39556 times by 68 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| FALSE | evaluated 12870 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 12870-39556 |
316 | item->update();executed 39556 times by 68 tests: item->update(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 39556 |
317 | QQuickItemPrivate::get(item)->dirty(QQuickItemPrivate::ChildrenUpdateMask); | - |
318 | | - |
319 | QList <QQuickItem *> items = item->childItems(); | - |
320 | for (int i=0; i<items.size()TRUE | evaluated 48928 times by 75 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 52426 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; ++i) | 48928-52426 |
321 | forceUpdate(items.at(i));executed 48928 times by 75 tests: forceUpdate(items.at(i)); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 48928 |
322 | }executed 52426 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 52426 |
323 | | - |
324 | void QQuickWindowPrivate::syncSceneGraph() | - |
325 | { | - |
326 | QQmlMemoryScope _qml_memory_scope("SceneGraph"); | - |
327 | QQuickWindow * const q = q_func(); | - |
328 | | - |
329 | animationController->beforeNodeSync(); | - |
330 | | - |
331 | q->beforeSynchronizing(); | - |
332 | runAndClearJobs(&beforeSynchronizingJobs); | - |
333 | if (!rendererTRUE | evaluated 3498 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 47121 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 3498-47121 |
334 | forceUpdate(contentItem); | - |
335 | | - |
336 | QSGRootNode *rootNode = new QSGRootNode; | - |
337 | rootNode->appendChildNode(QQuickItemPrivate::get(contentItem)->itemNode()); | - |
338 | renderer = context->createRenderer(); | - |
339 | renderer->setRootNode(rootNode); | - |
340 | }executed 3498 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 3498 |
341 | | - |
342 | updateDirtyNodes(); | - |
343 | | - |
344 | animationController->afterNodeSync(); | - |
345 | | - |
346 | | - |
347 | renderer->setClearColor(clearColor); | - |
348 | QSGAbstractRenderer::ClearMode mode = QSGAbstractRenderer::ClearStencilBuffer | QSGAbstractRenderer::ClearDepthBuffer; | - |
349 | if (clearBeforeRenderingTRUE | evaluated 50619 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | never evaluated |
) | 0-50619 |
350 | mode |= QSGAbstractRenderer::ClearColorBuffer;executed 50619 times by 76 tests: mode |= QSGAbstractRenderer::ClearColorBuffer; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50619 |
351 | renderer->setClearMode(mode); | - |
352 | | - |
353 | renderer->setCustomRenderMode(customRenderMode); | - |
354 | | - |
355 | q->afterSynchronizing(); | - |
356 | runAndClearJobs(&afterSynchronizingJobs); | - |
357 | }executed 50619 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50619 |
358 | | - |
359 | void QQuickWindowPrivate::renderSceneGraph(const QSize &size) | - |
360 | { | - |
361 | QQmlMemoryScope _qml_memory_scope("SceneGraph"); | - |
362 | QQuickWindow * const q = q_func(); | - |
363 | if (!rendererTRUE | never evaluated | FALSE | evaluated 50623 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 0-50623 |
364 | return; never executed: return; | 0 |
365 | | - |
366 | animationController->advance(); | - |
367 | q->beforeRendering(); | - |
368 | runAndClearJobs(&beforeRenderingJobs); | - |
369 | if (!customRenderStageTRUE | evaluated 50623 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | never evaluated |
|| !customRenderStage->render()TRUE | never evaluated | FALSE | never evaluated |
) { | 0-50623 |
370 | int fboId = 0; | - |
371 | const qreal devicePixelRatio = q->effectiveDevicePixelRatio(); | - |
372 | if (renderTargetIdTRUE | evaluated 336 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | evaluated 50287 times by 75 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 336-50287 |
373 | QRect rect(QPoint(0, 0), renderTargetSize); | - |
374 | fboId = renderTargetId; | - |
375 | renderer->setDeviceRect(rect); | - |
376 | renderer->setViewportRect(rect); | - |
377 | if (QQuickRenderControl::renderWindowFor(q)TRUE | evaluated 324 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | evaluated 12 times by 1 test |
) { | 12-324 |
378 | renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), size)); | - |
379 | renderer->setDevicePixelRatio(devicePixelRatio); | - |
380 | }executed 324 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
else { | 324 |
381 | renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), rect.size())); | - |
382 | renderer->setDevicePixelRatio(1); | - |
383 | }executed 12 times by 1 test: end of block | 12 |
384 | } else { | - |
385 | QRect rect(QPoint(0, 0), devicePixelRatio * size); | - |
386 | renderer->setDeviceRect(rect); | - |
387 | renderer->setViewportRect(rect); | - |
388 | renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), size)); | - |
389 | renderer->setDevicePixelRatio(devicePixelRatio); | - |
390 | }executed 50287 times by 75 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50287 |
391 | | - |
392 | context->renderNextFrame(renderer, fboId); | - |
393 | }executed 50623 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50623 |
394 | q->afterRendering(); | - |
395 | runAndClearJobs(&afterRenderingJobs); | - |
396 | }executed 50623 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50623 |
397 | | - |
398 | QQuickWindowPrivate::QQuickWindowPrivate() | - |
399 | : contentItem(nullptr) | - |
400 | , activeFocusItem(nullptr) | - |
401 | | - |
402 | , cursorItem(nullptr) | - |
403 | | - |
404 | | - |
405 | , dragGrabber(nullptr) | - |
406 | | - |
407 | , touchMouseId(-1) | - |
408 | , touchMouseDevice(nullptr) | - |
409 | , touchMousePressTimestamp(0) | - |
410 | , dirtyItemList(nullptr) | - |
411 | , devicePixelRatio(0) | - |
412 | , context(nullptr) | - |
413 | , renderer(nullptr) | - |
414 | , windowManager(nullptr) | - |
415 | , renderControl(nullptr) | - |
416 | , pointerEventRecursionGuard(0) | - |
417 | , customRenderStage(nullptr) | - |
418 | , clearColor(Qt::white) | - |
419 | , clearBeforeRendering(true) | - |
420 | , persistentGLContext(true) | - |
421 | , persistentSceneGraph(true) | - |
422 | , lastWheelEventAccepted(false) | - |
423 | , componentCompleted(true) | - |
424 | , allowChildEventFiltering(true) | - |
425 | , allowDoubleClick(true) | - |
426 | , lastFocusReason(Qt::OtherFocusReason) | - |
427 | , renderTarget(nullptr) | - |
428 | , renderTargetId(0) | - |
429 | , vaoHelper(nullptr) | - |
430 | , incubationController(nullptr) | - |
431 | { | - |
432 | | - |
433 | dragGrabber = new QQuickDragGrabber; | - |
434 | | - |
435 | }executed 5366 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 5366 |
436 | | - |
437 | QQuickWindowPrivate::~QQuickWindowPrivate() | - |
438 | { | - |
439 | delete customRenderStage; | - |
440 | if (QQmlInspectorService *service = QQmlDebugConnector::service<QQmlInspectorService>()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 5322 times by 88 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- ...
|
) | 8-5322 |
441 | service->removeWindow(q_func());executed 8 times by 1 test: service->removeWindow(q_func()); | 8 |
442 | }executed 5330 times by 89 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
| 5330 |
443 | | - |
444 | void QQuickWindowPrivate::init(QQuickWindow *c, QQuickRenderControl *control) | - |
445 | { | - |
446 | q_ptr = c; | - |
447 | | - |
448 | QQuickWindow * const q = q_func(); | - |
449 | | - |
450 | contentItem = new QQuickRootItem; | - |
451 | QQml_setParent_noEvent(contentItem, c); | - |
452 | QQmlEngine::setObjectOwnership(contentItem, QQmlEngine::CppOwnership); | - |
453 | QQuickItemPrivate *contentItemPrivate = QQuickItemPrivate::get(contentItem); | - |
454 | contentItemPrivate->window = q; | - |
455 | contentItemPrivate->windowRefCount = 1; | - |
456 | contentItemPrivate->flags |= QQuickItem::ItemIsFocusScope; | - |
457 | contentItem->setSize(q->size()); | - |
458 | | - |
459 | customRenderMode = qgetenv("QSG_VISUALIZE"); | - |
460 | renderControl = control; | - |
461 | if (renderControlTRUE | evaluated 118 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | evaluated 5248 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
) | 118-5248 |
462 | QQuickRenderControlPrivate::get(renderControl)->window = q;executed 118 times by 2 tests: QQuickRenderControlPrivate::get(renderControl)->window = q; Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 118 |
463 | | - |
464 | if (!renderControlTRUE | evaluated 5248 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| FALSE | evaluated 118 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
|
) | 118-5248 |
465 | windowManager = QSGRenderLoop::instance();executed 5248 times by 89 tests: windowManager = QSGRenderLoop::instance(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 5248 |
466 | | - |
467 | ((windowManager || renderControl) ? static_cast<void>(0) : qt_assert("windowManager || renderControl", __FILE__, 561)); | - |
468 | | - |
469 | if (QScreen *screen = q->screen()TRUE | evaluated 5366 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| FALSE | never evaluated |
) | 0-5366 |
470 | devicePixelRatio = screen->devicePixelRatio();executed 5366 times by 90 tests: devicePixelRatio = screen->devicePixelRatio(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 5366 |
471 | | - |
472 | QSGContext *sg; | - |
473 | if (renderControlTRUE | evaluated 118 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | evaluated 5248 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
) { | 118-5248 |
474 | QQuickRenderControlPrivate *renderControlPriv = QQuickRenderControlPrivate::get(renderControl); | - |
475 | sg = renderControlPriv->sg; | - |
476 | context = renderControlPriv->rc; | - |
477 | }executed 118 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
else { | 118 |
478 | windowManager->addWindow(q); | - |
479 | sg = windowManager->sceneGraphContext(); | - |
480 | context = windowManager->createRenderContext(sg); | - |
481 | }executed 5248 times by 89 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 5248 |
482 | | - |
483 | q->setSurfaceType(windowManager ? windowManager->windowSurfaceType() : QSurface::OpenGLSurface); | - |
484 | q->setFormat(sg->defaultSurfaceFormat()); | - |
485 | | - |
486 | animationController = new QQuickAnimatorController(q); | - |
487 | | - |
488 | QObject::connect(context, qFlagLocation("2""initialized()" "\0" __FILE__ ":" "582"), q, qFlagLocation("2""sceneGraphInitialized()" "\0" __FILE__ ":" "582"), Qt::DirectConnection); | - |
489 | QObject::connect(context, qFlagLocation("2""invalidated()" "\0" __FILE__ ":" "583"), q, qFlagLocation("2""sceneGraphInvalidated()" "\0" __FILE__ ":" "583"), Qt::DirectConnection); | - |
490 | QObject::connect(context, qFlagLocation("2""invalidated()" "\0" __FILE__ ":" "584"), q, qFlagLocation("1""cleanupSceneGraph()" "\0" __FILE__ ":" "584"), Qt::DirectConnection); | - |
491 | | - |
492 | QObject::connect(q, qFlagLocation("2""focusObjectChanged(QObject*)" "\0" __FILE__ ":" "586"), q, qFlagLocation("2""activeFocusItemChanged()" "\0" __FILE__ ":" "586")); | - |
493 | QObject::connect(q, qFlagLocation("2""screenChanged(QScreen*)" "\0" __FILE__ ":" "587"), q, qFlagLocation("1""handleScreenChanged(QScreen*)" "\0" __FILE__ ":" "587")); | - |
494 | QObject::connect((static_cast<QGuiApplication *>(QCoreApplication::instance())), qFlagLocation("2""applicationStateChanged(Qt::ApplicationState)" "\0" __FILE__ ":" "588"), | - |
495 | q, qFlagLocation("1""handleApplicationStateChanged(Qt::ApplicationState)" "\0" __FILE__ ":" "589")); | - |
496 | QObject::connect(q, qFlagLocation("2""frameSwapped()" "\0" __FILE__ ":" "590"), q, qFlagLocation("1""runJobsAfterSwap()" "\0" __FILE__ ":" "590"), Qt::DirectConnection); | - |
497 | | - |
498 | if (QQmlInspectorService *service = QQmlDebugConnector::service<QQmlInspectorService>()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 5358 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
|
) | 8-5358 |
499 | service->addWindow(q);executed 8 times by 1 test: service->addWindow(q); | 8 |
500 | }executed 5366 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 5366 |
501 | | - |
502 | void QQuickWindow::handleApplicationStateChanged(Qt::ApplicationState state) | - |
503 | { | - |
504 | QQuickWindowPrivate * const d = d_func(); | - |
505 | if (state != Qt::ApplicationActiveTRUE | evaluated 4 times by 1 test | FALSE | evaluated 36 times by 17 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
&& d->contentItemTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) | 0-36 |
506 | d->contentItem->windowDeactivateEvent();executed 4 times by 1 test: d->contentItem->windowDeactivateEvent(); | 4 |
507 | }executed 40 times by 17 tests: end of block Executed by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 40 |
508 | | - |
509 | | - |
510 | | - |
511 | | - |
512 | | - |
513 | | - |
514 | QQmlListProperty<QObject> QQuickWindowPrivate::data() | - |
515 | { | - |
516 | returnexecuted 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickitem
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append,executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickitem
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
| 148 |
517 | QQuickWindowPrivate::data_count,executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickitem
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
| 148 |
518 | QQuickWindowPrivate::data_at,executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickitem
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
| 148 |
519 | QQuickWindowPrivate::data_clear);executed 148 times by 8 tests: return QQmlListProperty<QObject>(q_func(), nullptr, QQuickWindowPrivate::data_append, QQuickWindowPrivate::data_count, QQuickWindowPrivate::data_at, QQuickWindowPrivate::data_clear); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickitem
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
| 148 |
520 | } | - |
521 | | - |
522 | static QMouseEvent *touchToMouseEvent(QEvent::Type type, const QTouchEvent::TouchPoint &p, QTouchEvent *event, QQuickItem *item, bool transformNeeded = true) | - |
523 | { | - |
524 | | - |
525 | QMouseEvent *me = new QMouseEvent(type, transformNeeded ? item->mapFromScene(p.scenePos()) : p.pos(), p.scenePos(), p.screenPos(), | - |
526 | Qt::LeftButton, (type == QEvent::MouseButtonRelease ? Qt::NoButton : Qt::LeftButton), event->modifiers()); | - |
527 | me->setAccepted(true); | - |
528 | me->setTimestamp(event->timestamp()); | - |
529 | QVector2D transformedVelocity = p.velocity(); | - |
530 | if (transformNeededTRUE | never evaluated | FALSE | evaluated 631 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 0-631 |
531 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
532 | QMatrix4x4 transformMatrix(itemPrivate->windowToItemTransform()); | - |
533 | transformedVelocity = transformMatrix.mapVector(p.velocity()).toVector2D(); | - |
534 | } never executed: end of block | 0 |
535 | QGuiApplicationPrivate::setMouseEventCapsAndVelocity(me, event->device()->capabilities(), transformedVelocity); | - |
536 | QGuiApplicationPrivate::setMouseEventSource(me, Qt::MouseEventSynthesizedByQt); | - |
537 | returnexecuted 631 times by 8 tests: return me; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
me;executed 631 times by 8 tests: return me; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 631 |
538 | } | - |
539 | | - |
540 | bool QQuickWindowPrivate::checkIfDoubleClicked(ulong newPressEventTimestamp) | - |
541 | { | - |
542 | bool doubleClicked; | - |
543 | | - |
544 | if (touchMousePressTimestamp == 0TRUE | evaluated 14 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | evaluated 6 times by 3 testsEvaluated by:- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 6-14 |
545 | | - |
546 | touchMousePressTimestamp = newPressEventTimestamp; | - |
547 | doubleClicked = false; | - |
548 | }executed 14 times by 5 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
else { | 14 |
549 | ulong timeBetweenPresses = newPressEventTimestamp - touchMousePressTimestamp; | - |
550 | ulong doubleClickInterval = static_cast<ulong>(QGuiApplication::styleHints()-> | - |
551 | mouseDoubleClickInterval()); | - |
552 | doubleClicked = timeBetweenPresses < doubleClickInterval; | - |
553 | if (doubleClickedTRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| FALSE | evaluated 2 times by 1 test |
) { | 2-4 |
554 | touchMousePressTimestamp = 0; | - |
555 | }executed 4 times by 2 tests: end of block Executed by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
else { | 4 |
556 | touchMousePressTimestamp = newPressEventTimestamp; | - |
557 | }executed 2 times by 1 test: end of block | 2 |
558 | } | - |
559 | | - |
560 | returnexecuted 20 times by 5 tests: return doubleClicked; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
doubleClicked;executed 20 times by 5 tests: return doubleClicked; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 20 |
561 | } | - |
562 | | - |
563 | bool QQuickWindowPrivate::deliverTouchAsMouse(QQuickItem *item, QQuickPointerEvent *pointerEvent) | - |
564 | { | - |
565 | QQuickWindow * const q = q_func(); | - |
566 | auto device = pointerEvent->device(); | - |
567 | | - |
568 | | - |
569 | if (device->type() == QQuickPointerDevice::TouchPadTRUE | never evaluated | FALSE | evaluated 197 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
&& device->capabilities().testFlag(QQuickPointerDevice::MouseEmulation)TRUE | never evaluated | FALSE | never evaluated |
) { | 0-197 |
570 | for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 664, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "skipping delivery of synth-mouse event from" << device;never executed: QMessageLogger(__FILE__, 664, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "skipping delivery of synth-mouse event from" << device; | 0 |
571 | return never executed: return false; false;never executed: return false; | 0 |
572 | } | - |
573 | | - |
574 | | - |
575 | ((pointerEvent->asPointerTouchEvent()) ? static_cast<void>(0) : qt_assert("pointerEvent->asPointerTouchEvent()", __FILE__, 669)); | - |
576 | QScopedPointer<QTouchEvent> event(pointerEvent->asPointerTouchEvent()->touchEventForItem(item)); | - |
577 | if (event.isNull()TRUE | never evaluated | FALSE | evaluated 197 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 0-197 |
578 | return never executed: return false; false;never executed: return false; | 0 |
579 | | - |
580 | | - |
581 | | - |
582 | | - |
583 | for (int i = 0; i < event->touchPoints().count()TRUE | evaluated 205 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 28 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; ++i) { | 28-205 |
584 | const QTouchEvent::TouchPoint &p = event->touchPoints().at(i); | - |
585 | | - |
586 | if (touchMouseId == -1TRUE | evaluated 56 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 149 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
|
&& p.state() & Qt::TouchPointPressedTRUE | evaluated 42 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
|
) { | 14-149 |
587 | QPointF pos = item->mapFromScene(p.scenePos()); | - |
588 | | - |
589 | | - |
590 | if (!item->contains(pos)TRUE | never evaluated | FALSE | evaluated 42 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 0-42 |
591 | break; never executed: break; | 0 |
592 | | - |
593 | for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 42 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 687, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << item;never executed: QMessageLogger(__FILE__, 687, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << item; | 0-42 |
594 | QScopedPointer<QMouseEvent> mousePress(touchToMouseEvent(QEvent::MouseButtonPress, p, event.data(), item, false)); | - |
595 | | - |
596 | | - |
597 | QCoreApplication::sendEvent(item, mousePress.data()); | - |
598 | event->setAccepted(mousePress->isAccepted()); | - |
599 | if (mousePress->isAccepted()TRUE | evaluated 20 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | evaluated 22 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 20-22 |
600 | touchMouseDevice = device; | - |
601 | touchMouseId = p.id(); | - |
602 | if (!q->mouseGrabberItem()TRUE | evaluated 20 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
) | 0-20 |
603 | item->grabMouse();executed 20 times by 5 tests: item->grabMouse(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 20 |
604 | auto pointerEventPoint = pointerEvent->pointById(p.id()); | - |
605 | pointerEventPoint->setGrabberItem(item); | - |
606 | | - |
607 | if (checkIfDoubleClicked(event->timestamp())TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| FALSE | evaluated 16 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
|
) { | 4-16 |
608 | QScopedPointer<QMouseEvent> mouseDoubleClick(touchToMouseEvent(QEvent::MouseButtonDblClick, p, event.data(), item, false)); | - |
609 | QCoreApplication::sendEvent(item, mouseDoubleClick.data()); | - |
610 | event->setAccepted(mouseDoubleClick->isAccepted()); | - |
611 | if (!mouseDoubleClick->isAccepted()TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 0-4 |
612 | touchMouseId = -1; | - |
613 | touchMouseDevice = nullptr; | - |
614 | } never executed: end of block | 0 |
615 | }executed 4 times by 2 tests: end of block Executed by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 4 |
616 | | - |
617 | returnexecuted 20 times by 5 tests: return true; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
true;executed 20 times by 5 tests: return true; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 20 |
618 | } | - |
619 | | - |
620 | | - |
621 | | - |
622 | }executed 22 times by 5 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
else if (touchMouseDevice == deviceTRUE | evaluated 149 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
|
&& p.id() == touchMouseIdTRUE | evaluated 149 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
) { | 0-149 |
623 | if (p.state() & Qt::TouchPointMovedTRUE | evaluated 113 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | evaluated 36 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
|
) { | 36-113 |
624 | if (QQuickItem *mouseGrabberItem = q->mouseGrabberItem()TRUE | evaluated 113 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
) { | 0-113 |
625 | QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseMove, p, event.data(), mouseGrabberItem, false)); | - |
626 | QCoreApplication::sendEvent(item, me.data()); | - |
627 | event->setAccepted(me->isAccepted()); | - |
628 | if (me->isAccepted()TRUE | evaluated 113 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
) { | 0-113 |
629 | for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 113 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 723, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << mouseGrabberItem;never executed: QMessageLogger(__FILE__, 723, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << mouseGrabberItem; | 0-113 |
630 | }executed 113 times by 5 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 113 |
631 | returnexecuted 113 times by 5 tests: return event->isAccepted(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
event->isAccepted();executed 113 times by 5 tests: return event->isAccepted(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 113 |
632 | } else { | - |
633 | | - |
634 | | - |
635 | | - |
636 | QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseMove, p, event.data(), item, false)); | - |
637 | if (lastMousePosition.isNull()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
638 | lastMousePosition = me->windowPos(); never executed: lastMousePosition = me->windowPos(); | 0 |
639 | QPointF last = lastMousePosition; | - |
640 | lastMousePosition = me->windowPos(); | - |
641 | | - |
642 | bool accepted = me->isAccepted(); | - |
643 | bool delivered = deliverHoverEvent(contentItem, me->windowPos(), last, me->modifiers(), me->timestamp(), accepted); | - |
644 | if (!deliveredTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
645 | | - |
646 | accepted = clearHover(me->timestamp()); | - |
647 | } never executed: end of block | 0 |
648 | me->setAccepted(accepted); | - |
649 | break; never executed: break; | 0 |
650 | } | - |
651 | } else if (p.state() & Qt::TouchPointReleasedTRUE | evaluated 36 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
) { | 0-36 |
652 | | - |
653 | if (QQuickItem *mouseGrabberItem = q->mouseGrabberItem()TRUE | evaluated 36 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
) { | 0-36 |
654 | QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseButtonRelease, p, event.data(), mouseGrabberItem, false)); | - |
655 | QCoreApplication::sendEvent(item, me.data()); | - |
656 | | - |
657 | if (item->acceptHoverEvents()TRUE | never evaluated | FALSE | evaluated 36 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
|
&& p.screenPos() != QGuiApplicationPrivate::lastCursorPositionTRUE | never evaluated | FALSE | never evaluated |
) { | 0-36 |
658 | QPointF localMousePos(qInf(), qInf()); | - |
659 | if (QWindow *w = item->window()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
660 | localMousePos = item->mapFromScene(w->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint())); never executed: localMousePos = item->mapFromScene(w->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint())); | 0 |
661 | QMouseEvent mm(QEvent::MouseMove, localMousePos, QGuiApplicationPrivate::lastCursorPosition, | - |
662 | Qt::NoButton, Qt::NoButton, event->modifiers()); | - |
663 | QCoreApplication::sendEvent(item, &mm); | - |
664 | } never executed: end of block | 0 |
665 | if (q->mouseGrabberItem()TRUE | evaluated 36 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
) | 0-36 |
666 | q->mouseGrabberItem()->ungrabMouse();executed 36 times by 5 tests: q->mouseGrabberItem()->ungrabMouse(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 36 |
667 | | - |
668 | touchMouseId = -1; | - |
669 | touchMouseDevice = nullptr; | - |
670 | returnexecuted 36 times by 5 tests: return me->isAccepted(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
me->isAccepted();executed 36 times by 5 tests: return me->isAccepted(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 36 |
671 | } | - |
672 | } never executed: end of block | 0 |
673 | break; never executed: break; | 0 |
674 | } | - |
675 | }executed 36 times by 5 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 36 |
676 | returnexecuted 28 times by 5 tests: return false; Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
false;executed 28 times by 5 tests: return false; Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 28 |
677 | } | - |
678 | | - |
679 | void QQuickWindowPrivate::grabTouchPoints(QObject *grabber, const QVector<int> &ids) | - |
680 | { | - |
681 | for (int i = 0; i < ids.count()TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
|
; ++i) { | 22-46 |
682 | int id = ids.at(i); | - |
683 | if (__builtin_expect(!!(id < 0), false)TRUE | never evaluated | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
|
) { | 0-46 |
684 | QMessageLogger(__FILE__, 778, __PRETTY_FUNCTION__).warning("ignoring grab of touchpoint %d", id); | - |
685 | continue; never executed: continue; | 0 |
686 | } | - |
687 | if (id == touchMouseIdTRUE | never evaluated | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
|
) { | 0-46 |
688 | auto point = pointerEventInstance(touchMouseDevice)->pointById(id); | - |
689 | auto touchMouseGrabber = point->grabberItem(); | - |
690 | if (touchMouseGrabberTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
691 | point->setExclusiveGrabber(nullptr); | - |
692 | touchMouseGrabber->mouseUngrabEvent(); | - |
693 | touchMouseGrabber->touchUngrabEvent(); | - |
694 | touchMouseDevice = nullptr; | - |
695 | touchMouseId = -1; | - |
696 | } never executed: end of block | 0 |
697 | for (bool qt_category_enabled = DBG_MOUSE_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 791, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "grabTouchPoints: mouse grabber changed due to grabTouchPoints:" << touchMouseGrabber << "-> null";never executed: QMessageLogger(__FILE__, 791, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "grabTouchPoints: mouse grabber changed due to grabTouchPoints:" << touchMouseGrabber << "-> null"; | 0 |
698 | } never executed: end of block | 0 |
699 | | - |
700 | const auto touchDevices = QQuickPointerDevice::touchDevices(); | - |
701 | for (auto device : touchDevices) { | - |
702 | auto point = pointerEventInstance(device)->pointById(id); | - |
703 | if (!pointTRUE | never evaluated | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
|
) | 0-46 |
704 | continue; never executed: continue; | 0 |
705 | QObject *oldGrabber = point->exclusiveGrabber(); | - |
706 | if (oldGrabber == grabberTRUE | evaluated 44 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| FALSE | evaluated 2 times by 1 test |
) | 2-44 |
707 | continue;executed 44 times by 2 tests: continue; Executed by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 44 |
708 | point->setExclusiveGrabber(grabber); | - |
709 | }executed 2 times by 1 test: end of block | 2 |
710 | }executed 46 times by 2 tests: end of block Executed by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 46 |
711 | }executed 22 times by 2 tests: end of block Executed by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 22 |
712 | void QQuickWindowPrivate::removeGrabber(QQuickItem *grabber, bool mouse, bool touch) | - |
713 | { | - |
714 | QQuickWindow * const q = q_func(); | - |
715 | if (__builtin_expect(!!(mouse), true)TRUE | evaluated 415991 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
| FALSE | evaluated 132 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmultipointtoucharea
|
&& q->mouseGrabberItem() == grabberTRUE | evaluated 1644 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 414347 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
|
) { | 132-415991 |
716 | bool fromTouch = isDeliveringTouchAsMouse(); | - |
717 | auto point = fromTouchTRUE | evaluated 36 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | evaluated 1608 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
? | 36-1608 |
718 | pointerEventInstance(touchMouseDevice)->pointById(touchMouseId) : | - |
719 | pointerEventInstance(QQuickPointerDevice::genericMouseDevice())->point(0); | - |
720 | QQuickItem *oldGrabber = point->grabberItem(); | - |
721 | for (bool qt_category_enabled = DBG_MOUSE_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 1644 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 825, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "removeGrabber" << oldGrabber << "-> null";never executed: QMessageLogger(__FILE__, 825, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "removeGrabber" << oldGrabber << "-> null"; | 0-1644 |
722 | point->setGrabberItem(nullptr); | - |
723 | sendUngrabEvent(oldGrabber, fromTouch); | - |
724 | }executed 1644 times by 13 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1644 |
725 | if (__builtin_expect(!!(touch), true)TRUE | evaluated 414527 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
| FALSE | evaluated 1596 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 1596-414527 |
726 | bool ungrab = false; | - |
727 | const auto touchDevices = QQuickPointerDevice::touchDevices(); | - |
728 | for (auto device : touchDevices) { | - |
729 | if (auto pointerEvent = queryPointerEventInstance(device)TRUE | evaluated 3012 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1822 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 1822-3012 |
730 | for (int i = 0; i < pointerEvent->pointCount()TRUE | evaluated 5746 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 3012 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; ++i) { | 3012-5746 |
731 | if (pointerEvent->point(i)->exclusiveGrabber() == grabberTRUE | evaluated 96 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmultipointtoucharea
| FALSE | evaluated 5650 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 96-5650 |
732 | pointerEvent->point(i)->setGrabberItem(nullptr); | - |
733 | ungrab = true; | - |
734 | }executed 96 times by 2 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickmultipointtoucharea
| 96 |
735 | }executed 5746 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 5746 |
736 | }executed 3012 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 3012 |
737 | }executed 4834 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 4834 |
738 | if (ungrabTRUE | evaluated 58 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmultipointtoucharea
| FALSE | evaluated 414469 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
|
) | 58-414469 |
739 | grabber->touchUngrabEvent();executed 58 times by 2 tests: grabber->touchUngrabEvent(); Executed by:- tst_multipointtoucharea_interop
- tst_qquickmultipointtoucharea
| 58 |
740 | }executed 414527 times by 89 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
| 414527 |
741 | }executed 416123 times by 89 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
| 416123 |
742 | | - |
743 | void QQuickWindowPrivate::sendUngrabEvent(QQuickItem *grabber, bool touch) | - |
744 | { | - |
745 | if (!grabberTRUE | evaluated 1706 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1764 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 1706-1764 |
746 | return;executed 1706 times by 14 tests: return; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1706 |
747 | QEvent e(QEvent::UngrabMouse); | - |
748 | hasFiltered.clear(); | - |
749 | if (!sendFilteredMouseEvent(&e, grabber, grabber->parentItem())TRUE | evaluated 1764 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
) { | 0-1764 |
750 | grabber->mouseUngrabEvent(); | - |
751 | if (touchTRUE | evaluated 42 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | evaluated 1722 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 42-1722 |
752 | grabber->touchUngrabEvent();executed 42 times by 5 tests: grabber->touchUngrabEvent(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 42 |
753 | }executed 1764 times by 13 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1764 |
754 | }executed 1764 times by 13 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1764 |
755 | | - |
756 | | - |
757 | | - |
758 | | - |
759 | | - |
760 | void QQuickWindowPrivate::translateTouchEvent(QTouchEvent *touchEvent) | - |
761 | { | - |
762 | QList<QTouchEvent::TouchPoint> touchPoints = touchEvent->touchPoints(); | - |
763 | for (int i = 0; i < touchPoints.count()TRUE | evaluated 1988 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1240 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; ++i) { | 1240-1988 |
764 | QTouchEvent::TouchPoint &touchPoint = touchPoints[i]; | - |
765 | | - |
766 | touchPoint.setSceneRect(touchPoint.rect()); | - |
767 | touchPoint.setStartScenePos(touchPoint.startPos()); | - |
768 | touchPoint.setLastScenePos(touchPoint.lastPos()); | - |
769 | }executed 1988 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1988 |
770 | touchEvent->setTouchPoints(touchPoints); | - |
771 | }executed 1240 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1240 |
772 | | - |
773 | | - |
774 | static inline bool windowHasFocus(QQuickWindow *win) | - |
775 | { | - |
776 | const QWindow *focusWindow = QGuiApplication::focusWindow(); | - |
777 | returnexecuted 1078 times by 18 tests: return win == focusWindow || QQuickRenderControl::renderWindowFor(win) == focusWindow; Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
win == focusWindow || QQuickRenderControl::renderWindowFor(win) == focusWindow;executed 1078 times by 18 tests: return win == focusWindow || QQuickRenderControl::renderWindowFor(win) == focusWindow; Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 1078 |
778 | } | - |
779 | | - |
780 | | - |
781 | | - |
782 | | - |
783 | | - |
784 | | - |
785 | void QQuickWindowPrivate::setFocusInScope(QQuickItem *scope, QQuickItem *item, Qt::FocusReason reason, FocusOptions options) | - |
786 | { | - |
787 | QQuickWindow * const q = q_func(); | - |
788 | | - |
789 | ((item) ? static_cast<void>(0) : qt_assert("item", __FILE__, 893)); | - |
790 | ((scope || item == contentItem) ? static_cast<void>(0) : qt_assert("scope || item == contentItem", __FILE__, 894)); | - |
791 | | - |
792 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 6575 times by 21 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 896, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::setFocusInScope():";never executed: QMessageLogger(__FILE__, 896, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::setFocusInScope():"; | 0-6575 |
793 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 6575 times by 21 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 897, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope;never executed: QMessageLogger(__FILE__, 897, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope; | 0-6575 |
794 | if (scopeTRUE | evaluated 5497 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 1078 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 1078-5497 |
795 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 5497 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 899, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scopeSubFocusItem:" << (QObject *)QQuickItemPrivate::get(scope)->subFocusItem;never executed: QMessageLogger(__FILE__, 899, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scopeSubFocusItem:" << (QObject *)QQuickItemPrivate::get(scope)->subFocusItem; | 0-5497 |
796 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 6575 times by 21 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 900, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item;never executed: QMessageLogger(__FILE__, 900, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item; | 0-6575 |
797 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 6575 times by 21 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 901, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem;never executed: QMessageLogger(__FILE__, 901, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem; | 0-6575 |
798 | | - |
799 | QQuickItemPrivate *scopePrivate = scopeTRUE | evaluated 5497 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 1078 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
? QQuickItemPrivate::get(scope) : nullptr; | 1078-5497 |
800 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
801 | | - |
802 | QQuickItem *oldActiveFocusItem = nullptr; | - |
803 | QQuickItem *currentActiveFocusItem = activeFocusItem; | - |
804 | QQuickItem *newActiveFocusItem = nullptr; | - |
805 | bool sendFocusIn = false; | - |
806 | | - |
807 | lastFocusReason = reason; | - |
808 | | - |
809 | QVarLengthArray<QQuickItem *, 20> changed; | - |
810 | | - |
811 | | - |
812 | if (item == contentItemTRUE | evaluated 1078 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 5497 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
|| scopePrivate->activeFocusTRUE | evaluated 644 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4853 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) { | 644-5497 |
813 | oldActiveFocusItem = activeFocusItem; | - |
814 | if (item->isEnabled()TRUE | evaluated 1716 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 6 times by 1 test |
) { | 6-1716 |
815 | newActiveFocusItem = item; | - |
816 | while (newActiveFocusItem->isFocusScope()TRUE | evaluated 1194 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1228 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
| 1194-1228 |
817 | && newActiveFocusItem->scopedFocusItem()TRUE | evaluated 708 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 486 times by 17 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
| 486-708 |
818 | && newActiveFocusItem->scopedFocusItem()->isEnabled()TRUE | evaluated 706 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2 times by 1 test |
) { | 2-706 |
819 | newActiveFocusItem = newActiveFocusItem->scopedFocusItem(); | - |
820 | }executed 706 times by 9 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 706 |
821 | }executed 1716 times by 18 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
else { | 1716 |
822 | newActiveFocusItem = scope; | - |
823 | }executed 6 times by 1 test: end of block | 6 |
824 | | - |
825 | if (oldActiveFocusItemTRUE | evaluated 644 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1078 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 644-1078 |
826 | | - |
827 | QGuiApplication::inputMethod()->commit(); | - |
828 | | - |
829 | | - |
830 | activeFocusItem = nullptr; | - |
831 | | - |
832 | QQuickItem *afi = oldActiveFocusItem; | - |
833 | while (afiTRUE | evaluated 1734 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
&& afi != scopeTRUE | evaluated 1090 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 644 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 0-1734 |
834 | if (QQuickItemPrivate::get(afi)->activeFocusTRUE | evaluated 506 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 584 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 506-584 |
835 | QQuickItemPrivate::get(afi)->activeFocus = false; | - |
836 | changed << afi; | - |
837 | }executed 506 times by 7 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| 506 |
838 | afi = afi->parentItem(); | - |
839 | }executed 1090 times by 7 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| 1090 |
840 | }executed 644 times by 7 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| 644 |
841 | }executed 1722 times by 18 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 1722 |
842 | | - |
843 | if (item != contentItemTRUE | evaluated 5497 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 1078 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
&& !(options & DontChangeSubFocusItem)TRUE | evaluated 5489 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 8 times by 1 test |
) { | 8-5497 |
844 | QQuickItem *oldSubFocusItem = scopePrivate->subFocusItem; | - |
845 | if (oldSubFocusItemTRUE | evaluated 1819 times by 10 testsEvaluated by:- tst_examples
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| FALSE | evaluated 3670 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) { | 1819-3670 |
846 | QQuickItemPrivate::get(oldSubFocusItem)->focus = false; | - |
847 | changed << oldSubFocusItem; | - |
848 | }executed 1819 times by 10 tests: end of block Executed by:- tst_examples
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 1819 |
849 | | - |
850 | QQuickItemPrivate::get(item)->updateSubFocusItem(scope, true); | - |
851 | }executed 5489 times by 14 tests: end of block Executed by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| 5489 |
852 | | - |
853 | if (!(options & DontChangeFocusProperty)TRUE | evaluated 4771 times by 20 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| FALSE | evaluated 1804 times by 12 testsEvaluated by:- tst_examples
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) { | 1804-4771 |
854 | if (item != contentItemTRUE | evaluated 3693 times by 11 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| FALSE | evaluated 1078 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
|| windowHasFocus(q)TRUE | evaluated 1076 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2 times by 1 test |
) { | 2-3693 |
855 | itemPrivate->focus = true; | - |
856 | changed << item; | - |
857 | }executed 4769 times by 20 tests: end of block Executed by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 4769 |
858 | }executed 4771 times by 20 tests: end of block Executed by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 4771 |
859 | | - |
860 | if (newActiveFocusItemTRUE | evaluated 1722 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4853 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
&& contentItem->hasFocus()TRUE | evaluated 1720 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2 times by 1 test |
) { | 2-4853 |
861 | activeFocusItem = newActiveFocusItem; | - |
862 | | - |
863 | QQuickItemPrivate::get(newActiveFocusItem)->activeFocus = true; | - |
864 | changed << newActiveFocusItem; | - |
865 | | - |
866 | QQuickItem *afi = newActiveFocusItem->parentItem(); | - |
867 | while (afiTRUE | evaluated 2140 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1082 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
&& afi != scopeTRUE | evaluated 1502 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 638 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 638-2140 |
868 | if (afi->isFocusScope()TRUE | evaluated 706 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 796 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 706-796 |
869 | QQuickItemPrivate::get(afi)->activeFocus = true; | - |
870 | changed << afi; | - |
871 | }executed 706 times by 9 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 706 |
872 | afi = afi->parentItem(); | - |
873 | }executed 1502 times by 9 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 1502 |
874 | updateFocusItemTransform(); | - |
875 | sendFocusIn = true; | - |
876 | }executed 1720 times by 18 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 1720 |
877 | | - |
878 | | - |
879 | | - |
880 | if (oldActiveFocusItemTRUE | evaluated 644 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 5931 times by 21 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) { | 644-5931 |
881 | QFocusEvent event(QEvent::FocusOut, reason); | - |
882 | QCoreApplication::sendEvent(oldActiveFocusItem, &event); | - |
883 | }executed 644 times by 7 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| 644 |
884 | | - |
885 | | - |
886 | if (sendFocusInTRUE | evaluated 1720 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4855 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
&& activeFocusItem == newActiveFocusItemTRUE | evaluated 1716 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4 times by 1 test |
) { | 4-4855 |
887 | QFocusEvent event(QEvent::FocusIn, reason); | - |
888 | QCoreApplication::sendEvent(newActiveFocusItem, &event); | - |
889 | }executed 1716 times by 18 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 1716 |
890 | | - |
891 | if (activeFocusItem != currentActiveFocusItemTRUE | evaluated 1714 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4861 times by 14 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) | 1714-4861 |
892 | q->focusObjectChanged(activeFocusItem);executed 1714 times by 18 tests: q->focusObjectChanged(activeFocusItem); Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 1714 |
893 | | - |
894 | if (!changed.isEmpty()TRUE | evaluated 4801 times by 20 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| FALSE | evaluated 1774 times by 12 testsEvaluated by:- tst_examples
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) | 1774-4801 |
895 | notifyFocusChangesRecur(changed.data(), changed.count() - 1);executed 4801 times by 20 tests: notifyFocusChangesRecur(changed.data(), changed.count() - 1); Executed by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 4801 |
896 | }executed 6575 times by 21 tests: end of block Executed by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| 6575 |
897 | | - |
898 | void QQuickWindowPrivate::clearFocusInScope(QQuickItem *scope, QQuickItem *item, Qt::FocusReason reason, FocusOptions options) | - |
899 | { | - |
900 | QQuickWindow * const q = q_func(); | - |
901 | | - |
902 | ((item) ? static_cast<void>(0) : qt_assert("item", __FILE__, 1006)); | - |
903 | ((scope || item == contentItem) ? static_cast<void>(0) : qt_assert("scope || item == contentItem", __FILE__, 1007)); | - |
904 | | - |
905 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 3198 times by 16 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 1009, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::clearFocusInScope():";never executed: QMessageLogger(__FILE__, 1009, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::clearFocusInScope():"; | 0-3198 |
906 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 3198 times by 16 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 1010, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope;never executed: QMessageLogger(__FILE__, 1010, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope; | 0-3198 |
907 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 3198 times by 16 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 1011, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item;never executed: QMessageLogger(__FILE__, 1011, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item; | 0-3198 |
908 | for (bool qt_category_enabled = DBG_FOCUS().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 3198 times by 16 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 1012, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem;never executed: QMessageLogger(__FILE__, 1012, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem; | 0-3198 |
909 | | - |
910 | QQuickItemPrivate *scopePrivate = nullptr; | - |
911 | if (scopeTRUE | evaluated 3178 times by 15 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
|
) { | 20-3178 |
912 | scopePrivate = QQuickItemPrivate::get(scope); | - |
913 | if ( !scopePrivate->subFocusItemTRUE | never evaluated | FALSE | evaluated 3178 times by 15 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) | 0-3178 |
914 | return; never executed: return; | 0 |
915 | }executed 3178 times by 15 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| 3178 |
916 | | - |
917 | QQuickItem *currentActiveFocusItem = activeFocusItem; | - |
918 | QQuickItem *oldActiveFocusItem = nullptr; | - |
919 | QQuickItem *newActiveFocusItem = nullptr; | - |
920 | | - |
921 | lastFocusReason = reason; | - |
922 | | - |
923 | QVarLengthArray<QQuickItem *, 20> changed; | - |
924 | | - |
925 | ((item == contentItem || item == scopePrivate->subFocusItem) ? static_cast<void>(0) : qt_assert("item == contentItem || item == scopePrivate->subFocusItem", __FILE__, 1029)); | - |
926 | | - |
927 | | - |
928 | if (item == contentItemTRUE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| FALSE | evaluated 3178 times by 15 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
|| scopePrivate->activeFocusTRUE | evaluated 444 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2734 times by 11 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) { | 20-3178 |
929 | oldActiveFocusItem = activeFocusItem; | - |
930 | newActiveFocusItem = scope; | - |
931 | | - |
932 | | - |
933 | QGuiApplication::inputMethod()->commit(); | - |
934 | | - |
935 | | - |
936 | activeFocusItem = nullptr; | - |
937 | | - |
938 | if (oldActiveFocusItemTRUE | evaluated 464 times by 10 testsEvaluated by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
) { | 0-464 |
939 | QQuickItem *afi = oldActiveFocusItem; | - |
940 | while (afiTRUE | evaluated 1156 times by 10 testsEvaluated by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
|
&& afi != scopeTRUE | evaluated 712 times by 10 testsEvaluated by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 444 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 20-1156 |
941 | if (QQuickItemPrivate::get(afi)->activeFocusTRUE | evaluated 508 times by 10 testsEvaluated by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 204 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 204-508 |
942 | QQuickItemPrivate::get(afi)->activeFocus = false; | - |
943 | changed << afi; | - |
944 | }executed 508 times by 10 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 508 |
945 | afi = afi->parentItem(); | - |
946 | }executed 712 times by 10 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 712 |
947 | }executed 464 times by 10 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 464 |
948 | }executed 464 times by 10 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 464 |
949 | | - |
950 | if (item != contentItemTRUE | evaluated 3178 times by 15 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
|
&& !(options & DontChangeSubFocusItem)TRUE | evaluated 3172 times by 15 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | evaluated 6 times by 1 test |
) { | 6-3178 |
951 | QQuickItem *oldSubFocusItem = scopePrivate->subFocusItem; | - |
952 | if (oldSubFocusItemTRUE | evaluated 3172 times by 15 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| FALSE | never evaluated |
&& !(options & DontChangeFocusProperty)TRUE | evaluated 70 times by 4 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 3102 times by 15 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) { | 0-3172 |
953 | QQuickItemPrivate::get(oldSubFocusItem)->focus = false; | - |
954 | changed << oldSubFocusItem; | - |
955 | }executed 70 times by 4 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquicktextedit
- tst_qquicktextinput
| 70 |
956 | | - |
957 | QQuickItemPrivate::get(item)->updateSubFocusItem(scope, false); | - |
958 | | - |
959 | }executed 3172 times by 15 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
else if (!(options & DontChangeFocusProperty)TRUE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| FALSE | evaluated 6 times by 1 test |
) { | 6-3172 |
960 | QQuickItemPrivate::get(item)->focus = false; | - |
961 | changed << item; | - |
962 | }executed 20 times by 5 tests: end of block Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
963 | | - |
964 | if (newActiveFocusItemTRUE | evaluated 444 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2754 times by 14 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) { | 444-2754 |
965 | ((newActiveFocusItem == scope) ? static_cast<void>(0) : qt_assert("newActiveFocusItem == scope", __FILE__, 1069)); | - |
966 | activeFocusItem = scope; | - |
967 | updateFocusItemTransform(); | - |
968 | }executed 444 times by 9 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 444 |
969 | | - |
970 | | - |
971 | | - |
972 | | - |
973 | if (oldActiveFocusItemTRUE | evaluated 464 times by 10 testsEvaluated by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2734 times by 11 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) { | 464-2734 |
974 | QFocusEvent event(QEvent::FocusOut, reason); | - |
975 | QCoreApplication::sendEvent(oldActiveFocusItem, &event); | - |
976 | }executed 464 times by 10 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 464 |
977 | | - |
978 | | - |
979 | if (newActiveFocusItemTRUE | evaluated 444 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2754 times by 14 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
&& activeFocusItem == newActiveFocusItemTRUE | evaluated 444 times by 9 testsEvaluated by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
) { | 0-2754 |
980 | QFocusEvent event(QEvent::FocusIn, reason); | - |
981 | QCoreApplication::sendEvent(newActiveFocusItem, &event); | - |
982 | }executed 444 times by 9 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 444 |
983 | | - |
984 | if (activeFocusItem != currentActiveFocusItemTRUE | evaluated 462 times by 10 testsEvaluated by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2736 times by 11 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) | 462-2736 |
985 | q->focusObjectChanged(activeFocusItem);executed 462 times by 10 tests: q->focusObjectChanged(activeFocusItem); Executed by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 462 |
986 | | - |
987 | if (!changed.isEmpty()TRUE | evaluated 464 times by 10 testsEvaluated by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2734 times by 10 testsEvaluated by:- tst_examples
- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickvisualdatamodel
- tst_qquickwidget
|
) | 464-2734 |
988 | notifyFocusChangesRecur(changed.data(), changed.count() - 1);executed 464 times by 10 tests: notifyFocusChangesRecur(changed.data(), changed.count() - 1); Executed by:- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 464 |
989 | }executed 3198 times by 16 tests: end of block Executed by:- tst_examples
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_qquickwidget
| 3198 |
990 | | - |
991 | void QQuickWindowPrivate::clearFocusObject() | - |
992 | { | - |
993 | if (activeFocusItem == contentItemTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
994 | return; never executed: return; | 0 |
995 | | - |
996 | clearFocusInScope(contentItem, QQuickItemPrivate::get(contentItem)->subFocusItem, Qt::OtherFocusReason); | - |
997 | } never executed: end of block | 0 |
998 | | - |
999 | void QQuickWindowPrivate::notifyFocusChangesRecur(QQuickItem **items, int remaining) | - |
1000 | { | - |
1001 | QPointer<QQuickItem> item(*items); | - |
1002 | | - |
1003 | if (remainingTRUE | evaluated 5003 times by 20 testsEvaluated by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| FALSE | evaluated 10951 times by 28 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktext
- tst_qquicktextedit
- ...
|
) | 5003-10951 |
1004 | notifyFocusChangesRecur(items + 1, remaining - 1);executed 5003 times by 20 tests: notifyFocusChangesRecur(items + 1, remaining - 1); Executed by:- tst_examples
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 5003 |
1005 | | - |
1006 | if (itemTRUE | evaluated 15954 times by 28 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktext
- tst_qquicktextedit
- ...
| FALSE | never evaluated |
) { | 0-15954 |
1007 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1008 | | - |
1009 | if (itemPrivate->notifiedFocus != itemPrivate->focusTRUE | evaluated 12492 times by 28 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktext
- tst_qquicktextedit
- ...
| FALSE | evaluated 3462 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 3462-12492 |
1010 | itemPrivate->notifiedFocus = itemPrivate->focus; | - |
1011 | item->focusChanged(itemPrivate->focus); | - |
1012 | }executed 12492 times by 28 tests: end of block Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktext
- tst_qquicktextedit
- ...
| 12492 |
1013 | | - |
1014 | if (item && itemPrivate->notifiedActiveFocus != itemPrivate->activeFocusTRUE | evaluated 3418 times by 18 testsEvaluated by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 12536 times by 28 testsEvaluated by:- tst_examples
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktext
- tst_qquicktextedit
- ...
|
) { | 3418-12536 |
1015 | itemPrivate->notifiedActiveFocus = itemPrivate->activeFocus; | - |
1016 | itemPrivate->itemChange(QQuickItem::ItemActiveFocusHasChanged, itemPrivate->activeFocus); | - |
1017 | item->activeFocusChanged(itemPrivate->activeFocus); | - |
1018 | }executed 3418 times by 18 tests: end of block Executed by:- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 3418 |
1019 | }executed 15954 times by 28 tests: end of block Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktext
- tst_qquicktextedit
- ...
| 15954 |
1020 | }executed 15954 times by 28 tests: end of block Executed by:- tst_examples
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktext
- tst_qquicktextedit
- ...
| 15954 |
1021 | | - |
1022 | void QQuickWindowPrivate::dirtyItem(QQuickItem *) | - |
1023 | { | - |
1024 | QQuickWindow * const q = q_func(); | - |
1025 | q->maybeUpdate(); | - |
1026 | }executed 1705029 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 1705029 |
1027 | | - |
1028 | void QQuickWindowPrivate::cleanup(QSGNode *n) | - |
1029 | { | - |
1030 | QQuickWindow * const q = q_func(); | - |
1031 | | - |
1032 | ((!cleanupNodeList.contains(n)) ? static_cast<void>(0) : qt_assert("!cleanupNodeList.contains(n)", __FILE__, 1136)); | - |
1033 | cleanupNodeList.append(n); | - |
1034 | q->maybeUpdate(); | - |
1035 | }executed 316588 times by 74 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 316588 |
1036 | QQuickWindow::QQuickWindow(QWindow *parent) | - |
1037 | : QQuickWindow(*new QQuickWindowPrivate, parent) | - |
1038 | { | - |
1039 | }executed 1894 times by 20 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_qqmlcomponent
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickpainteditem
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_qquickvisualdatamodel
- tst_rendernode
| 1894 |
1040 | | - |
1041 | | - |
1042 | | - |
1043 | | - |
1044 | | - |
1045 | | - |
1046 | QQuickWindow::QQuickWindow(QQuickWindowPrivate &dd, QWindow *parent) | - |
1047 | : QWindow(dd, parent) | - |
1048 | { | - |
1049 | QQuickWindowPrivate * const d = d_func(); | - |
1050 | d->init(this); | - |
1051 | }executed 5248 times by 89 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 5248 |
1052 | | - |
1053 | | - |
1054 | | - |
1055 | | - |
1056 | QQuickWindow::QQuickWindow(QQuickRenderControl *control) | - |
1057 | : QWindow(*(new QQuickWindowPrivate), nullptr) | - |
1058 | { | - |
1059 | QQuickWindowPrivate * const d = d_func(); | - |
1060 | d->init(this, control); | - |
1061 | }executed 118 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 118 |
1062 | | - |
1063 | | - |
1064 | | - |
1065 | | - |
1066 | QQuickWindow::QQuickWindow(QQuickWindowPrivate &dd, QQuickRenderControl *control) | - |
1067 | : QWindow(dd, nullptr) | - |
1068 | { | - |
1069 | QQuickWindowPrivate * const d = d_func(); | - |
1070 | d->init(this, control); | - |
1071 | } never executed: end of block | 0 |
1072 | | - |
1073 | | - |
1074 | | - |
1075 | | - |
1076 | QQuickWindow::~QQuickWindow() | - |
1077 | { | - |
1078 | QQuickWindowPrivate * const d = d_func(); | - |
1079 | | - |
1080 | if (d->renderControlTRUE | never evaluated | FALSE | evaluated 5330 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
|
) { | 0-5330 |
1081 | QQuickRenderControlPrivate::get(d->renderControl)->windowDestroyed(); | - |
1082 | } never executed: end of block else if (d->windowManagerTRUE | evaluated 5212 times by 88 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
| FALSE | evaluated 118 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
|
) { | 0-5212 |
1083 | d->windowManager->removeWindow(this); | - |
1084 | d->windowManager->windowDestroyed(this); | - |
1085 | }executed 5212 times by 88 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
| 5212 |
1086 | | - |
1087 | delete d->incubationController; d->incubationController = nullptr; | - |
1088 | | - |
1089 | delete d->dragGrabber; d->dragGrabber = nullptr; | - |
1090 | | - |
1091 | QQuickRootItem *root = d->contentItem; | - |
1092 | d->contentItem = nullptr; | - |
1093 | delete root; | - |
1094 | qDeleteAll(d->pointerEventInstances); | - |
1095 | d->pointerEventInstances.clear(); | - |
1096 | | - |
1097 | d->renderJobMutex.lock(); | - |
1098 | qDeleteAll(d->beforeSynchronizingJobs); | - |
1099 | d->beforeSynchronizingJobs.clear(); | - |
1100 | qDeleteAll(d->afterSynchronizingJobs); | - |
1101 | d->afterSynchronizingJobs.clear(); | - |
1102 | qDeleteAll(d->beforeRenderingJobs); | - |
1103 | d->beforeRenderingJobs.clear(); | - |
1104 | qDeleteAll(d->afterRenderingJobs); | - |
1105 | d->afterRenderingJobs.clear(); | - |
1106 | qDeleteAll(d->afterSwapJobs); | - |
1107 | d->afterSwapJobs.clear(); | - |
1108 | d->renderJobMutex.unlock(); | - |
1109 | | - |
1110 | | - |
1111 | | - |
1112 | | - |
1113 | | - |
1114 | | - |
1115 | QQuickPixmap::purgeCache(); | - |
1116 | }executed 5330 times by 89 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- ...
| 5330 |
1117 | void QQuickWindow::releaseResources() | - |
1118 | { | - |
1119 | QQuickWindowPrivate * const d = d_func(); | - |
1120 | if (d->windowManagerTRUE | evaluated 254 times by 3 testsEvaluated by:- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
) | 0-254 |
1121 | d->windowManager->releaseResources(this);executed 254 times by 3 tests: d->windowManager->releaseResources(this); Executed by:- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickimage
| 254 |
1122 | QQuickPixmap::purgeCache(); | - |
1123 | }executed 254 times by 3 tests: end of block Executed by:- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickimage
| 254 |
1124 | void QQuickWindow::setPersistentOpenGLContext(bool persistent) | - |
1125 | { | - |
1126 | QQuickWindowPrivate * const d = d_func(); | - |
1127 | d->persistentGLContext = persistent; | - |
1128 | }executed 266 times by 1 test: end of block | 266 |
1129 | bool QQuickWindow::isPersistentOpenGLContext() const | - |
1130 | { | - |
1131 | const QQuickWindowPrivate * const d = d_func(); | - |
1132 | return never executed: return d->persistentGLContext; d->persistentGLContext;never executed: return d->persistentGLContext; | 0 |
1133 | } | - |
1134 | void QQuickWindow::setPersistentSceneGraph(bool persistent) | - |
1135 | { | - |
1136 | QQuickWindowPrivate * const d = d_func(); | - |
1137 | d->persistentSceneGraph = persistent; | - |
1138 | }executed 266 times by 1 test: end of block | 266 |
1139 | bool QQuickWindow::isPersistentSceneGraph() const | - |
1140 | { | - |
1141 | const QQuickWindowPrivate * const d = d_func(); | - |
1142 | returnexecuted 28 times by 1 test: return d->persistentSceneGraph; d->persistentSceneGraph;executed 28 times by 1 test: return d->persistentSceneGraph; | 28 |
1143 | } | - |
1144 | QQuickItem *QQuickWindow::contentItem() const | - |
1145 | { | - |
1146 | const QQuickWindowPrivate * const d = d_func(); | - |
1147 | | - |
1148 | returnexecuted 15398 times by 90 tests: return d->contentItem; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
d->contentItem;executed 15398 times by 90 tests: return d->contentItem; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 15398 |
1149 | } | - |
1150 | | - |
1151 | | - |
1152 | | - |
1153 | | - |
1154 | | - |
1155 | | - |
1156 | | - |
1157 | QQuickItem *QQuickWindow::activeFocusItem() const | - |
1158 | { | - |
1159 | const QQuickWindowPrivate * const d = d_func(); | - |
1160 | | - |
1161 | returnexecuted 54206 times by 78 tests: return d->activeFocusItem; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
d->activeFocusItem;executed 54206 times by 78 tests: return d->activeFocusItem; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 54206 |
1162 | } | - |
1163 | | - |
1164 | | - |
1165 | | - |
1166 | | - |
1167 | | - |
1168 | QObject *QQuickWindow::focusObject() const | - |
1169 | { | - |
1170 | const QQuickWindowPrivate * const d = d_func(); | - |
1171 | | - |
1172 | if (d->activeFocusItemTRUE | evaluated 12065 times by 17 testsEvaluated by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
) | 0-12065 |
1173 | returnexecuted 12065 times by 17 tests: return d->activeFocusItem; Executed by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
d->activeFocusItem;executed 12065 times by 17 tests: return d->activeFocusItem; Executed by:- tst_qquickanimationcontroller
- tst_qquickapplication
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 12065 |
1174 | return never executed: return const_cast<QQuickWindow*>(this); const_cast<QQuickWindow*>(this);never executed: return const_cast<QQuickWindow*>(this); | 0 |
1175 | } | - |
1176 | | - |
1177 | | - |
1178 | | - |
1179 | | - |
1180 | | - |
1181 | QQuickItem *QQuickWindow::mouseGrabberItem() const | - |
1182 | { | - |
1183 | const QQuickWindowPrivate * const d = d_func(); | - |
1184 | | - |
1185 | if (d->isDeliveringTouchAsMouse()TRUE | evaluated 518 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | evaluated 474005 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
) { | 518-474005 |
1186 | if (QQuickPointerEvent *event = d->queryPointerEventInstance(d->touchMouseDevice)TRUE | evaluated 518 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
) { | 0-518 |
1187 | auto point = event->pointById(d->touchMouseId); | - |
1188 | returnexecuted 518 times by 5 tests: return point ? point->grabberItem() : nullptr; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
point ? point->grabberItem() : nullptr;executed 518 times by 5 tests: return point ? point->grabberItem() : nullptr; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 518 |
1189 | } | - |
1190 | } never executed: end of block else if (QQuickPointerEvent *event = d->queryPointerEventInstance(QQuickPointerDevice::genericMouseDevice())TRUE | evaluated 40512 times by 17 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 433493 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
) { | 0-433493 |
1191 | ((event->pointCount()) ? static_cast<void>(0) : qt_assert("event->pointCount()", __FILE__, 1534)); | - |
1192 | returnexecuted 40512 times by 17 tests: return event->point(0)->grabberItem(); Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
event->point(0)->grabberItem();executed 40512 times by 17 tests: return event->point(0)->grabberItem(); Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 40512 |
1193 | } | - |
1194 | returnexecuted 433493 times by 90 tests: return nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
nullptr;executed 433493 times by 90 tests: return nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 433493 |
1195 | } | - |
1196 | | - |
1197 | | - |
1198 | bool QQuickWindowPrivate::clearHover(ulong timestamp) | - |
1199 | { | - |
1200 | QQuickWindow * const q = q_func(); | - |
1201 | if (hoverItems.isEmpty()TRUE | evaluated 17477 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextinput
| FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
|
) | 10-17477 |
1202 | returnexecuted 17477 times by 14 tests: return false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextinput
false;executed 17477 times by 14 tests: return false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextinput
| 17477 |
1203 | | - |
1204 | QPointF pos = q->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint()); | - |
1205 | | - |
1206 | bool accepted = false; | - |
1207 | for (QQuickItem* item : qAsConst(hoverItems)) { | - |
1208 | accepted = sendHoverEvent(QEvent::HoverLeave, item, pos, pos, QGuiApplication::keyboardModifiers(), timestamp, true)TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
| FALSE | never evaluated |
|| acceptedTRUE | never evaluated | FALSE | never evaluated |
; | 0-10 |
1209 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1210 | if (itemPrivate->hasPointerHandlers()TRUE | never evaluated | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
|
) { | 0-10 |
1211 | pos = q->mapFromGlobal(QCursor::pos()); | - |
1212 | QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::genericMouseDevice(), QEvent::MouseMove); | - |
1213 | pointerEvent->point(0)->reset(Qt::TouchPointMoved, pos, quint64(1) << 24 , timestamp, QVector2D()); | - |
1214 | pointerEvent->point(0)->setAccepted(true); | - |
1215 | pointerEvent->localize(item); | - |
1216 | for (QQuickPointerHandler *h : itemPrivate->extra->pointerHandlers) | - |
1217 | if (QQuickHoverHandler *hh = qmlobject_cast<QQuickHoverHandler *>(h)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1218 | hh->handlePointerEvent(pointerEvent); never executed: hh->handlePointerEvent(pointerEvent); | 0 |
1219 | } never executed: end of block | 0 |
1220 | }executed 10 times by 3 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
| 10 |
1221 | hoverItems.clear(); | - |
1222 | returnexecuted 10 times by 3 tests: return accepted; Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
accepted;executed 10 times by 3 tests: return accepted; Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
| 10 |
1223 | } | - |
1224 | | - |
1225 | | - |
1226 | bool QQuickWindow::event(QEvent *e) | - |
1227 | { | - |
1228 | QQuickWindowPrivate * const d = d_func(); | - |
1229 | | - |
1230 | switch (e->type()) { | - |
1231 | | - |
1232 | caseexecuted 216 times by 10 tests: case QEvent::TouchBegin: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
QEvent::TouchBegin:executed 216 times by 10 tests: case QEvent::TouchBegin: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 216 |
1233 | caseexecuted 840 times by 10 tests: case QEvent::TouchUpdate: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
QEvent::TouchUpdate:executed 840 times by 10 tests: case QEvent::TouchUpdate: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 840 |
1234 | caseexecuted 184 times by 10 tests: case QEvent::TouchEnd: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
QEvent::TouchEnd:executed 184 times by 10 tests: case QEvent::TouchEnd: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
{ | 184 |
1235 | QTouchEvent *touch = static_cast<QTouchEvent*>(e); | - |
1236 | d->handleTouchEvent(touch); | - |
1237 | if (__builtin_expect(!!(QCoreApplication::testAttribute(Qt::AA_SynthesizeMouseForUnhandledTouchEvents)), true)TRUE | evaluated 448 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| FALSE | evaluated 792 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 448-792 |
1238 | | - |
1239 | | - |
1240 | e->accept(); | - |
1241 | }executed 448 times by 5 tests: end of block Executed by:- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 448 |
1242 | returnexecuted 1240 times by 10 tests: return true; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
true;executed 1240 times by 10 tests: return true; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1240 |
1243 | } | - |
1244 | break; dead code: break; | - |
1245 | caseexecuted 2 times by 1 test: case QEvent::TouchCancel: QEvent::TouchCancel:executed 2 times by 1 test: case QEvent::TouchCancel: | 2 |
1246 | | - |
1247 | returnexecuted 2 times by 1 test: return d->deliverTouchCancelEvent(static_cast<QTouchEvent*>(e)); d->deliverTouchCancelEvent(static_cast<QTouchEvent*>(e));executed 2 times by 1 test: return d->deliverTouchCancelEvent(static_cast<QTouchEvent*>(e)); | 2 |
1248 | break; dead code: break; | - |
1249 | caseexecuted 600 times by 10 tests: case QEvent::Enter: Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquickwidget
- tst_touchmouse
QEvent::Enter:executed 600 times by 10 tests: case QEvent::Enter: Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquickwidget
- tst_touchmouse
{ | 600 |
1250 | if (!d->contentItemTRUE | never evaluated | FALSE | evaluated 600 times by 10 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquickwidget
- tst_touchmouse
|
) | 0-600 |
1251 | return never executed: return false; false;never executed: return false; | 0 |
1252 | QEnterEvent *enter = static_cast<QEnterEvent*>(e); | - |
1253 | bool accepted = enter->isAccepted(); | - |
1254 | bool delivered = d->deliverHoverEvent(d->contentItem, enter->windowPos(), d->lastMousePosition, | - |
1255 | QGuiApplication::keyboardModifiers(), 0L, accepted); | - |
1256 | enter->setAccepted(accepted); | - |
1257 | returnexecuted 600 times by 10 tests: return delivered; Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquickwidget
- tst_touchmouse
delivered;executed 600 times by 10 tests: return delivered; Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquickwidget
- tst_touchmouse
| 600 |
1258 | } | - |
1259 | break; dead code: break; | - |
1260 | caseexecuted 2 times by 1 test: case QEvent::Leave: QEvent::Leave:executed 2 times by 1 test: case QEvent::Leave: | 2 |
1261 | d->clearHover(); | - |
1262 | d->lastMousePosition = QPointF(); | - |
1263 | break;executed 2 times by 1 test: break; | 2 |
1264 | | - |
1265 | caseexecuted 60 times by 1 test: case QEvent::DragEnter: QEvent::DragEnter:executed 60 times by 1 test: case QEvent::DragEnter: | 60 |
1266 | caseexecuted 50 times by 1 test: case QEvent::DragLeave: QEvent::DragLeave:executed 50 times by 1 test: case QEvent::DragLeave: | 50 |
1267 | caseexecuted 68 times by 1 test: case QEvent::DragMove: QEvent::DragMove:executed 68 times by 1 test: case QEvent::DragMove: | 68 |
1268 | caseexecuted 10 times by 1 test: case QEvent::Drop: QEvent::Drop:executed 10 times by 1 test: case QEvent::Drop: | 10 |
1269 | d->deliverDragEvent(d->dragGrabber, e); | - |
1270 | break;executed 188 times by 1 test: break; | 188 |
1271 | | - |
1272 | case never executed: case QEvent::WindowDeactivate: QEvent::WindowDeactivate:never executed: case QEvent::WindowDeactivate: | 0 |
1273 | if (d->contentItemTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1274 | d->contentItem->windowDeactivateEvent(); never executed: d->contentItem->windowDeactivateEvent(); | 0 |
1275 | break; never executed: break; | 0 |
1276 | case never executed: case QEvent::Close: QEvent::Close:never executed: case QEvent::Close: { | 0 |
1277 | | - |
1278 | | - |
1279 | QQuickCloseEvent qev; | - |
1280 | qev.setAccepted(e->isAccepted()); | - |
1281 | closing(&qev); | - |
1282 | e->setAccepted(qev.isAccepted()); | - |
1283 | } break; never executed: break; | 0 |
1284 | caseexecuted 20 times by 5 tests: case QEvent::FocusAboutToChange: Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
QEvent::FocusAboutToChange:executed 20 times by 5 tests: case QEvent::FocusAboutToChange: Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
1285 | | - |
1286 | if (d->activeFocusItemTRUE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| FALSE | never evaluated |
) | 0-20 |
1287 | (static_cast<executed 20 times by 5 tests: (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->commit(); Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->commit();executed 20 times by 5 tests: (static_cast<QGuiApplication *>(QCoreApplication::instance()))->inputMethod()->commit(); Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
1288 | | - |
1289 | if (mouseGrabberItem()TRUE | never evaluated | FALSE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
|
) | 0-20 |
1290 | mouseGrabberItem()->ungrabMouse(); never executed: mouseGrabberItem()->ungrabMouse(); | 0 |
1291 | break;executed 20 times by 5 tests: break; Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
1292 | caseexecuted 42673 times by 65 tests: case QEvent::UpdateRequest: Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
QEvent::UpdateRequest:executed 42673 times by 65 tests: case QEvent::UpdateRequest: Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
{ | 42673 |
1293 | if (d->windowManagerTRUE | evaluated 42673 times by 65 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| FALSE | never evaluated |
) | 0-42673 |
1294 | d->windowManager->handleUpdateRequest(this);executed 42673 times by 65 tests: d->windowManager->handleUpdateRequest(this); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 42673 |
1295 | break;executed 42673 times by 65 tests: break; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- ...
| 42673 |
1296 | } | - |
1297 | | - |
1298 | case never executed: case QEvent::NativeGesture: QEvent::NativeGesture:never executed: case QEvent::NativeGesture: | 0 |
1299 | d->deliverSinglePointEventUntilAccepted(d->pointerEventInstance(e)); | - |
1300 | break; never executed: break; | 0 |
1301 | | - |
1302 | caseexecuted 2124 times by 8 tests: case QEvent::ShortcutOverride: Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
QEvent::ShortcutOverride:executed 2124 times by 8 tests: case QEvent::ShortcutOverride: Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 2124 |
1303 | if (d->activeFocusItemTRUE | evaluated 2102 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 22 times by 3 testsEvaluated by:- tst_qquicklistview
- tst_qquickshortcut
- tst_qquickwidget
|
) | 22-2102 |
1304 | QCoreApplication::sendEvent(d->activeFocusItem, e);executed 2102 times by 7 tests: QCoreApplication::sendEvent(d->activeFocusItem, e); Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
| 2102 |
1305 | returnexecuted 2124 times by 8 tests: return true; Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
true;executed 2124 times by 8 tests: return true; Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 2124 |
1306 | defaultexecuted 56630 times by 90 tests: default: Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
:executed 56630 times by 90 tests: default: Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 56630 |
1307 | break;executed 56630 times by 90 tests: break; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 56630 |
1308 | } | - |
1309 | | - |
1310 | if (e->type() == QEvent::Type(QQuickWindowPrivate::FullUpdateRequest)TRUE | never evaluated | FALSE | evaluated 99513 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
) | 0-99513 |
1311 | update(); never executed: update(); | 0 |
1312 | | - |
1313 | returnexecuted 99513 times by 90 tests: return QWindow::event(e); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
QWindow::event(e);executed 99513 times by 90 tests: return QWindow::event(e); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 99513 |
1314 | } | - |
1315 | | - |
1316 | | - |
1317 | void QQuickWindow::keyPressEvent(QKeyEvent *e) | - |
1318 | { | - |
1319 | QQuickWindowPrivate * const d = d_func(); | - |
1320 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)TRUE | never evaluated | FALSE | evaluated 3506 times by 8 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
|
) { (QQuickProfiler::inputEvent<QQuickProfiler::Key, QQuickProfiler::InputKeyPress>(e->key(), e->modifiers())); }never executed: end of block else (executed 3506 times by 8 tests: (void)0 ; Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
void)0executed 3506 times by 8 tests: (void)0 ; Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
| 0-3506 |
1321 | ;executed 3506 times by 8 tests: (void)0 ; Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
| 3506 |
1322 | d->deliverKeyEvent(e); | - |
1323 | }executed 3506 times by 8 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
| 3506 |
1324 | | - |
1325 | | - |
1326 | void QQuickWindow::keyReleaseEvent(QKeyEvent *e) | - |
1327 | { | - |
1328 | QQuickWindowPrivate * const d = d_func(); | - |
1329 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)TRUE | never evaluated | FALSE | evaluated 3126 times by 9 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) { (QQuickProfiler::inputEvent<QQuickProfiler::Key, QQuickProfiler::InputKeyRelease>(e->key(), e->modifiers())); }never executed: end of block else (executed 3126 times by 9 tests: (void)0 ; Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
void)0executed 3126 times by 9 tests: (void)0 ; Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 0-3126 |
1330 | ;executed 3126 times by 9 tests: (void)0 ; Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 3126 |
1331 | d->deliverKeyEvent(e); | - |
1332 | }executed 3126 times by 9 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 3126 |
1333 | | - |
1334 | void QQuickWindowPrivate::deliverKeyEvent(QKeyEvent *e) | - |
1335 | { | - |
1336 | if (activeFocusItemTRUE | evaluated 6608 times by 8 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 24 times by 3 testsEvaluated by:- tst_qquicklistview
- tst_qquickshortcut
- tst_qquickwidget
|
) { | 24-6608 |
1337 | QQuickItem *item = activeFocusItem; | - |
1338 | e->accept(); | - |
1339 | QCoreApplication::sendEvent(item, e); | - |
1340 | while (!e->isAccepted()TRUE | evaluated 6132 times by 8 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4030 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
|
&& (TRUE | evaluated 3554 times by 6 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2578 times by 8 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
|
item = item->parentItem())TRUE | evaluated 3554 times by 6 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2578 times by 8 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 2578-6132 |
1341 | e->accept(); | - |
1342 | QCoreApplication::sendEvent(item, e); | - |
1343 | }executed 3554 times by 6 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| 3554 |
1344 | }executed 6608 times by 8 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
| 6608 |
1345 | }executed 6632 times by 9 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickshortcut
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 6632 |
1346 | | - |
1347 | QMouseEvent *QQuickWindowPrivate::cloneMouseEvent(QMouseEvent *event, QPointF *transformedLocalPos) | - |
1348 | { | - |
1349 | int caps = QGuiApplicationPrivate::mouseEventCaps(event); | - |
1350 | QVector2D velocity = QGuiApplicationPrivate::mouseEventVelocity(event); | - |
1351 | QMouseEvent *me = new QMouseEvent(event->type(), | - |
1352 | transformedLocalPos ? *transformedLocalPos : event->localPos(), | - |
1353 | event->windowPos(), event->screenPos(), | - |
1354 | event->button(), event->buttons(), event->modifiers()); | - |
1355 | QGuiApplicationPrivate::setMouseEventCapsAndVelocity(me, caps, velocity); | - |
1356 | QGuiApplicationPrivate::setMouseEventSource(me, QGuiApplicationPrivate::mouseEventSource(event)); | - |
1357 | me->setTimestamp(event->timestamp()); | - |
1358 | returnexecuted 1305 times by 7 tests: return me; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
me;executed 1305 times by 7 tests: return me; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1305 |
1359 | } | - |
1360 | | - |
1361 | void QQuickWindowPrivate::deliverToPassiveGrabbers(const QVector<QPointer <QQuickPointerHandler> > &passiveGrabbers, | - |
1362 | QQuickPointerEvent *pointerEvent) | - |
1363 | { | - |
1364 | const QVector<QQuickPointerHandler *> &eventDeliveryTargets = pointerEvent->device()->eventDeliveryTargets(); | - |
1365 | QVarLengthArray<QPair<QQuickItem *, bool>, 4> sendFilteredPointerEventResult; | - |
1366 | for (auto handler : passiveGrabbers) { | - |
1367 | | - |
1368 | if (__builtin_expect(!!(handler), true)TRUE | evaluated 1153 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| FALSE | never evaluated |
&& !eventDeliveryTargets.contains(handler)TRUE | evaluated 520 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| FALSE | evaluated 633 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
|
) { | 0-1153 |
1369 | bool alreadyFiltered = false; | - |
1370 | QQuickItem *par = handler->parentItem(); | - |
1371 | | - |
1372 | | - |
1373 | auto it = std::find_if(sendFilteredPointerEventResult.begin(), sendFilteredPointerEventResult.end(), | - |
1374 | [par](const QPair<QQuickItem *, bool> &pair) { returnexecuted 116 times by 2 tests: return pair.first == par; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
pair.first == par;executed 116 times by 2 tests: return pair.first == par; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
}); | 116 |
1375 | if (it != sendFilteredPointerEventResult.end()TRUE | evaluated 100 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
| FALSE | evaluated 420 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
|
) { | 100-420 |
1376 | | - |
1377 | | - |
1378 | alreadyFiltered = it->second; | - |
1379 | }executed 100 times by 2 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
else { | 100 |
1380 | alreadyFiltered = sendFilteredPointerEvent(pointerEvent, par); | - |
1381 | sendFilteredPointerEventResult << qMakePair<QQuickItem*, bool>(par, alreadyFiltered); | - |
1382 | }executed 420 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| 420 |
1383 | if (!alreadyFilteredTRUE | evaluated 504 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| FALSE | evaluated 16 times by 1 test |
) { | 16-504 |
1384 | pointerEvent->localize(handler->parentItem()); | - |
1385 | handler->handlePointerEvent(pointerEvent); | - |
1386 | }executed 504 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| 504 |
1387 | }executed 520 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| 520 |
1388 | }executed 1153 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| 1153 |
1389 | }executed 9934 times by 18 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 9934 |
1390 | | - |
1391 | | - |
1392 | | - |
1393 | void QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent *pointerEvent) | - |
1394 | { | - |
1395 | auto point = pointerEvent->point(0); | - |
1396 | lastMousePosition = point->scenePosition(); | - |
1397 | const bool mouseIsReleased = (point->state() == QQuickEventPoint::ReleasedTRUE | evaluated 1786 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 8358 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
&& pointerEvent->buttons() == Qt::NoButtonTRUE | evaluated 1706 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 80 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
); | 80-8358 |
1398 | | - |
1399 | if (point->exclusiveGrabber()TRUE | evaluated 6596 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 3548 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) { | 3548-6596 |
1400 | if (auto grabber = point->grabberItem()TRUE | evaluated 6530 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 66 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 66-6530 |
1401 | bool handled = false; | - |
1402 | if (sendFilteredPointerEvent(pointerEvent, grabber)TRUE | evaluated 116 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | evaluated 6414 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 116-6414 |
1403 | handled = true;executed 116 times by 5 tests: handled = true; Executed by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 116 |
1404 | | - |
1405 | | - |
1406 | | - |
1407 | Qt::MouseButtons acceptedButtons = grabber->acceptedMouseButtons(); | - |
1408 | if (!handledTRUE | evaluated 6414 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 116 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
&& pointerEvent->button() != Qt::NoButtonTRUE | evaluated 1790 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4624 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
&& acceptedButtons | 116-6414 |
1409 | && !(acceptedButtons & pointerEvent->button())TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
| FALSE | evaluated 1772 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 16-1772 |
1410 | pointerEvent->setAccepted(false); | - |
1411 | handled = true; | - |
1412 | }executed 16 times by 2 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
| 16 |
1413 | | - |
1414 | | - |
1415 | if (!handledTRUE | evaluated 6398 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 132 times by 6 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 132-6398 |
1416 | QPointF localPos = grabber->mapFromScene(lastMousePosition); | - |
1417 | auto me = pointerEvent->asMouseEvent(localPos); | - |
1418 | me->accept(); | - |
1419 | QCoreApplication::sendEvent(grabber, me); | - |
1420 | point->setAccepted(me->isAccepted()); | - |
1421 | }executed 6398 times by 12 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| 6398 |
1422 | | - |
1423 | | - |
1424 | if (mouseIsReleasedTRUE | evaluated 1540 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 4990 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 1540-4990 |
1425 | removeGrabber(grabber, true, isDeliveringTouchAsMouse());executed 1540 times by 12 tests: removeGrabber(grabber, true, isDeliveringTouchAsMouse()); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1540 |
1426 | }executed 6530 times by 12 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
else { | 6530 |
1427 | | - |
1428 | auto handler = point->grabberPointerHandler(); | - |
1429 | pointerEvent->localize(handler->parentItem()); | - |
1430 | if (!sendFilteredPointerEvent(pointerEvent, handler->parentItem())TRUE | evaluated 62 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 4 times by 1 test |
) | 4-62 |
1431 | handler->handlePointerEvent(pointerEvent);executed 62 times by 4 tests: handler->handlePointerEvent(pointerEvent); Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 62 |
1432 | if (mouseIsReleasedTRUE | evaluated 28 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 38 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 28-38 |
1433 | point->setGrabberPointerHandler(nullptr, true);executed 28 times by 4 tests: point->setGrabberPointerHandler(nullptr, true); Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 28 |
1434 | }executed 66 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 66 |
1435 | deliverToPassiveGrabbers(point->passiveGrabbers(), pointerEvent); | - |
1436 | }executed 6596 times by 14 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
else { | 6596 |
1437 | bool delivered = false; | - |
1438 | if (pointerEvent->isPressEvent()TRUE | evaluated 1764 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1784 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) { | 1764-1784 |
1439 | | - |
1440 | delivered = deliverPressOrReleaseEvent(pointerEvent); | - |
1441 | }executed 1764 times by 14 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
else if (pointerEvent->device()->type() == QQuickPointerDevice::MouseTRUE | evaluated 1784 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | never evaluated |
) { | 0-1784 |
1442 | | - |
1443 | | - |
1444 | | - |
1445 | deliverToPassiveGrabbers(point->passiveGrabbers(), pointerEvent); | - |
1446 | | - |
1447 | | - |
1448 | if (!pointerEvent->allPointsGrabbed()TRUE | evaluated 1774 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
|
&& pointerEvent->buttons()) { | 10-1774 |
1449 | QVector<QQuickItem *> targetItems = pointerTargets(contentItem, point, false, false); | - |
1450 | for (QQuickItem *item : targetItems) { | - |
1451 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1452 | if (!itemPrivate->extra.isAllocated()TRUE | evaluated 24 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpointerhandler
| FALSE | evaluated 534 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
|| itemPrivate->extra->pointerHandlers.isEmpty()TRUE | evaluated 446 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 88 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 24-534 |
1453 | continue;executed 470 times by 8 tests: continue; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 470 |
1454 | pointerEvent->localize(item); | - |
1455 | if (!sendFilteredPointerEvent(pointerEvent, item)TRUE | evaluated 82 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 6 times by 1 test |
) { | 6-82 |
1456 | if (itemPrivate->handlePointerEvent(pointerEvent, true)TRUE | evaluated 60 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickpointerhandler
| FALSE | evaluated 22 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquicktaphandler
|
) | 22-60 |
1457 | delivered = true;executed 60 times by 2 tests: delivered = true; Executed by:- tst_flickableinterop
- tst_qquickpointerhandler
| 60 |
1458 | }executed 82 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 82 |
1459 | if (point->exclusiveGrabber()TRUE | evaluated 6 times by 1 test | FALSE | evaluated 82 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 6-82 |
1460 | break;executed 6 times by 1 test: break; | 6 |
1461 | }executed 82 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 82 |
1462 | }executed 152 times by 8 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 152 |
1463 | }executed 1784 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 1784 |
1464 | | - |
1465 | if (!deliveredTRUE | evaluated 1898 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 1650 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 1650-1898 |
1466 | | - |
1467 | pointerEvent->setAccepted(false);executed 1898 times by 16 tests: pointerEvent->setAccepted(false); Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 1898 |
1468 | }executed 3548 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 3548 |
1469 | } | - |
1470 | | - |
1471 | bool QQuickWindowPrivate::sendHoverEvent(QEvent::Type type, QQuickItem *item, | - |
1472 | const QPointF &scenePos, const QPointF &lastScenePos, | - |
1473 | Qt::KeyboardModifiers modifiers, ulong timestamp, | - |
1474 | bool accepted) | - |
1475 | { | - |
1476 | const QTransform transform = QQuickItemPrivate::get(item)->windowToItemTransform(); | - |
1477 | | - |
1478 | | - |
1479 | QHoverEvent hoverEvent(type, transform.map(scenePos), transform.map(lastScenePos), modifiers); | - |
1480 | hoverEvent.setTimestamp(timestamp); | - |
1481 | hoverEvent.setAccepted(accepted); | - |
1482 | | - |
1483 | hasFiltered.clear(); | - |
1484 | if (sendFilteredMouseEvent(&hoverEvent, item, item->parentItem())TRUE | never evaluated | FALSE | evaluated 532 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
) | 0-532 |
1485 | return never executed: return true; true;never executed: return true; | 0 |
1486 | | - |
1487 | QCoreApplication::sendEvent(item, &hoverEvent); | - |
1488 | | - |
1489 | returnexecuted 532 times by 6 tests: return hoverEvent.isAccepted(); Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
hoverEvent.isAccepted();executed 532 times by 6 tests: return hoverEvent.isAccepted(); Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 532 |
1490 | } | - |
1491 | | - |
1492 | bool QQuickWindowPrivate::deliverHoverEvent(QQuickItem *item, const QPointF &scenePos, const QPointF &lastScenePos, | - |
1493 | Qt::KeyboardModifiers modifiers, ulong timestamp, bool &accepted) | - |
1494 | { | - |
1495 | QQuickWindow * const q = q_func(); | - |
1496 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1497 | | - |
1498 | if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShapeTRUE | never evaluated | FALSE | evaluated 19755 times by 21 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
- tst_touchmouse
|
) { | 0-19755 |
1499 | QPointF p = item->mapFromScene(scenePos); | - |
1500 | if (!item->contains(p)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1501 | return never executed: return false; false;never executed: return false; | 0 |
1502 | } never executed: end of block | 0 |
1503 | | - |
1504 | for (bool qt_category_enabled = DBG_HOVER_TRACE().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 19755 times by 21 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
- tst_touchmouse
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 1847, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << q << item << scenePos << lastScenePos << "subtreeHoverEnabled" << itemPrivate->subtreeHoverEnabled;never executed: QMessageLogger(__FILE__, 1847, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << q << item << scenePos << lastScenePos << "subtreeHoverEnabled" << itemPrivate->subtreeHoverEnabled; | 0-19755 |
1505 | if (itemPrivate->subtreeHoverEnabledTRUE | evaluated 1652 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 18103 times by 21 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
- tst_touchmouse
|
) { | 1652-18103 |
1506 | QList<QQuickItem *> children = itemPrivate->paintOrderChildItems(); | - |
1507 | for (int ii = children.count() - 1; ii >= 0TRUE | evaluated 1202 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 918 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
; --ii) { | 918-1202 |
1508 | QQuickItem *child = children.at(ii); | - |
1509 | if (!child->isVisible()TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
| FALSE | evaluated 1174 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
|| !child->isEnabled()TRUE | evaluated 10 times by 1 test | FALSE | evaluated 1164 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
|| QQuickItemPrivate::get(child)->culledTRUE | never evaluated | FALSE | evaluated 1164 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
) | 0-1174 |
1510 | continue;executed 38 times by 2 tests: continue; Executed by:- tst_qquickitem
- tst_qquickmousearea
| 38 |
1511 | if (deliverHoverEvent(child, scenePos, lastScenePos, modifiers, timestamp, accepted)TRUE | evaluated 734 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 430 times by 5 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
|
) | 430-734 |
1512 | returnexecuted 734 times by 6 tests: return true; Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
true;executed 734 times by 6 tests: return true; Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 734 |
1513 | }executed 430 times by 5 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
| 430 |
1514 | }executed 918 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 918 |
1515 | | - |
1516 | if (itemPrivate->hasPointerHandlers()TRUE | never evaluated | FALSE | evaluated 19021 times by 21 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
- tst_touchmouse
|
) { | 0-19021 |
1517 | QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::genericMouseDevice(), QEvent::MouseMove); | - |
1518 | pointerEvent->point(0)->reset(Qt::TouchPointMoved, scenePos, quint64(1) << 24 , timestamp, QVector2D()); | - |
1519 | pointerEvent->point(0)->setAccepted(true); | - |
1520 | pointerEvent->localize(item); | - |
1521 | for (QQuickPointerHandler *h : itemPrivate->extra->pointerHandlers) | - |
1522 | if (QQuickHoverHandler *hh = qmlobject_cast<QQuickHoverHandler *>(h)TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
1523 | hh->handlePointerEvent(pointerEvent); never executed: hh->handlePointerEvent(pointerEvent); | 0 |
1524 | } never executed: end of block | 0 |
1525 | | - |
1526 | if (itemPrivate->hoverEnabledTRUE | evaluated 600 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 18421 times by 21 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
- tst_touchmouse
|
) { | 600-18421 |
1527 | QPointF p = item->mapFromScene(scenePos); | - |
1528 | if (item->contains(p)TRUE | evaluated 510 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 90 times by 4 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktextedit
|
) { | 90-510 |
1529 | if (!hoverItems.isEmpty()TRUE | evaluated 364 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 146 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
&& hoverItems.at(0) == itemTRUE | evaluated 356 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 8 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquicktextedit
|
) { | 8-364 |
1530 | | - |
1531 | accepted = sendHoverEvent(QEvent::HoverMove, item, scenePos, lastScenePos, modifiers, timestamp, accepted); | - |
1532 | }executed 356 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
else { | 356 |
1533 | QList<QQuickItem *> itemsToHover; | - |
1534 | QQuickItem* parent = item; | - |
1535 | itemsToHover << item; | - |
1536 | while ((TRUE | evaluated 222 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 154 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
parent = parent->parentItem())TRUE | evaluated 222 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 154 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
) | 154-222 |
1537 | itemsToHover << parent;executed 222 times by 6 tests: itemsToHover << parent; Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 222 |
1538 | | - |
1539 | | - |
1540 | while (!hoverItems.isEmpty()TRUE | evaluated 12 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquicktextedit
| FALSE | evaluated 150 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
&& !itemsToHover.contains(hoverItems.at(0))TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquicktextedit
| FALSE | evaluated 4 times by 1 test |
) { | 4-150 |
1541 | QQuickItem *hoverLeaveItem = hoverItems.takeFirst(); | - |
1542 | sendHoverEvent(QEvent::HoverLeave, hoverLeaveItem, scenePos, lastScenePos, modifiers, timestamp, accepted); | - |
1543 | }executed 8 times by 3 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquicktextedit
| 8 |
1544 | | - |
1545 | if (!hoverItems.isEmpty()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 150 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
&& hoverItems.at(0) == itemTRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) { | 0-150 |
1546 | | - |
1547 | accepted = sendHoverEvent(QEvent::HoverMove, item, scenePos, lastScenePos, modifiers, timestamp, accepted); | - |
1548 | } never executed: end of block else { | 0 |
1549 | | - |
1550 | int startIdx = -1; | - |
1551 | if (!hoverItems.isEmpty()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 150 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
) | 4-150 |
1552 | startIdx = itemsToHover.indexOf(hoverItems.at(0)) - 1;executed 4 times by 1 test: startIdx = itemsToHover.indexOf(hoverItems.at(0)) - 1; | 4 |
1553 | if (startIdx == -1TRUE | evaluated 150 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 4 times by 1 test |
) | 4-150 |
1554 | startIdx = itemsToHover.count() - 1;executed 150 times by 6 tests: startIdx = itemsToHover.count() - 1; Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 150 |
1555 | | - |
1556 | for (int i = startIdx; i >= 0TRUE | evaluated 368 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 154 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
; i--) { | 154-368 |
1557 | QQuickItem *itemToHover = itemsToHover.at(i); | - |
1558 | QQuickItemPrivate *itemToHoverPrivate = QQuickItemPrivate::get(itemToHover); | - |
1559 | | - |
1560 | | - |
1561 | | - |
1562 | | - |
1563 | | - |
1564 | if (itemToHoverPrivate->window == qTRUE | evaluated 368 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | never evaluated |
&& itemToHoverPrivate->hoverEnabledTRUE | evaluated 158 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | evaluated 210 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
) { | 0-368 |
1565 | hoverItems.prepend(itemToHover); | - |
1566 | sendHoverEvent(QEvent::HoverEnter, itemToHover, scenePos, lastScenePos, modifiers, timestamp, accepted); | - |
1567 | }executed 158 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 158 |
1568 | }executed 368 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 368 |
1569 | }executed 154 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 154 |
1570 | } | - |
1571 | returnexecuted 510 times by 6 tests: return true; Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
true;executed 510 times by 6 tests: return true; Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 510 |
1572 | } | - |
1573 | }executed 90 times by 4 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktextedit
| 90 |
1574 | | - |
1575 | returnexecuted 18511 times by 21 tests: return false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
- tst_touchmouse
false;executed 18511 times by 21 tests: return false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktableview
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
- tst_touchmouse
| 18511 |
1576 | } | - |
1577 | | - |
1578 | | - |
1579 | | - |
1580 | bool QQuickWindowPrivate::deliverSinglePointEventUntilAccepted(QQuickPointerEvent *event) | - |
1581 | { | - |
1582 | ((event->pointCount() == 1) ? static_cast<void>(0) : qt_assert("event->pointCount() == 1", __FILE__, 1925)); | - |
1583 | QQuickEventPoint *point = event->point(0); | - |
1584 | QVector<QQuickItem *> targetItems = pointerTargets(contentItem, point, false, false); | - |
1585 | | - |
1586 | for (QQuickItem *item : targetItems) { | - |
1587 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1588 | event->localize(item); | - |
1589 | | - |
1590 | itemPrivate->handlePointerEvent(event); | - |
1591 | if (point->isAccepted()TRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
) | 0-10 |
1592 | return never executed: return true; true;never executed: return true; | 0 |
1593 | QPointF g = item->window()->mapToGlobal(point->scenePosition().toPoint()); | - |
1594 | | - |
1595 | | - |
1596 | if (QQuickPointerScrollEvent *pse = event->asPointerScrollEvent()TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
| FALSE | never evaluated |
) { | 0-10 |
1597 | QWheelEvent wheel(point->position(), g, pse->pixelDelta().toPoint(), pse->angleDelta().toPoint(), | - |
1598 | pse->buttons(), pse->modifiers(), pse->phase(), | - |
1599 | pse->isInverted(), pse->synthSource()); | - |
1600 | wheel.setTimestamp(pse->timestamp()); | - |
1601 | wheel.accept(); | - |
1602 | QCoreApplication::sendEvent(item, &wheel); | - |
1603 | if (wheel.isAccepted()TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
| FALSE | evaluated 6 times by 1 test |
) { | 4-6 |
1604 | for (bool qt_category_enabled = lcWheelTarget().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 1947, __PRETTY_FUNCTION__, lcWheelTarget().categoryName()).debug() << &wheel << "->" << item;never executed: QMessageLogger(__FILE__, 1947, __PRETTY_FUNCTION__, lcWheelTarget().categoryName()).debug() << &wheel << "->" << item; | 0-4 |
1605 | event->setAccepted(true); | - |
1606 | returnexecuted 4 times by 2 tests: return true; Executed by:- tst_qquickitem
- tst_qquickmousearea
true;executed 4 times by 2 tests: return true; Executed by:- tst_qquickitem
- tst_qquickmousearea
| 4 |
1607 | } | - |
1608 | }executed 6 times by 1 test: end of block | 6 |
1609 | | - |
1610 | | - |
1611 | if (QQuickPointerNativeGestureEvent *pnge = event->asPointerNativeGestureEvent()TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
) { | 0-6 |
1612 | QNativeGestureEvent nge(pnge->type(), pnge->device()->qTouchDevice(), point->position(), point->scenePosition(), g, | - |
1613 | pnge->value(), 0L, 0L); | - |
1614 | nge.accept(); | - |
1615 | QCoreApplication::sendEvent(item, &nge); | - |
1616 | if (nge.isAccepted()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
1617 | for (bool qt_category_enabled = lcGestureTarget().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 1960, __PRETTY_FUNCTION__, lcGestureTarget().categoryName()).debug() << &nge << "->" << item;never executed: QMessageLogger(__FILE__, 1960, __PRETTY_FUNCTION__, lcGestureTarget().categoryName()).debug() << &nge << "->" << item; | 0 |
1618 | event->setAccepted(true); | - |
1619 | return never executed: return true; true;never executed: return true; | 0 |
1620 | } | - |
1621 | } never executed: end of block | 0 |
1622 | | - |
1623 | }executed 6 times by 1 test: end of block | 6 |
1624 | | - |
1625 | returnexecuted 6 times by 1 test: return false; false;executed 6 times by 1 test: return false; | 6 |
1626 | } | - |
1627 | | - |
1628 | | - |
1629 | | - |
1630 | void QQuickWindow::wheelEvent(QWheelEvent *event) | - |
1631 | { | - |
1632 | QQuickWindowPrivate * const d = d_func(); | - |
1633 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)TRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMouseWheel>(event->angleDelta().x(), event->angleDelta().y())); }never executed: end of block else (executed 10 times by 2 tests: (void)0 ; Executed by:- tst_qquickitem
- tst_qquickmousearea
void)0executed 10 times by 2 tests: (void)0 ; Executed by:- tst_qquickitem
- tst_qquickmousearea
| 0-10 |
1634 | ;executed 10 times by 2 tests: (void)0 ; Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
1635 | | - |
1636 | for (bool qt_category_enabled = DBG_MOUSE().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 1979, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "QQuickWindow::wheelEvent()" << event->pixelDelta() << event->angleDelta() << event->phase();never executed: QMessageLogger(__FILE__, 1979, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "QQuickWindow::wheelEvent()" << event->pixelDelta() << event->angleDelta() << event->phase(); | 0-10 |
1637 | | - |
1638 | | - |
1639 | if (d->lastWheelEventAcceptedTRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
&& event->angleDelta().isNull()TRUE | never evaluated | FALSE | never evaluated |
&& event->phase() == Qt::ScrollUpdateTRUE | never evaluated | FALSE | never evaluated |
) | 0-10 |
1640 | return; never executed: return; | 0 |
1641 | | - |
1642 | event->ignore(); | - |
1643 | d->deliverPointerEvent(d->pointerEventInstance(event)); | - |
1644 | d->lastWheelEventAccepted = event->isAccepted(); | - |
1645 | }executed 10 times by 2 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
1646 | | - |
1647 | | - |
1648 | bool QQuickWindowPrivate::deliverTouchCancelEvent(QTouchEvent *event) | - |
1649 | { | - |
1650 | for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
; qt_category_enabled = false) QMessageLogger(__FILE__, 1993, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event;never executed: QMessageLogger(__FILE__, 1993, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event; | 0-2 |
1651 | QQuickWindow * const q = q_func(); | - |
1652 | | - |
1653 | if (q->mouseGrabberItem()TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) | 0-2 |
1654 | q->mouseGrabberItem()->ungrabMouse();executed 2 times by 1 test: q->mouseGrabberItem()->ungrabMouse(); | 2 |
1655 | touchMouseId = -1; | - |
1656 | touchMouseDevice = nullptr; | - |
1657 | | - |
1658 | | - |
1659 | | - |
1660 | QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::touchDevice(event->device())); | - |
1661 | for (int i = 0; i < pointerEvent->pointCount()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 2 times by 1 test |
; ++i) | 2-4 |
1662 | pointerEvent->point(i)->cancelExclusiveGrabImpl(event);executed 4 times by 1 test: pointerEvent->point(i)->cancelExclusiveGrabImpl(event); | 4 |
1663 | | - |
1664 | | - |
1665 | pointerEvent->clearGrabbers(); | - |
1666 | returnexecuted 2 times by 1 test: return true; true;executed 2 times by 1 test: return true; | 2 |
1667 | } | - |
1668 | | - |
1669 | void QQuickWindowPrivate::deliverDelayedTouchEvent() | - |
1670 | { | - |
1671 | | - |
1672 | | - |
1673 | | - |
1674 | QScopedPointer<QTouchEvent> e(delayedTouch.take()); | - |
1675 | deliverPointerEvent(pointerEventInstance(e.data())); | - |
1676 | }executed 708 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 708 |
1677 | | - |
1678 | bool QQuickWindowPrivate::compressTouchEvent(QTouchEvent *event) | - |
1679 | { | - |
1680 | QQuickWindow * const q = q_func(); | - |
1681 | Qt::TouchPointStates states = event->touchPointStates(); | - |
1682 | if (((TRUE | evaluated 400 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 840 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
states & (Qt::TouchPointMoved | Qt::TouchPointStationary)) == 0)TRUE | evaluated 400 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 840 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
| 400-840 |
1683 | || ((TRUE | evaluated 112 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 728 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
states & (Qt::TouchPointPressed | Qt::TouchPointReleased)) != 0)TRUE | evaluated 112 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 728 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 112-728 |
1684 | | - |
1685 | returnexecuted 512 times by 10 tests: return false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
false;executed 512 times by 10 tests: return false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 512 |
1686 | } | - |
1687 | | - |
1688 | if (!delayedTouchTRUE | evaluated 708 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
|
) { | 20-708 |
1689 | delayedTouch.reset(new QTouchEvent(event->type(), event->device(), event->modifiers(), event->touchPointStates(), event->touchPoints())); | - |
1690 | delayedTouch->setTimestamp(event->timestamp()); | - |
1691 | if (renderControlTRUE | never evaluated | FALSE | evaluated 708 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 0-708 |
1692 | QQuickRenderControlPrivate::get(renderControl)->maybeUpdate(); never executed: QQuickRenderControlPrivate::get(renderControl)->maybeUpdate(); | 0 |
1693 | else if (windowManagerTRUE | evaluated 708 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | never evaluated |
) | 0-708 |
1694 | windowManager->maybeUpdate(q);executed 708 times by 10 tests: windowManager->maybeUpdate(q); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 708 |
1695 | returnexecuted 708 times by 10 tests: return true; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
true;executed 708 times by 10 tests: return true; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 708 |
1696 | } | - |
1697 | | - |
1698 | | - |
1699 | if (delayedTouch->type() == event->type()TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
&& | 0-20 |
1700 | delayedTouch->device() == event->device()TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
&& | 0-20 |
1701 | delayedTouch->modifiers() == event->modifiers()TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
&& | 0-20 |
1702 | delayedTouch->touchPoints().count() == event->touchPoints().count()TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
) | 0-20 |
1703 | { | - |
1704 | | - |
1705 | bool mismatch = false; | - |
1706 | | - |
1707 | QList<QTouchEvent::TouchPoint> tpts = event->touchPoints(); | - |
1708 | Qt::TouchPointStates states; | - |
1709 | for (int i = 0; i < event->touchPoints().count()TRUE | evaluated 50 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
|
; ++i) { | 20-50 |
1710 | const QTouchEvent::TouchPoint &tp = tpts.at(i); | - |
1711 | const QTouchEvent::TouchPoint &tpDelayed = delayedTouch->touchPoints().at(i); | - |
1712 | if (tp.id() != tpDelayed.id()TRUE | never evaluated | FALSE | evaluated 50 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
|
) { | 0-50 |
1713 | mismatch = true; | - |
1714 | break; never executed: break; | 0 |
1715 | } | - |
1716 | | - |
1717 | if (tpDelayed.state() == Qt::TouchPointMovedTRUE | evaluated 50 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
&& tp.state() == Qt::TouchPointStationaryTRUE | never evaluated | FALSE | evaluated 50 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
|
) | 0-50 |
1718 | tpts[i].setState(Qt::TouchPointMoved); never executed: tpts[i].setState(Qt::TouchPointMoved); | 0 |
1719 | tpts[i].setLastPos(tpDelayed.lastPos()); | - |
1720 | tpts[i].setLastScenePos(tpDelayed.lastScenePos()); | - |
1721 | tpts[i].setLastScreenPos(tpDelayed.lastScreenPos()); | - |
1722 | tpts[i].setLastNormalizedPos(tpDelayed.lastNormalizedPos()); | - |
1723 | | - |
1724 | states |= tpts.at(i).state(); | - |
1725 | }executed 50 times by 2 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| 50 |
1726 | | - |
1727 | | - |
1728 | if (!mismatchTRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
) { | 0-20 |
1729 | delayedTouch->setTouchPoints(tpts); | - |
1730 | delayedTouch->setTimestamp(event->timestamp()); | - |
1731 | returnexecuted 20 times by 2 tests: return true; Executed by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
true;executed 20 times by 2 tests: return true; Executed by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| 20 |
1732 | } | - |
1733 | } never executed: end of block | 0 |
1734 | | - |
1735 | | - |
1736 | deliverDelayedTouchEvent(); | - |
1737 | delayedTouch.reset(new QTouchEvent(event->type(), event->device(), event->modifiers(), event->touchPointStates(), event->touchPoints())); | - |
1738 | delayedTouch->setTimestamp(event->timestamp()); | - |
1739 | return never executed: return true; true;never executed: return true; | 0 |
1740 | } | - |
1741 | | - |
1742 | | - |
1743 | | - |
1744 | | - |
1745 | | - |
1746 | void QQuickWindowPrivate::handleTouchEvent(QTouchEvent *event) | - |
1747 | { | - |
1748 | translateTouchEvent(event); | - |
1749 | if (event->touchPoints().size()TRUE | evaluated 1240 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | never evaluated |
) { | 0-1240 |
1750 | auto point = event->touchPoints().at(0); | - |
1751 | if (point.state() == Qt::TouchPointReleasedTRUE | evaluated 198 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1042 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 198-1042 |
1752 | lastMousePosition = QPointF(); | - |
1753 | }executed 198 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
else { | 198 |
1754 | lastMousePosition = point.pos(); | - |
1755 | }executed 1042 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1042 |
1756 | } | - |
1757 | | - |
1758 | for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 1240 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2101, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event;never executed: QMessageLogger(__FILE__, 2101, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event; | 0-1240 |
1759 | | - |
1760 | static bool qquickwindow_no_touch_compression = qEnvironmentVariableIsSet("QML_NO_TOUCH_COMPRESSION"); | - |
1761 | | - |
1762 | if (qquickwindow_no_touch_compressionTRUE | never evaluated | FALSE | evaluated 1240 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
|| pointerEventRecursionGuardTRUE | never evaluated | FALSE | evaluated 1240 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 0-1240 |
1763 | deliverPointerEvent(pointerEventInstance(event)); | - |
1764 | return; never executed: return; | 0 |
1765 | } | - |
1766 | | - |
1767 | if (!compressTouchEvent(event)TRUE | evaluated 512 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 728 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 512-728 |
1768 | if (delayedTouchTRUE | evaluated 10 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickpointerhandler
| FALSE | evaluated 502 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 10-502 |
1769 | deliverDelayedTouchEvent();executed 10 times by 2 tests: deliverDelayedTouchEvent(); Executed by:- tst_multipointtoucharea_interop
- tst_qquickpointerhandler
| 10 |
1770 | deliverPointerEvent(pointerEventInstance(event)); | - |
1771 | }executed 512 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 512 |
1772 | }executed 1240 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1240 |
1773 | | - |
1774 | | - |
1775 | void QQuickWindow::mousePressEvent(QMouseEvent *event) | - |
1776 | { | - |
1777 | QQuickWindowPrivate * const d = d_func(); | - |
1778 | d->handleMouseEvent(event); | - |
1779 | }executed 1798 times by 14 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1798 |
1780 | | - |
1781 | void QQuickWindow::mouseMoveEvent(QMouseEvent *event) | - |
1782 | { | - |
1783 | QQuickWindowPrivate * const d = d_func(); | - |
1784 | d->handleMouseEvent(event); | - |
1785 | }executed 6428 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 6428 |
1786 | | - |
1787 | void QQuickWindow::mouseDoubleClickEvent(QMouseEvent *event) | - |
1788 | { | - |
1789 | QQuickWindowPrivate * const d = d_func(); | - |
1790 | d->handleMouseEvent(event); | - |
1791 | }executed 132 times by 3 tests: end of block Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
1792 | | - |
1793 | void QQuickWindow::mouseReleaseEvent(QMouseEvent *event) | - |
1794 | { | - |
1795 | QQuickWindowPrivate * const d = d_func(); | - |
1796 | d->handleMouseEvent(event); | - |
1797 | }executed 1786 times by 14 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1786 |
1798 | | - |
1799 | void QQuickWindowPrivate::handleMouseEvent(QMouseEvent *event) | - |
1800 | { | - |
1801 | if (event->source() == Qt::MouseEventSynthesizedBySystemTRUE | never evaluated | FALSE | evaluated 10144 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) { | 0-10144 |
1802 | event->accept(); | - |
1803 | return; never executed: return; | 0 |
1804 | } | - |
1805 | for (bool qt_category_enabled = DBG_MOUSE().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 10144 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2148, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "QQuickWindow::handleMouseEvent()" << event->type() << event->localPos() << event->button() << event->buttons();never executed: QMessageLogger(__FILE__, 2148, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "QQuickWindow::handleMouseEvent()" << event->type() << event->localPos() << event->button() << event->buttons(); | 0-10144 |
1806 | | - |
1807 | switch (event->type()) { | - |
1808 | caseexecuted 1798 times by 14 tests: case QEvent::MouseButtonPress: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
QEvent::MouseButtonPress:executed 1798 times by 14 tests: case QEvent::MouseButtonPress: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1798 |
1809 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)TRUE | never evaluated | FALSE | evaluated 1798 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMousePress>(event->button(), event->buttons())); }never executed: end of block else (executed 1798 times by 14 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
void)0executed 1798 times by 14 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 0-1798 |
1810 | ;executed 1798 times by 14 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1798 |
1811 | deliverPointerEvent(pointerEventInstance(event)); | - |
1812 | break;executed 1798 times by 14 tests: break; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1798 |
1813 | caseexecuted 1786 times by 14 tests: case QEvent::MouseButtonRelease: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
QEvent::MouseButtonRelease:executed 1786 times by 14 tests: case QEvent::MouseButtonRelease: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1786 |
1814 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)TRUE | never evaluated | FALSE | evaluated 1786 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMouseRelease>(event->button(), event->buttons())); }never executed: end of block else (executed 1786 times by 14 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
void)0executed 1786 times by 14 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 0-1786 |
1815 | ;executed 1786 times by 14 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1786 |
1816 | deliverPointerEvent(pointerEventInstance(event)); | - |
1817 | break;executed 1786 times by 14 tests: break; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1786 |
1818 | caseexecuted 132 times by 3 tests: case QEvent::MouseButtonDblClick: Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
QEvent::MouseButtonDblClick:executed 132 times by 3 tests: case QEvent::MouseButtonDblClick: Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
1819 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)TRUE | never evaluated | FALSE | evaluated 132 times by 3 testsEvaluated by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
|
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMouseDoubleClick>(event->button(), event->buttons())); }never executed: end of block else (executed 132 times by 3 tests: (void)0 ; Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
void)0executed 132 times by 3 tests: (void)0 ; Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 0-132 |
1820 | ;executed 132 times by 3 tests: (void)0 ; Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
1821 | if (allowDoubleClickTRUE | evaluated 132 times by 3 testsEvaluated by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
) | 0-132 |
1822 | deliverPointerEvent(pointerEventInstance(event));executed 132 times by 3 tests: deliverPointerEvent(pointerEventInstance(event)); Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
1823 | break;executed 132 times by 3 tests: break; Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
1824 | caseexecuted 6428 times by 16 tests: case QEvent::MouseMove: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
QEvent::MouseMove:executed 6428 times by 16 tests: case QEvent::MouseMove: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 6428 |
1825 | if (QQuickProfiler::featuresEnabled & (1 << QQuickProfiler::ProfileInputEvents)TRUE | never evaluated | FALSE | evaluated 6428 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) { (QQuickProfiler::inputEvent<QQuickProfiler::Mouse, QQuickProfiler::InputMouseMove>(event->localPos().x(), event->localPos().y())); }never executed: end of block else (executed 6428 times by 16 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
void)0executed 6428 times by 16 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 0-6428 |
1826 | ;executed 6428 times by 16 tests: (void)0 ; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 6428 |
1827 | | - |
1828 | for (bool qt_category_enabled = DBG_HOVER_TRACE().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 6428 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2171, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << this;never executed: QMessageLogger(__FILE__, 2171, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << this; | 0-6428 |
1829 | | - |
1830 | | - |
1831 | updateCursor(event->windowPos()); | - |
1832 | | - |
1833 | | - |
1834 | if (!pointerEventInstance(QQuickPointerDevice::genericMouseDevice())->point(0)->exclusiveGrabber()TRUE | evaluated 1634 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 4794 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 1634-4794 |
1835 | QPointF last = lastMousePosition.isNull()TRUE | evaluated 422 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 1212 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
? event->windowPos() : lastMousePosition; | 422-1212 |
1836 | lastMousePosition = event->windowPos(); | - |
1837 | | - |
1838 | bool accepted = event->isAccepted(); | - |
1839 | bool delivered = deliverHoverEvent(contentItem, event->windowPos(), last, event->modifiers(), event->timestamp(), accepted); | - |
1840 | if (!deliveredTRUE | evaluated 1246 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextinput
| FALSE | evaluated 388 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
) { | 388-1246 |
1841 | | - |
1842 | accepted = clearHover(event->timestamp()); | - |
1843 | }executed 1246 times by 13 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextinput
| 1246 |
1844 | event->setAccepted(accepted); | - |
1845 | }executed 1634 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 1634 |
1846 | deliverPointerEvent(pointerEventInstance(event)); | - |
1847 | break;executed 6428 times by 16 tests: break; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 6428 |
1848 | default never executed: default: :never executed: default: | 0 |
1849 | ((false) ? static_cast<void>(0) : qt_assert("false", __FILE__, 2192)); | - |
1850 | break; never executed: break; | 0 |
1851 | } | - |
1852 | } | - |
1853 | | - |
1854 | void QQuickWindowPrivate::flushFrameSynchronousEvents() | - |
1855 | { | - |
1856 | QQuickWindow * const q = q_func(); | - |
1857 | | - |
1858 | if (delayedTouchTRUE | evaluated 302 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 49743 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 302-49743 |
1859 | deliverDelayedTouchEvent(); | - |
1860 | | - |
1861 | | - |
1862 | | - |
1863 | QQmlAnimationTimer *ut = QQmlAnimationTimer::instance(); | - |
1864 | if (utTRUE | evaluated 302 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | never evaluated |
&& ut->hasStartAnimationPending()TRUE | evaluated 32 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| FALSE | evaluated 270 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
|
) | 0-302 |
1865 | ut->startAnimations();executed 32 times by 3 tests: ut->startAnimations(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 32 |
1866 | }executed 302 times by 8 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 302 |
1867 | | - |
1868 | | - |
1869 | | - |
1870 | | - |
1871 | | - |
1872 | | - |
1873 | if (!q->mouseGrabberItem()TRUE | evaluated 48275 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 1770 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquicktextedit
- tst_qquicktextinput
|
&& !lastMousePosition.isNull()TRUE | evaluated 16650 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 31625 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& dirtyItemListTRUE | evaluated 16357 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 293 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktaphandler
- tst_qquicktextinput
|
) { | 293-48275 |
1874 | bool accepted = false; | - |
1875 | bool delivered = deliverHoverEvent(contentItem, lastMousePosition, lastMousePosition, QGuiApplication::keyboardModifiers(), 0, accepted); | - |
1876 | if (!deliveredTRUE | evaluated 16239 times by 11 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextinput
| FALSE | evaluated 118 times by 1 test |
) | 118-16239 |
1877 | clearHover();executed 16239 times by 11 tests: clearHover(); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextinput
| 16239 |
1878 | }executed 16357 times by 12 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 16357 |
1879 | }executed 50045 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50045 |
1880 | | - |
1881 | QQuickPointerEvent *QQuickWindowPrivate::queryPointerEventInstance(QQuickPointerDevice *device, QEvent::Type eventType) const | - |
1882 | { | - |
1883 | | - |
1884 | for (QQuickPointerEvent *e : pointerEventInstances) { | - |
1885 | | - |
1886 | | - |
1887 | | - |
1888 | if (eventType == QEvent::NativeGestureTRUE | never evaluated | FALSE | evaluated 70642 times by 18 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
&& !qobject_cast<QQuickPointerNativeGestureEvent*>(e)TRUE | never evaluated | FALSE | never evaluated |
) | 0-70642 |
1889 | continue; never executed: continue; | 0 |
1890 | | - |
1891 | if (eventType == QEvent::WheelTRUE | never evaluated | FALSE | evaluated 70642 times by 18 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
&& !qobject_cast<QQuickPointerScrollEvent*>(e)TRUE | never evaluated | FALSE | never evaluated |
) | 0-70642 |
1892 | continue; never executed: continue; | 0 |
1893 | | - |
1894 | | - |
1895 | if (e->device() == deviceTRUE | evaluated 64640 times by 18 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 6002 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 6002-64640 |
1896 | returnexecuted 64640 times by 18 tests: return e; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
e;executed 64640 times by 18 tests: return e; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 64640 |
1897 | }executed 6002 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 6002 |
1898 | returnexecuted 435999 times by 90 tests: return nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
nullptr;executed 435999 times by 90 tests: return nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 435999 |
1899 | } | - |
1900 | | - |
1901 | QQuickPointerEvent *QQuickWindowPrivate::pointerEventInstance(QQuickPointerDevice *device, QEvent::Type eventType) const | - |
1902 | { | - |
1903 | QQuickPointerEvent *ev = queryPointerEventInstance(device, eventType); | - |
1904 | if (evTRUE | evaluated 20598 times by 18 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 684 times by 18 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) | 684-20598 |
1905 | returnexecuted 20598 times by 18 tests: return ev; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
ev;executed 20598 times by 18 tests: return ev; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 20598 |
1906 | QQuickWindow *q = const_cast<QQuickWindow*>(q_func()); | - |
1907 | switch (device->type()) { | - |
1908 | caseexecuted 536 times by 17 tests: case QQuickPointerDevice::Mouse: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
QQuickPointerDevice::Mouse:executed 536 times by 17 tests: case QQuickPointerDevice::Mouse: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 536 |
1909 | | - |
1910 | | - |
1911 | | - |
1912 | if (eventType == QEvent::WheelTRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
| FALSE | evaluated 526 times by 17 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) | 10-526 |
1913 | ev = new QQuickPointerScrollEvent(q, device);executed 10 times by 2 tests: ev = new QQuickPointerScrollEvent(q, device); Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
1914 | else | - |
1915 | ev = new QQuickPointerMouseEvent(q, device);executed 526 times by 17 tests: ev = new QQuickPointerMouseEvent(q, device); Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 526 |
1916 | break;executed 536 times by 17 tests: break; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 536 |
1917 | case never executed: case QQuickPointerDevice::TouchPad: QQuickPointerDevice::TouchPad:never executed: case QQuickPointerDevice::TouchPad: | 0 |
1918 | caseexecuted 148 times by 10 tests: case QQuickPointerDevice::TouchScreen: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
QQuickPointerDevice::TouchScreen:executed 148 times by 10 tests: case QQuickPointerDevice::TouchScreen: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 148 |
1919 | | - |
1920 | if (eventType == QEvent::NativeGestureTRUE | never evaluated | FALSE | evaluated 148 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 0-148 |
1921 | ev = new QQuickPointerNativeGestureEvent(q, device); never executed: ev = new QQuickPointerNativeGestureEvent(q, device); | 0 |
1922 | else | - |
1923 | | - |
1924 | ev = new QQuickPointerTouchEvent(q, device);executed 148 times by 10 tests: ev = new QQuickPointerTouchEvent(q, device); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 148 |
1925 | break;executed 148 times by 10 tests: break; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 148 |
1926 | default never executed: default: :never executed: default: | 0 |
1927 | | - |
1928 | break; never executed: break; | 0 |
1929 | } | - |
1930 | pointerEventInstances << ev; | - |
1931 | returnexecuted 684 times by 18 tests: return ev; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
ev;executed 684 times by 18 tests: return ev; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 684 |
1932 | } | - |
1933 | QQuickPointerEvent *QQuickWindowPrivate::pointerEventInstance(QEvent *event) const | - |
1934 | { | - |
1935 | QQuickPointerDevice *dev = nullptr; | - |
1936 | switch (event->type()) { | - |
1937 | caseexecuted 1798 times by 14 tests: case QEvent::MouseButtonPress: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
QEvent::MouseButtonPress:executed 1798 times by 14 tests: case QEvent::MouseButtonPress: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1798 |
1938 | caseexecuted 1786 times by 14 tests: case QEvent::MouseButtonRelease: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
QEvent::MouseButtonRelease:executed 1786 times by 14 tests: case QEvent::MouseButtonRelease: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1786 |
1939 | caseexecuted 132 times by 3 tests: case QEvent::MouseButtonDblClick: Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
QEvent::MouseButtonDblClick:executed 132 times by 3 tests: case QEvent::MouseButtonDblClick: Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
1940 | caseexecuted 6428 times by 16 tests: case QEvent::MouseMove: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
QEvent::MouseMove:executed 6428 times by 16 tests: case QEvent::MouseMove: Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 6428 |
1941 | caseexecuted 10 times by 2 tests: case QEvent::Wheel: Executed by:- tst_qquickitem
- tst_qquickmousearea
QEvent::Wheel:executed 10 times by 2 tests: case QEvent::Wheel: Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
1942 | dev = QQuickPointerDevice::genericMouseDevice(); | - |
1943 | break;executed 10154 times by 16 tests: break; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 10154 |
1944 | caseexecuted 216 times by 10 tests: case QEvent::TouchBegin: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
QEvent::TouchBegin:executed 216 times by 10 tests: case QEvent::TouchBegin: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 216 |
1945 | caseexecuted 820 times by 10 tests: case QEvent::TouchUpdate: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
QEvent::TouchUpdate:executed 820 times by 10 tests: case QEvent::TouchUpdate: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 820 |
1946 | caseexecuted 184 times by 10 tests: case QEvent::TouchEnd: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
QEvent::TouchEnd:executed 184 times by 10 tests: case QEvent::TouchEnd: Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 184 |
1947 | case never executed: case QEvent::TouchCancel: QEvent::TouchCancel:never executed: case QEvent::TouchCancel: | 0 |
1948 | dev = QQuickPointerDevice::touchDevice(static_cast<QTouchEvent *>(event)->device()); | - |
1949 | break;executed 1220 times by 10 tests: break; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1220 |
1950 | | - |
1951 | | - |
1952 | case never executed: case QEvent::NativeGesture: QEvent::NativeGesture:never executed: case QEvent::NativeGesture: | 0 |
1953 | dev = QQuickPointerDevice::touchDevice(static_cast<QNativeGestureEvent *>(event)->device()); | - |
1954 | break; never executed: break; | 0 |
1955 | | - |
1956 | default never executed: default: :never executed: default: | 0 |
1957 | break; never executed: break; | 0 |
1958 | } | - |
1959 | | - |
1960 | ((dev) ? static_cast<void>(0) : qt_assert("dev", __FILE__, 2311)); | - |
1961 | returnexecuted 11374 times by 18 tests: return pointerEventInstance(dev, event->type())->reset(event); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
pointerEventInstance(dev, event->type())->reset(event);executed 11374 times by 18 tests: return pointerEventInstance(dev, event->type())->reset(event); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 11374 |
1962 | } | - |
1963 | | - |
1964 | void QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent *event) | - |
1965 | { | - |
1966 | QQuickWindow * const q = q_func(); | - |
1967 | | - |
1968 | | - |
1969 | | - |
1970 | ++pointerEventRecursionGuard; | - |
1971 | | - |
1972 | skipDelivery.clear(); | - |
1973 | if (event->asPointerMouseEvent()TRUE | evaluated 10144 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 1230 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 1230-10144 |
1974 | deliverMouseEvent(event->asPointerMouseEvent()); | - |
1975 | | - |
1976 | if (event->isReleaseEvent()TRUE | evaluated 1786 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 8358 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
&& event->buttons() == Qt::NoButtonTRUE | evaluated 1706 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 80 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
) { | 80-8358 |
1977 | QQuickItem *oldGrabber = q->mouseGrabberItem(); | - |
1978 | event->clearGrabbers(); | - |
1979 | sendUngrabEvent(oldGrabber, false); | - |
1980 | }executed 1706 times by 14 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1706 |
1981 | }executed 10144 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
else if (event->asPointerTouchEvent()TRUE | evaluated 1220 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
) { | 10-10144 |
1982 | deliverTouchEvent(event->asPointerTouchEvent()); | - |
1983 | }executed 1220 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
else { | 1220 |
1984 | deliverSinglePointEventUntilAccepted(event); | - |
1985 | }executed 10 times by 2 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
1986 | | - |
1987 | event->reset(nullptr); | - |
1988 | | - |
1989 | --pointerEventRecursionGuard; | - |
1990 | }executed 11374 times by 18 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 11374 |
1991 | | - |
1992 | | - |
1993 | | - |
1994 | | - |
1995 | | - |
1996 | | - |
1997 | QVector<QQuickItem *> QQuickWindowPrivate::pointerTargets(QQuickItem *item, QQuickEventPoint *point, bool checkMouseButtons, bool checkAcceptsTouch) const | - |
1998 | { | - |
1999 | QVector<QQuickItem *> targets; | - |
2000 | auto itemPrivate = QQuickItemPrivate::get(item); | - |
2001 | QPointF itemPos = item->mapFromScene(point->scenePosition()); | - |
2002 | | - |
2003 | if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShapeTRUE | evaluated 8 times by 1 test | FALSE | evaluated 47210 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 8-47210 |
2004 | if (!item->contains(itemPos)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 4 times by 1 test |
) | 4 |
2005 | returnexecuted 4 times by 1 test: return targets; targets;executed 4 times by 1 test: return targets; | 4 |
2006 | }executed 4 times by 1 test: end of block | 4 |
2007 | | - |
2008 | | - |
2009 | QList<QQuickItem *> children = itemPrivate->paintOrderChildItems(); | - |
2010 | for (int ii = children.count() - 1; ii >= 0TRUE | evaluated 50213 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 47214 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
; --ii) { | 47214-50213 |
2011 | QQuickItem *child = children.at(ii); | - |
2012 | auto childPrivate = QQuickItemPrivate::get(child); | - |
2013 | if (!child->isVisible()TRUE | evaluated 1950 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickitem
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
| FALSE | evaluated 48263 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
|| !child->isEnabled()TRUE | evaluated 994 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickitem
| FALSE | evaluated 47269 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
|| childPrivate->culledTRUE | evaluated 3281 times by 4 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| FALSE | evaluated 43988 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 994-48263 |
2014 | continue;executed 6225 times by 9 tests: continue; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
| 6225 |
2015 | targets << pointerTargets(child, point, checkMouseButtons, checkAcceptsTouch); | - |
2016 | }executed 43988 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 43988 |
2017 | | - |
2018 | bool relevant = item->contains(itemPos); | - |
2019 | if (itemPrivate->hasPointerHandlers()TRUE | evaluated 5826 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 41388 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 5826-41388 |
2020 | if (!relevantTRUE | evaluated 4968 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 858 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 858-4968 |
2021 | if (itemPrivate->anyPointerHandlerWants(point)TRUE | evaluated 952 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
| FALSE | evaluated 4016 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 952-4016 |
2022 | relevant = true;executed 952 times by 2 tests: relevant = true; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
| 952 |
2023 | }executed 5826 times by 5 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
else { | 5826 |
2024 | if (relevantTRUE | evaluated 13146 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 28242 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
&& checkMouseButtonsTRUE | evaluated 7352 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 5794 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
&& item->acceptedMouseButtons() == Qt::NoButtonTRUE | evaluated 5115 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2237 times by 13 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 2237-28242 |
2025 | relevant = false;executed 5115 times by 14 tests: relevant = false; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 5115 |
2026 | if (relevantTRUE | evaluated 8031 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 33357 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
&& checkAcceptsTouchTRUE | evaluated 3224 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 4807 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
&& !(item->acceptTouchEvents()TRUE | evaluated 1890 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1334 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
|| item->acceptedMouseButtons())) | 1334-33357 |
2027 | relevant = false;executed 1172 times by 9 tests: relevant = false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1172 |
2028 | }executed 41388 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 41388 |
2029 | if (relevantTRUE | evaluated 8669 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 38545 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 8669-38545 |
2030 | targets << item;executed 8669 times by 16 tests: targets << item; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 8669 |
2031 | returnexecuted 47214 times by 16 tests: return targets; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
targets;executed 47214 times by 16 tests: return targets; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 47214 |
2032 | } | - |
2033 | | - |
2034 | | - |
2035 | | - |
2036 | QVector<QQuickItem *> QQuickWindowPrivate::mergePointerTargets(const QVector<QQuickItem *> &list1, const QVector<QQuickItem *> &list2) const | - |
2037 | { | - |
2038 | QVector<QQuickItem *> targets = list1; | - |
2039 | | - |
2040 | | - |
2041 | | - |
2042 | int insertPosition = targets.length(); | - |
2043 | for (int i = list2.length() - 1; i >= 0TRUE | evaluated 1830 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 460 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
|
; --i) { | 460-1830 |
2044 | int newInsertPosition = targets.lastIndexOf(list2.at(i), insertPosition); | - |
2045 | if (newInsertPosition >= 0TRUE | evaluated 1432 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 398 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
|
) { | 398-1432 |
2046 | ((newInsertPosition <= insertPosition) ? static_cast<void>(0) : qt_assert("newInsertPosition <= insertPosition", __FILE__, 2397)); | - |
2047 | insertPosition = newInsertPosition; | - |
2048 | }executed 1432 times by 6 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 1432 |
2049 | | - |
2050 | if (insertPosition == targets.size()TRUE | never evaluated | FALSE | evaluated 1830 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
|
|| list2.at(i) != targets.at(insertPosition)TRUE | evaluated 398 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 1432 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
|
) | 0-1830 |
2051 | targets.insert(insertPosition, list2.at(i));executed 398 times by 5 tests: targets.insert(insertPosition, list2.at(i)); Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 398 |
2052 | }executed 1830 times by 6 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 1830 |
2053 | returnexecuted 460 times by 6 tests: return targets; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
targets;executed 460 times by 6 tests: return targets; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 460 |
2054 | } | - |
2055 | | - |
2056 | void QQuickWindowPrivate::deliverTouchEvent(QQuickPointerTouchEvent *event) | - |
2057 | { | - |
2058 | for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 1220 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2409, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - delivering" << event->asTouchEvent();never executed: QMessageLogger(__FILE__, 2409, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - delivering" << event->asTouchEvent(); | 0-1220 |
2059 | | - |
2060 | if (event->isPressEvent()TRUE | evaluated 306 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 914 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 306-914 |
2061 | deliverPressOrReleaseEvent(event);executed 306 times by 10 tests: deliverPressOrReleaseEvent(event); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 306 |
2062 | if (!event->allUpdatedPointsAccepted()TRUE | evaluated 956 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 264 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 264-956 |
2063 | deliverUpdatedTouchPoints(event);executed 956 times by 10 tests: deliverUpdatedTouchPoints(event); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 956 |
2064 | if (event->isReleaseEvent()TRUE | evaluated 210 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1010 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 210-1010 |
2065 | deliverPressOrReleaseEvent(event, true);executed 210 times by 10 tests: deliverPressOrReleaseEvent(event, true); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 210 |
2066 | | - |
2067 | | - |
2068 | bool allReleased = true; | - |
2069 | int pointCount = event->pointCount(); | - |
2070 | for (int i = 0; i < pointCountTRUE | evaluated 1938 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1220 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; ++i) { | 1220-1938 |
2071 | QQuickEventPoint *point = event->point(i); | - |
2072 | if (point->state() == QQuickEventPoint::ReleasedTRUE | evaluated 290 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1648 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 290-1648 |
2073 | int id = point->pointId(); | - |
2074 | for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 290 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2425, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << id << "released";never executed: QMessageLogger(__FILE__, 2425, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << id << "released"; | 0-290 |
2075 | point->setGrabberItem(nullptr); | - |
2076 | if (id == touchMouseIdTRUE | never evaluated | FALSE | evaluated 290 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 0-290 |
2077 | touchMouseId = -1; | - |
2078 | touchMouseDevice = nullptr; | - |
2079 | } never executed: end of block | 0 |
2080 | }executed 290 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
else { | 290 |
2081 | allReleased = false; | - |
2082 | }executed 1648 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1648 |
2083 | } | - |
2084 | | - |
2085 | if (allReleasedTRUE | evaluated 184 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1036 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 184-1036 |
2086 | if (__builtin_expect(!!(!event->exclusiveGrabbers().isEmpty()), false)TRUE | never evaluated | FALSE | evaluated 184 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 0-184 |
2087 | QMessageLogger(__FILE__, 2438, __PRETTY_FUNCTION__).warning() << "No release received for some grabbers" << event->exclusiveGrabbers(); never executed: QMessageLogger(__FILE__, 2438, __PRETTY_FUNCTION__).warning() << "No release received for some grabbers" << event->exclusiveGrabbers(); | 0 |
2088 | event->clearGrabbers(); | - |
2089 | }executed 184 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 184 |
2090 | }executed 1220 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1220 |
2091 | | - |
2092 | | - |
2093 | void QQuickWindowPrivate::deliverUpdatedTouchPoints(QQuickPointerTouchEvent *event) | - |
2094 | { | - |
2095 | bool done = false; | - |
2096 | const auto grabbers = event->exclusiveGrabbers(); | - |
2097 | for (auto grabber : grabbers) { | - |
2098 | | - |
2099 | QQuickItem *receiver = qmlobject_cast<QQuickItem *>(grabber); | - |
2100 | if (!receiverTRUE | evaluated 547 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 363 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
|
) { | 363-547 |
2101 | | - |
2102 | QQuickPointerHandler *handler = static_cast<QQuickPointerHandler *>(grabber); | - |
2103 | receiver = static_cast<QQuickPointerHandler *>(grabber)->parentItem(); | - |
2104 | if (sendFilteredPointerEvent(event, receiver)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 543 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 4-543 |
2105 | done = true;executed 4 times by 1 test: done = true; | 4 |
2106 | event->localize(receiver); | - |
2107 | handler->handlePointerEvent(event); | - |
2108 | }executed 547 times by 5 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 547 |
2109 | if (doneTRUE | evaluated 4 times by 1 test | FALSE | evaluated 906 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 4-906 |
2110 | break;executed 4 times by 1 test: break; | 4 |
2111 | | - |
2112 | | - |
2113 | deliverMatchingPointsToItem(receiver, event); | - |
2114 | }executed 906 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 906 |
2115 | | - |
2116 | | - |
2117 | int pointCount = event->pointCount(); | - |
2118 | for (int i = 0; i < pointCountTRUE | evaluated 1554 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 956 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; ++i) { | 956-1554 |
2119 | QQuickEventPoint *point = event->point(i); | - |
2120 | deliverToPassiveGrabbers(point->passiveGrabbers(), event); | - |
2121 | }executed 1554 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1554 |
2122 | | - |
2123 | if (doneTRUE | evaluated 4 times by 1 test | FALSE | evaluated 952 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 4-952 |
2124 | return;executed 4 times by 1 test: return; | 4 |
2125 | | - |
2126 | | - |
2127 | if (!event->allPointsGrabbed()TRUE | evaluated 324 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 628 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 324-628 |
2128 | QVector<QQuickItem *> targetItems; | - |
2129 | for (int i = 0; i < pointCountTRUE | evaluated 508 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 324 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; ++i) { | 324-508 |
2130 | QQuickEventPoint *point = event->point(i); | - |
2131 | if (point->state() == QQuickEventPoint::PressedTRUE | evaluated 38 times by 3 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 470 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 38-470 |
2132 | continue;executed 38 times by 3 tests: continue; Executed by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 38 |
2133 | QVector<QQuickItem *> targetItemsForPoint = pointerTargets(contentItem, point, false, false); | - |
2134 | if (targetItems.count()TRUE | evaluated 144 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 326 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 144-326 |
2135 | targetItems = mergePointerTargets(targetItems, targetItemsForPoint); | - |
2136 | }executed 144 times by 5 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
else { | 144 |
2137 | targetItems = targetItemsForPoint; | - |
2138 | }executed 326 times by 9 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 326 |
2139 | } | - |
2140 | for (QQuickItem *item : targetItems) { | - |
2141 | if (grabbers.contains(item)TRUE | evaluated 28 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| FALSE | evaluated 2544 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 28-2544 |
2142 | continue;executed 28 times by 3 tests: continue; Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 28 |
2143 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
2144 | event->localize(item); | - |
2145 | itemPrivate->handlePointerEvent(event, true); | - |
2146 | if (event->allPointsGrabbed()TRUE | evaluated 2 times by 1 testEvaluated by:- tst_multipointtoucharea_interop
| FALSE | evaluated 2542 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 2-2542 |
2147 | break;executed 2 times by 1 test: break; Executed by:- tst_multipointtoucharea_interop
| 2 |
2148 | }executed 2542 times by 9 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 2542 |
2149 | }executed 324 times by 9 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 324 |
2150 | }executed 952 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 952 |
2151 | | - |
2152 | | - |
2153 | bool QQuickWindowPrivate::deliverPressOrReleaseEvent(QQuickPointerEvent *event, bool handlersOnly) | - |
2154 | { | - |
2155 | int pointCount = event->pointCount(); | - |
2156 | QVector<QQuickItem *> targetItems; | - |
2157 | bool isTouchEvent = (event->asPointerTouchEvent() != nullptr); | - |
2158 | for (int i = 0; i < pointCountTRUE | evaluated 2598 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 2280 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
; ++i) { | 2280-2598 |
2159 | auto point = event->point(i); | - |
2160 | point->setAccepted(false); | - |
2161 | if (point->grabberPointerHandler()TRUE | evaluated 38 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 2560 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
&& point->state() == QQuickEventPoint::ReleasedTRUE | evaluated 6 times by 1 test | FALSE | evaluated 32 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
|
) | 6-2560 |
2162 | point->setGrabberPointerHandler(nullptr, true);executed 6 times by 1 test: point->setGrabberPointerHandler(nullptr, true); | 6 |
2163 | QVector<QQuickItem *> targetItemsForPoint = pointerTargets(contentItem, point, !isTouchEvent, isTouchEvent); | - |
2164 | if (targetItems.count()TRUE | evaluated 316 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| FALSE | evaluated 2282 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 316-2282 |
2165 | targetItems = mergePointerTargets(targetItems, targetItemsForPoint); | - |
2166 | }executed 316 times by 6 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
else { | 316 |
2167 | targetItems = targetItemsForPoint; | - |
2168 | }executed 2282 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 2282 |
2169 | } | - |
2170 | | - |
2171 | for (QQuickItem *item : targetItems) { | - |
2172 | if (!handlersOnlyTRUE | evaluated 2476 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1536 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
&& sendFilteredPointerEvent(event, item)TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | evaluated 2457 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 19-2476 |
2173 | if (event->isAccepted()TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | never evaluated |
) { | 0-19 |
2174 | for (int i = 0; i < event->pointCount()TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
|
; ++i) | 19 |
2175 | event->point(i)->setAccepted();executed 19 times by 2 tests: event->point(i)->setAccepted(); Executed by:- tst_qquickflickable
- tst_qquickgridview
| 19 |
2176 | returnexecuted 19 times by 2 tests: return true; Executed by:- tst_qquickflickable
- tst_qquickgridview
true;executed 19 times by 2 tests: return true; Executed by:- tst_qquickflickable
- tst_qquickgridview
| 19 |
2177 | } | - |
2178 | skipDelivery.append(item); | - |
2179 | } never executed: end of block | 0 |
2180 | | - |
2181 | | - |
2182 | | - |
2183 | if (skipDelivery.contains(item)TRUE | never evaluated | FALSE | evaluated 3993 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 0-3993 |
2184 | continue; never executed: continue; | 0 |
2185 | deliverMatchingPointsToItem(item, event, handlersOnly); | - |
2186 | if (event->allPointsAccepted()TRUE | evaluated 2621 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1372 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 1372-2621 |
2187 | handlersOnly = true;executed 2621 times by 16 tests: handlersOnly = true; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 2621 |
2188 | }executed 3993 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 3993 |
2189 | | - |
2190 | returnexecuted 2261 times by 16 tests: return event->allPointsAccepted(); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
event->allPointsAccepted();executed 2261 times by 16 tests: return event->allPointsAccepted(); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 2261 |
2191 | } | - |
2192 | | - |
2193 | void QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem *item, QQuickPointerEvent *pointerEvent, bool handlersOnly) | - |
2194 | { | - |
2195 | QQuickWindow * const q = q_func(); | - |
2196 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
2197 | pointerEvent->localize(item); | - |
2198 | | - |
2199 | | - |
2200 | | - |
2201 | if (!pointerEvent->isDoubleClickEvent()TRUE | evaluated 4893 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 6 times by 1 test |
) { | 6-4893 |
2202 | bool wasAccepted = pointerEvent->allPointsAccepted(); | - |
2203 | itemPrivate->handlePointerEvent(pointerEvent); | - |
2204 | allowDoubleClick = wasAcceptedTRUE | evaluated 1029 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 3864 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
|| !(pointerEvent->asPointerMouseEvent()TRUE | evaluated 1989 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1875 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
&& pointerEvent->isPressEvent()TRUE | evaluated 1989 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
&& pointerEvent->allPointsAccepted()TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 1931 times by 13 testsEvaluated by:- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
); | 0-3864 |
2205 | }executed 4893 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 4893 |
2206 | if (handlersOnlyTRUE | evaluated 1536 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 3363 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 1536-3363 |
2207 | return;executed 1536 times by 12 tests: return; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 1536 |
2208 | | - |
2209 | | - |
2210 | | - |
2211 | if (pointerEvent->isReleaseEvent()TRUE | evaluated 204 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 3159 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
&& !pointerEvent->isUpdateEvent()TRUE | evaluated 172 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 32 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
|
| 32-3159 |
2212 | && !pointerEvent->exclusiveGrabbers().contains(item)TRUE | evaluated 82 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 90 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
|
) | 82-90 |
2213 | return;executed 82 times by 5 tests: return; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 82 |
2214 | | - |
2215 | | - |
2216 | auto event = pointerEvent->asPointerMouseEvent(); | - |
2217 | if (eventTRUE | evaluated 1995 times by 14 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 1286 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
&& item->acceptedMouseButtons() & event->button()) { | 1286-1995 |
2218 | auto point = event->point(0); | - |
2219 | | - |
2220 | | - |
2221 | auto oldMouseGrabber = q->mouseGrabberItem(); | - |
2222 | QPointF localPos = item->mapFromScene(point->scenePosition()); | - |
2223 | QMouseEvent *me = event->asMouseEvent(localPos); | - |
2224 | me->accept(); | - |
2225 | QCoreApplication::sendEvent(item, me); | - |
2226 | if (me->isAccepted()TRUE | evaluated 1557 times by 11 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 402 times by 9 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 402-1557 |
2227 | auto mouseGrabber = q->mouseGrabberItem(); | - |
2228 | if (mouseGrabberTRUE | evaluated 2 times by 1 test | FALSE | evaluated 1555 times by 11 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
|
&& mouseGrabber != itemTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
&& mouseGrabber != oldMouseGrabberTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-1555 |
2229 | item->mouseUngrabEvent(); | - |
2230 | }executed 2 times by 1 test: end of block else { | 2 |
2231 | item->grabMouse(); | - |
2232 | }executed 1555 times by 11 tests: end of block Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1555 |
2233 | point->setAccepted(true); | - |
2234 | }executed 1557 times by 11 tests: end of block Executed by:- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1557 |
2235 | return;executed 1959 times by 14 tests: return; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 1959 |
2236 | } | - |
2237 | | - |
2238 | QQuickPointerTouchEvent *ptEvent = pointerEvent->asPointerTouchEvent(); | - |
2239 | if (!ptEventTRUE | evaluated 36 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| FALSE | evaluated 1286 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 36-1286 |
2240 | return;executed 36 times by 3 tests: return; Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 36 |
2241 | | - |
2242 | QScopedPointer<QTouchEvent> touchEvent(ptEvent->touchEventForItem(item)); | - |
2243 | if (!touchEventTRUE | evaluated 707 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 579 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 579-707 |
2244 | return;executed 707 times by 7 tests: return; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 707 |
2245 | | - |
2246 | for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 579 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2597, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "considering delivering " << touchEvent.data() << " to " << item;never executed: QMessageLogger(__FILE__, 2597, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "considering delivering " << touchEvent.data() << " to " << item; | 0-579 |
2247 | bool eventAccepted = false; | - |
2248 | | - |
2249 | | - |
2250 | if (sendFilteredPointerEvent(pointerEvent, item)TRUE | evaluated 6 times by 1 testEvaluated by:- tst_qquickmultipointtoucharea
| FALSE | evaluated 573 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 6-573 |
2251 | return;executed 6 times by 1 test: return; Executed by:- tst_qquickmultipointtoucharea
| 6 |
2252 | | - |
2253 | | - |
2254 | for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 573 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2605, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - actually delivering " << touchEvent.data() << " to " << item;never executed: QMessageLogger(__FILE__, 2605, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - actually delivering " << touchEvent.data() << " to " << item; | 0-573 |
2255 | QCoreApplication::sendEvent(item, touchEvent.data()); | - |
2256 | eventAccepted = touchEvent->isAccepted(); | - |
2257 | | - |
2258 | | - |
2259 | if (!eventAcceptedTRUE | evaluated 261 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 312 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickitem
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
|
&& (itemPrivate->acceptedMouseButtons() & Qt::LeftButton)) { | 261-312 |
2260 | | - |
2261 | if (deliverTouchAsMouse(item, ptEvent)TRUE | evaluated 169 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | evaluated 28 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) | 28-169 |
2262 | eventAccepted = true;executed 169 times by 5 tests: eventAccepted = true; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 169 |
2263 | }executed 197 times by 8 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 197 |
2264 | | - |
2265 | if (eventAcceptedTRUE | evaluated 481 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
| FALSE | evaluated 92 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 92-481 |
2266 | | - |
2267 | | - |
2268 | bool isPressOrRelease = pointerEvent->isPressEvent()TRUE | evaluated 158 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
| FALSE | evaluated 323 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
|
|| pointerEvent->isReleaseEvent()TRUE | evaluated 100 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
| FALSE | evaluated 223 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
|
; | 100-323 |
2269 | for (auto point: qAsConst(touchEvent->touchPoints())) { | - |
2270 | auto pointerEventPoint = ptEvent->pointById(point.id()); | - |
2271 | pointerEventPoint->setAccepted(); | - |
2272 | if (isPressOrReleaseTRUE | evaluated 410 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
| FALSE | evaluated 345 times by 8 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
|
) | 345-410 |
2273 | pointerEventPoint->setGrabberItem(item);executed 410 times by 8 tests: pointerEventPoint->setGrabberItem(item); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
| 410 |
2274 | }executed 755 times by 8 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
| 755 |
2275 | }executed 481 times by 8 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
else { | 481 |
2276 | | - |
2277 | | - |
2278 | for (auto point: qAsConst(touchEvent->touchPoints())) { | - |
2279 | if (point.state() == Qt::TouchPointPressedTRUE | evaluated 88 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| FALSE | evaluated 30 times by 5 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
|
) { | 30-88 |
2280 | if (ptEvent->pointById(point.id())->exclusiveGrabber() == itemTRUE | never evaluated | FALSE | evaluated 88 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
|
) { | 0-88 |
2281 | for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 2632, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << point.id() << "disassociated";never executed: QMessageLogger(__FILE__, 2632, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << point.id() << "disassociated"; | 0 |
2282 | ptEvent->pointById(point.id())->setGrabberItem(nullptr); | - |
2283 | } never executed: end of block | 0 |
2284 | }executed 88 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 88 |
2285 | }executed 118 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 118 |
2286 | }executed 92 times by 10 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 92 |
2287 | } | - |
2288 | | - |
2289 | | - |
2290 | void QQuickWindowPrivate::deliverDragEvent(QQuickDragGrabber *grabber, QEvent *event) | - |
2291 | { | - |
2292 | grabber->resetTarget(); | - |
2293 | QQuickDragGrabber::iterator grabItem = grabber->begin(); | - |
2294 | if (grabItem != grabber->end()TRUE | evaluated 414 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 338 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
) { | 338-414 |
2295 | ((event->type() != QEvent::DragEnter) ? static_cast<void>(0) : qt_assert("event->type() != QEvent::DragEnter", __FILE__, 2646)); | - |
2296 | if (event->type() == QEvent::DropTRUE | evaluated 50 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
| FALSE | evaluated 364 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
) { | 50-364 |
2297 | QDropEvent *e = static_cast<QDropEvent *>(event); | - |
2298 | for (e->setAccepted(false); !e->isAccepted()TRUE | evaluated 62 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
| FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
&& grabItem != grabber->end()TRUE | evaluated 50 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
| FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
; grabItem = grabber->release(grabItem)) { | 12-62 |
2299 | QPointF p = (**grabItem)->mapFromScene(e->pos()); | - |
2300 | QDropEvent translatedEvent( | - |
2301 | p.toPoint(), | - |
2302 | e->possibleActions(), | - |
2303 | e->mimeData(), | - |
2304 | e->mouseButtons(), | - |
2305 | e->keyboardModifiers()); | - |
2306 | QQuickDropEventEx::copyActions(&translatedEvent, *e); | - |
2307 | QCoreApplication::sendEvent(**grabItem, &translatedEvent); | - |
2308 | e->setAccepted(translatedEvent.isAccepted()); | - |
2309 | e->setDropAction(translatedEvent.dropAction()); | - |
2310 | grabber->setTarget(**grabItem); | - |
2311 | }executed 50 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 50 |
2312 | }executed 50 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 50 |
2313 | if (event->type() != QEvent::DragMoveTRUE | evaluated 190 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 224 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
) { | 190-224 |
2314 | QDragLeaveEvent leaveEvent; | - |
2315 | for (; grabItem != grabber->end()TRUE | evaluated 140 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 190 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
; grabItem = grabber->release(grabItem)) | 140-190 |
2316 | QCoreApplication::sendEvent(**grabItem, &leaveEvent);executed 140 times by 3 tests: QCoreApplication::sendEvent(**grabItem, &leaveEvent); Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 140 |
2317 | return;executed 190 times by 3 tests: return; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 190 |
2318 | } else for (; grabItem != grabber->end()TRUE | evaluated 228 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
; grabItem = grabber->release(grabItem)) { | 6-228 |
2319 | QDragMoveEvent *moveEvent = static_cast<QDragMoveEvent *>(event); | - |
2320 | if (deliverDragEvent(grabber, **grabItem, moveEvent)TRUE | evaluated 218 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
) { | 10-218 |
2321 | for (++grabItem; grabItem != grabber->end()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 218 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
;) { | 2-218 |
2322 | QPointF p = (**grabItem)->mapFromScene(moveEvent->pos()); | - |
2323 | if ((**TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
grabItem)->contains(p)TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
) { | 0-2 |
2324 | QDragMoveEvent translatedEvent( | - |
2325 | p.toPoint(), | - |
2326 | moveEvent->possibleActions(), | - |
2327 | moveEvent->mimeData(), | - |
2328 | moveEvent->mouseButtons(), | - |
2329 | moveEvent->keyboardModifiers()); | - |
2330 | QQuickDropEventEx::copyActions(&translatedEvent, *moveEvent); | - |
2331 | QCoreApplication::sendEvent(**grabItem, &translatedEvent); | - |
2332 | ++grabItem; | - |
2333 | }executed 2 times by 1 test: end of block else { | 2 |
2334 | QDragLeaveEvent leaveEvent; | - |
2335 | QCoreApplication::sendEvent(**grabItem, &leaveEvent); | - |
2336 | grabItem = grabber->release(grabItem); | - |
2337 | } never executed: end of block | 0 |
2338 | } | - |
2339 | return;executed 218 times by 3 tests: return; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 218 |
2340 | } else { | - |
2341 | QDragLeaveEvent leaveEvent; | - |
2342 | QCoreApplication::sendEvent(**grabItem, &leaveEvent); | - |
2343 | }executed 10 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 10 |
2344 | } | - |
2345 | }executed 6 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 6 |
2346 | if (event->type() == QEvent::DragEnterTRUE | evaluated 254 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 90 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
|| event->type() == QEvent::DragMoveTRUE | evaluated 44 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
| FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
) { | 44-254 |
2347 | QDragMoveEvent *e = static_cast<QDragMoveEvent *>(event); | - |
2348 | QDragEnterEvent enterEvent( | - |
2349 | e->pos(), | - |
2350 | e->possibleActions(), | - |
2351 | e->mimeData(), | - |
2352 | e->mouseButtons(), | - |
2353 | e->keyboardModifiers()); | - |
2354 | QQuickDropEventEx::copyActions(&enterEvent, *e); | - |
2355 | event->setAccepted(deliverDragEvent(grabber, contentItem, &enterEvent)); | - |
2356 | }executed 298 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 298 |
2357 | }executed 344 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 344 |
2358 | | - |
2359 | bool QQuickWindowPrivate::deliverDragEvent(QQuickDragGrabber *grabber, QQuickItem *item, QDragMoveEvent *event) | - |
2360 | { | - |
2361 | bool accepted = false; | - |
2362 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
2363 | if (!item->isVisible()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1134 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
|| !item->isEnabled()TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1132 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
|| QQuickItemPrivate::get(item)->culledTRUE | never evaluated | FALSE | evaluated 1132 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
) | 0-1134 |
2364 | returnexecuted 4 times by 1 test: return false; false;executed 4 times by 1 test: return false; | 4 |
2365 | QPointF p = item->mapFromScene(event->pos()); | - |
2366 | bool itemContained = item->contains(p); | - |
2367 | | - |
2368 | if (!itemContainedTRUE | evaluated 350 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
| FALSE | evaluated 782 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
&& itemPrivate->flags & QQuickItem::ItemClipsChildrenToShapeTRUE | never evaluated | FALSE | evaluated 350 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
) { | 0-782 |
2369 | return never executed: return false; false;never executed: return false; | 0 |
2370 | } | - |
2371 | | - |
2372 | QDragEnterEvent enterEvent( | - |
2373 | event->pos(), | - |
2374 | event->possibleActions(), | - |
2375 | event->mimeData(), | - |
2376 | event->mouseButtons(), | - |
2377 | event->keyboardModifiers()); | - |
2378 | QQuickDropEventEx::copyActions(&enterEvent, *event); | - |
2379 | QList<QQuickItem *> children = itemPrivate->paintOrderChildItems(); | - |
2380 | for (int ii = children.count() - 1; ii >= 0TRUE | evaluated 610 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 890 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
; --ii) { | 610-890 |
2381 | if (deliverDragEvent(grabber, children.at(ii), &enterEvent)TRUE | evaluated 242 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 368 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
) | 242-368 |
2382 | returnexecuted 242 times by 3 tests: return true; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
true;executed 242 times by 3 tests: return true; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 242 |
2383 | }executed 368 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 368 |
2384 | | - |
2385 | if (itemContainedTRUE | evaluated 750 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 140 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
) { | 140-750 |
2386 | if (event->type() == QEvent::DragMoveTRUE | evaluated 214 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 536 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
|| itemPrivate->flags & QQuickItem::ItemAcceptsDropsTRUE | evaluated 256 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 280 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
) { | 214-536 |
2387 | QDragMoveEvent translatedEvent( | - |
2388 | p.toPoint(), | - |
2389 | event->possibleActions(), | - |
2390 | event->mimeData(), | - |
2391 | event->mouseButtons(), | - |
2392 | event->keyboardModifiers(), | - |
2393 | event->type()); | - |
2394 | QQuickDropEventEx::copyActions(&translatedEvent, *event); | - |
2395 | translatedEvent.setAccepted(event->isAccepted()); | - |
2396 | QCoreApplication::sendEvent(item, &translatedEvent); | - |
2397 | event->setAccepted(translatedEvent.isAccepted()); | - |
2398 | event->setDropAction(translatedEvent.dropAction()); | - |
2399 | if (event->type() == QEvent::DragEnterTRUE | evaluated 256 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 214 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
) { | 214-256 |
2400 | if (translatedEvent.isAccepted()TRUE | evaluated 218 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
) { | 38-218 |
2401 | grabber->grab(item); | - |
2402 | accepted = true; | - |
2403 | }executed 218 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 218 |
2404 | }executed 256 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
else { | 256 |
2405 | accepted = true; | - |
2406 | }executed 214 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 214 |
2407 | } | - |
2408 | }executed 750 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 750 |
2409 | | - |
2410 | returnexecuted 890 times by 3 tests: return accepted; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
accepted;executed 890 times by 3 tests: return accepted; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 890 |
2411 | } | - |
2412 | | - |
2413 | | - |
2414 | | - |
2415 | void QQuickWindowPrivate::updateCursor(const QPointF &scenePos) | - |
2416 | { | - |
2417 | QQuickWindow * const q = q_func(); | - |
2418 | | - |
2419 | QQuickItem *oldCursorItem = cursorItem; | - |
2420 | cursorItem = findCursorItem(contentItem, scenePos); | - |
2421 | | - |
2422 | if (cursorItem != oldCursorItemTRUE | evaluated 186 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| FALSE | evaluated 6242 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 186-6242 |
2423 | QWindow *renderWindow = QQuickRenderControl::renderWindowFor(q); | - |
2424 | QWindow *window = renderWindowTRUE | evaluated 2 times by 1 test | FALSE | evaluated 184 times by 7 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
|
? renderWindow : q; | 2-184 |
2425 | if (cursorItemTRUE | evaluated 160 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| FALSE | evaluated 26 times by 3 testsEvaluated by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 26-160 |
2426 | window->setCursor(cursorItem->cursor());executed 160 times by 8 tests: window->setCursor(cursorItem->cursor()); Executed by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| 160 |
2427 | else | - |
2428 | window->unsetCursor();executed 26 times by 3 tests: window->unsetCursor(); Executed by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 26 |
2429 | } | - |
2430 | }executed 6428 times by 16 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 6428 |
2431 | | - |
2432 | QQuickItem *QQuickWindowPrivate::findCursorItem(QQuickItem *item, const QPointF &scenePos) | - |
2433 | { | - |
2434 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
2435 | if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShapeTRUE | evaluated 56 times by 1 test | FALSE | evaluated 12390 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) { | 56-12390 |
2436 | QPointF p = item->mapFromScene(scenePos); | - |
2437 | if (!item->contains(p)TRUE | evaluated 28 times by 1 test | FALSE | evaluated 28 times by 1 test |
) | 28 |
2438 | returnexecuted 28 times by 1 test: return nullptr; nullptr;executed 28 times by 1 test: return nullptr; | 28 |
2439 | }executed 28 times by 1 test: end of block | 28 |
2440 | | - |
2441 | if (itemPrivate->subtreeCursorEnabledTRUE | evaluated 5858 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| FALSE | evaluated 6560 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 5858-6560 |
2442 | QList<QQuickItem *> children = itemPrivate->paintOrderChildItems(); | - |
2443 | for (int ii = children.count() - 1; ii >= 0TRUE | evaluated 6124 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| FALSE | evaluated 2120 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
|
; --ii) { | 2120-6124 |
2444 | QQuickItem *child = children.at(ii); | - |
2445 | if (!child->isVisible()TRUE | evaluated 8 times by 1 test | FALSE | evaluated 6116 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
|
|| !child->isEnabled()TRUE | never evaluated | FALSE | evaluated 6116 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
|
|| QQuickItemPrivate::get(child)->culledTRUE | evaluated 98 times by 1 test | FALSE | evaluated 6018 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
|
) | 0-6116 |
2446 | continue;executed 106 times by 2 tests: continue; Executed by:- tst_qquicklistview
- tst_qquickmousearea
| 106 |
2447 | if (QQuickItem *cursorItem = findCursorItem(child, scenePos)TRUE | evaluated 3738 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| FALSE | evaluated 2280 times by 5 testsEvaluated by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
|
) | 2280-3738 |
2448 | returnexecuted 3738 times by 8 tests: return cursorItem; Executed by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
cursorItem;executed 3738 times by 8 tests: return cursorItem; Executed by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| 3738 |
2449 | }executed 2280 times by 5 tests: end of block Executed by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
| 2280 |
2450 | }executed 2120 times by 8 tests: end of block Executed by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| 2120 |
2451 | | - |
2452 | if (itemPrivate->hasCursorTRUE | evaluated 1698 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| FALSE | evaluated 6982 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 1698-6982 |
2453 | QPointF p = item->mapFromScene(scenePos); | - |
2454 | if (item->contains(p)TRUE | evaluated 870 times by 8 testsEvaluated by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| FALSE | evaluated 828 times by 3 testsEvaluated by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
|
) | 828-870 |
2455 | returnexecuted 870 times by 8 tests: return item; Executed by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
item;executed 870 times by 8 tests: return item; Executed by:- tst_qquickflickable
- tst_qquickitem
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
- tst_qquickwidget
| 870 |
2456 | }executed 828 times by 3 tests: end of block Executed by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 828 |
2457 | returnexecuted 7810 times by 15 tests: return nullptr; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
nullptr;executed 7810 times by 15 tests: return nullptr; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 7810 |
2458 | } | - |
2459 | | - |
2460 | | - |
2461 | bool QQuickWindowPrivate::sendFilteredPointerEvent(QQuickPointerEvent *event, QQuickItem *receiver, QQuickItem *filteringParent) | - |
2462 | { | - |
2463 | hasFiltered.clear(); | - |
2464 | returnexecuted 10706 times by 16 tests: return sendFilteredPointerEventImpl(event, receiver, filteringParent ? filteringParent : receiver->parentItem()); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
sendFilteredPointerEventImpl(event, receiver, filteringParent ? filteringParent : receiver->parentItem());executed 10706 times by 16 tests: return sendFilteredPointerEventImpl(event, receiver, filteringParent ? filteringParent : receiver->parentItem()); Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 10706 |
2465 | } | - |
2466 | | - |
2467 | bool QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent *event, QQuickItem *receiver, QQuickItem *filteringParent) | - |
2468 | { | - |
2469 | if (!allowChildEventFilteringTRUE | evaluated 2 times by 1 test | FALSE | evaluated 35541 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 2-35541 |
2470 | returnexecuted 2 times by 1 test: return false; false;executed 2 times by 1 test: return false; | 2 |
2471 | if (!filteringParentTRUE | evaluated 10704 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 24837 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) | 10704-24837 |
2472 | returnexecuted 10704 times by 16 tests: return false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
false;executed 10704 times by 16 tests: return false; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 10704 |
2473 | bool filtered = false; | - |
2474 | if (filteringParent->filtersChildMouseEvents()TRUE | evaluated 1963 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | evaluated 22874 times by 16 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
&& !hasFiltered.contains(filteringParent)TRUE | evaluated 1951 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qquickmousearea
- tst_qquickpathview
|
) { | 12-22874 |
2475 | hasFiltered.append(filteringParent); | - |
2476 | if (QQuickPointerMouseEvent *pme = event->asPointerMouseEvent()TRUE | evaluated 1413 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | evaluated 538 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
) { | 538-1413 |
2477 | if (receiver->acceptedMouseButtons()TRUE | evaluated 1413 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | never evaluated |
) { | 0-1413 |
2478 | QPointF localPos = receiver->mapFromScene(pme->point(0)->scenePosition()); | - |
2479 | QMouseEvent *me = pme->asMouseEvent(localPos); | - |
2480 | const bool wasAccepted = me->isAccepted(); | - |
2481 | me->setAccepted(true); | - |
2482 | auto oldMouseGrabber = pme->point(0)->grabberItem(); | - |
2483 | if (filteringParent->childMouseEventFilter(receiver, me)TRUE | evaluated 151 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | evaluated 1262 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 151-1262 |
2484 | for (bool qt_category_enabled = DBG_MOUSE().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 151 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2835, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "mouse event intercepted by childMouseEventFilter of " << filteringParent;never executed: QMessageLogger(__FILE__, 2835, __PRETTY_FUNCTION__, DBG_MOUSE().categoryName()).debug() << "mouse event intercepted by childMouseEventFilter of " << filteringParent; | 0-151 |
2485 | skipDelivery.append(filteringParent); | - |
2486 | filtered = true; | - |
2487 | if (me->isAccepted()TRUE | evaluated 149 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | evaluated 2 times by 1 test |
&& pme->isPressEvent()TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | evaluated 130 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 2-149 |
2488 | auto mouseGrabber = pme->point(0)->grabberItem(); | - |
2489 | if (mouseGrabberTRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | never evaluated |
&& mouseGrabber != receiverTRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | never evaluated |
&& mouseGrabber != oldMouseGrabberTRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | never evaluated |
) { | 0-19 |
2490 | receiver->mouseUngrabEvent(); | - |
2491 | }executed 19 times by 2 tests: end of block Executed by:- tst_qquickflickable
- tst_qquickgridview
else { | 19 |
2492 | pme->point(0)->setGrabberItem(receiver); | - |
2493 | } never executed: end of block | 0 |
2494 | } | - |
2495 | }executed 151 times by 7 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
else { | 151 |
2496 | | - |
2497 | me->setAccepted(wasAccepted); | - |
2498 | }executed 1262 times by 7 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1262 |
2499 | } | - |
2500 | }executed 1413 times by 7 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
else if (QQuickPointerTouchEvent *pte = event->asPointerTouchEvent()TRUE | evaluated 538 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| FALSE | never evaluated |
) { | 0-1413 |
2501 | | - |
2502 | | - |
2503 | | - |
2504 | | - |
2505 | bool acceptsTouchEvents = false; | - |
2506 | | - |
2507 | auto device = pte->device(); | - |
2508 | if (device->type() == QQuickPointerDevice::TouchPadTRUE | never evaluated | FALSE | evaluated 538 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
&& | 0-538 |
2509 | device->capabilities().testFlag(QQuickPointerDevice::MouseEmulation)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2510 | for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 2861, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "skipping filtering of synth-mouse event from" << device;never executed: QMessageLogger(__FILE__, 2861, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "skipping filtering of synth-mouse event from" << device; | 0 |
2511 | } never executed: end of block else if (acceptsTouchEventsTRUE | never evaluated | FALSE | evaluated 538 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
|| receiver->acceptedMouseButtons()) { | 0-538 |
2512 | | - |
2513 | QScopedPointer<QTouchEvent> filteringParentTouchEvent(pte->touchEventForItem(receiver, true)); | - |
2514 | if (filteringParentTouchEventTRUE | evaluated 438 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| FALSE | evaluated 70 times by 1 test |
) { | 70-438 |
2515 | if (filteringParent->childMouseEventFilter(receiver, filteringParentTouchEvent.data())TRUE | never evaluated | FALSE | evaluated 438 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
|
) { | 0-438 |
2516 | for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | never evaluated |
; qt_category_enabled = false) QMessageLogger(__FILE__, 2867, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "touch event intercepted by childMouseEventFilter of " << filteringParent;never executed: QMessageLogger(__FILE__, 2867, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "touch event intercepted by childMouseEventFilter of " << filteringParent; | 0 |
2517 | skipDelivery.append(filteringParent); | - |
2518 | for (auto point: qAsConst(filteringParentTouchEvent->touchPoints())) { | - |
2519 | QQuickEventPoint *pt = event->pointById(point.id()); | - |
2520 | pt->setAccepted(); | - |
2521 | pt->setGrabberItem(filteringParent); | - |
2522 | } never executed: end of block | 0 |
2523 | return never executed: return true; true;never executed: return true; | 0 |
2524 | } else { | - |
2525 | | - |
2526 | for (int i = 0; i < filteringParentTouchEvent->touchPoints().size()TRUE | evaluated 468 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| FALSE | evaluated 2 times by 1 test |
; ++i) { | 2-468 |
2527 | const QTouchEvent::TouchPoint &tp = filteringParentTouchEvent->touchPoints().at(i); | - |
2528 | | - |
2529 | QEvent::Type t; | - |
2530 | switch (tp.state()) { | - |
2531 | caseexecuted 96 times by 3 tests: case Qt::TouchPointPressed: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
Qt::TouchPointPressed:executed 96 times by 3 tests: case Qt::TouchPointPressed: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 96 |
2532 | t = QEvent::MouseButtonPress; | - |
2533 | break;executed 96 times by 3 tests: break; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 96 |
2534 | caseexecuted 42 times by 3 tests: case Qt::TouchPointReleased: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
Qt::TouchPointReleased:executed 42 times by 3 tests: case Qt::TouchPointReleased: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 42 |
2535 | t = QEvent::MouseButtonRelease; | - |
2536 | break;executed 42 times by 3 tests: break; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 42 |
2537 | caseexecuted 30 times by 1 test: case Qt::TouchPointStationary: Executed by:- tst_qquickmultipointtoucharea
Qt::TouchPointStationary:executed 30 times by 1 test: case Qt::TouchPointStationary: Executed by:- tst_qquickmultipointtoucharea
| 30 |
2538 | continue;executed 30 times by 1 test: continue; Executed by:- tst_qquickmultipointtoucharea
| 30 |
2539 | defaultexecuted 300 times by 3 tests: default: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
:executed 300 times by 3 tests: default: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 300 |
2540 | t = QEvent::MouseMove; | - |
2541 | break;executed 300 times by 3 tests: break; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 300 |
2542 | } | - |
2543 | | - |
2544 | bool touchMouseUnset = (touchMouseId == -1); | - |
2545 | | - |
2546 | if (touchMouseUnsetTRUE | evaluated 418 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
|
|| touchMouseId == tp.id()TRUE | evaluated 18 times by 1 test | FALSE | evaluated 2 times by 1 test |
) { | 2-418 |
2547 | | - |
2548 | | - |
2549 | QScopedPointer<QMouseEvent> mouseEvent(touchToMouseEvent(t, tp, filteringParentTouchEvent.data(), receiver, false)); | - |
2550 | | - |
2551 | | - |
2552 | | - |
2553 | touchMouseId = tp.id(); | - |
2554 | touchMouseDevice = event->device(); | - |
2555 | if (filteringParent->childMouseEventFilter(receiver, mouseEvent.data())TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| FALSE | evaluated 420 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
|
) { | 16-420 |
2556 | for (bool qt_category_enabled = DBG_TOUCH().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2907, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "touch event intercepted as synth mouse event by childMouseEventFilter of " << filteringParent;never executed: QMessageLogger(__FILE__, 2907, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "touch event intercepted as synth mouse event by childMouseEventFilter of " << filteringParent; | 0-16 |
2557 | skipDelivery.append(filteringParent); | - |
2558 | if (t != QEvent::MouseButtonReleaseTRUE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| FALSE | never evaluated |
) { | 0-16 |
2559 | for (bool qt_category_enabled = DBG_TOUCH_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2910, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << tp.id() << "->" << filteringParent;never executed: QMessageLogger(__FILE__, 2910, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << tp.id() << "->" << filteringParent; | 0-16 |
2560 | pointerEventInstance(touchMouseDevice)->pointById(tp.id())->setGrabberItem(filteringParent); | - |
2561 | touchMouseUnset = false; | - |
2562 | if (mouseEvent->isAccepted()TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| FALSE | never evaluated |
) | 0-16 |
2563 | filteringParent->grabMouse();executed 16 times by 2 tests: filteringParent->grabMouse(); Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| 16 |
2564 | }executed 16 times by 2 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| 16 |
2565 | filtered = true; | - |
2566 | }executed 16 times by 2 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| 16 |
2567 | if (touchMouseUnsetTRUE | evaluated 402 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| FALSE | evaluated 34 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
|
) { | 34-402 |
2568 | | - |
2569 | | - |
2570 | touchMouseId = -1; | - |
2571 | touchMouseDevice = nullptr; | - |
2572 | }executed 402 times by 3 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 402 |
2573 | | - |
2574 | | - |
2575 | break;executed 436 times by 3 tests: break; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 436 |
2576 | } | - |
2577 | }executed 2 times by 1 test: end of block | 2 |
2578 | }executed 438 times by 3 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 438 |
2579 | } | - |
2580 | }executed 508 times by 3 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 508 |
2581 | }executed 538 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 538 |
2582 | }executed 1951 times by 7 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 1951 |
2583 | returnexecuted 24837 times by 16 tests: return sendFilteredPointerEventImpl(event, receiver, filteringParent->parentItem()) || filtered; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
sendFilteredPointerEventImpl(event, receiver, filteringParent->parentItem()) || filtered;executed 24837 times by 16 tests: return sendFilteredPointerEventImpl(event, receiver, filteringParent->parentItem()) || filtered; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 24837 |
2584 | } | - |
2585 | | - |
2586 | bool QQuickWindowPrivate::sendFilteredMouseEvent(QEvent *event, QQuickItem *receiver, QQuickItem *filteringParent) | - |
2587 | { | - |
2588 | if (!filteringParentTRUE | evaluated 2296 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 4072 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) | 2296-4072 |
2589 | returnexecuted 2296 times by 15 tests: return false; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
false;executed 2296 times by 15 tests: return false; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 2296 |
2590 | | - |
2591 | QQuickItemPrivate *filteringParentPrivate = QQuickItemPrivate::get(filteringParent); | - |
2592 | if (filteringParentPrivate->replayingPressEventTRUE | never evaluated | FALSE | evaluated 4072 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) | 0-4072 |
2593 | return never executed: return false; false;never executed: return false; | 0 |
2594 | | - |
2595 | bool filtered = false; | - |
2596 | if (filteringParentPrivate->filtersChildMouseEventsTRUE | evaluated 208 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | evaluated 3864 times by 15 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
&& !hasFiltered.contains(filteringParent)TRUE | evaluated 208 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | never evaluated |
) { | 0-3864 |
2597 | hasFiltered.append(filteringParent); | - |
2598 | if (filteringParent->childMouseEventFilter(receiver, event)TRUE | never evaluated | FALSE | evaluated 208 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 0-208 |
2599 | filtered = true; | - |
2600 | skipDelivery.append(filteringParent); | - |
2601 | } never executed: end of block | 0 |
2602 | for (bool qt_category_enabled = DBG_MOUSE_TARGET().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 208 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 2953, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "for" << receiver << filteringParent << "childMouseEventFilter ->" << filtered;never executed: QMessageLogger(__FILE__, 2953, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "for" << receiver << filteringParent << "childMouseEventFilter ->" << filtered; | 0-208 |
2603 | }executed 208 times by 5 tests: end of block Executed by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 208 |
2604 | | - |
2605 | returnexecuted 4072 times by 15 tests: return sendFilteredMouseEvent(event, receiver, filteringParent->parentItem()) || filtered; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
sendFilteredMouseEvent(event, receiver, filteringParent->parentItem()) || filtered;executed 4072 times by 15 tests: return sendFilteredMouseEvent(event, receiver, filteringParent->parentItem()) || filtered; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointerhandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 4072 |
2606 | } | - |
2607 | | - |
2608 | bool QQuickWindowPrivate::dragOverThreshold(qreal d, Qt::Axis axis, QMouseEvent *event, int startDragThreshold) | - |
2609 | { | - |
2610 | QStyleHints *styleHints = QGuiApplication::styleHints(); | - |
2611 | int caps = QGuiApplicationPrivate::mouseEventCaps(event); | - |
2612 | bool dragVelocityLimitAvailable = (TRUE | never evaluated | FALSE | evaluated 6424 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
caps & QTouchDevice::Velocity)TRUE | never evaluated | FALSE | evaluated 6424 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
| 0-6424 |
2613 | && styleHints->startDragVelocity()TRUE | never evaluated | FALSE | never evaluated |
; | 0 |
2614 | bool overThreshold = qAbs(d) > (startDragThreshold >= 0 ? startDragThreshold : styleHints->startDragDistance()); | - |
2615 | if (dragVelocityLimitAvailableTRUE | never evaluated | FALSE | evaluated 6424 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
) { | 0-6424 |
2616 | QVector2D velocityVec = QGuiApplicationPrivate::mouseEventVelocity(event); | - |
2617 | qreal velocity = axis == Qt::XAxisTRUE | never evaluated | FALSE | never evaluated |
? velocityVec.x() : velocityVec.y(); | 0 |
2618 | overThreshold |= qAbs(velocity) > styleHints->startDragVelocity(); | - |
2619 | } never executed: end of block | 0 |
2620 | returnexecuted 6424 times by 7 tests: return overThreshold; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
overThreshold;executed 6424 times by 7 tests: return overThreshold; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 6424 |
2621 | } | - |
2622 | void QQuickWindowPrivate::data_append(QQmlListProperty<QObject> *property, QObject *o) | - |
2623 | { | - |
2624 | if (!oTRUE | never evaluated | FALSE | evaluated 156 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickitem
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
|
) | 0-156 |
2625 | return; never executed: return; | 0 |
2626 | QQuickWindow *that = static_cast<QQuickWindow *>(property->object); | - |
2627 | if (QQuickWindow *window = qmlobject_cast<QQuickWindow *>(o)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 154 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickitem
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
|
) { | 2-154 |
2628 | for (bool qt_category_enabled = lcTransient().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
; qt_category_enabled = false) QMessageLogger(__FILE__, 3004, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << window << "is transient for" << that;never executed: QMessageLogger(__FILE__, 3004, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << window << "is transient for" << that; | 0-2 |
2629 | window->setTransientParent(that); | - |
2630 | }executed 2 times by 1 test: end of block | 2 |
2631 | QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(that->contentItem())->data(); | - |
2632 | itemProperty.append(&itemProperty, o); | - |
2633 | }executed 156 times by 8 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickitem
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
| 156 |
2634 | | - |
2635 | int QQuickWindowPrivate::data_count(QQmlListProperty<QObject> *property) | - |
2636 | { | - |
2637 | QQuickWindow *win = static_cast<QQuickWindow*>(property->object); | - |
2638 | if (!winTRUE | never evaluated | FALSE | never evaluated |
|| !win->contentItem()TRUE | never evaluated | FALSE | never evaluated |
|| !QQuickItemPrivate::get(win->contentItem())->data().countTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
2639 | return never executed: return 0; 0;never executed: return 0; | 0 |
2640 | QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data(); | - |
2641 | return never executed: return itemProperty.count(&itemProperty); itemProperty.count(&itemProperty);never executed: return itemProperty.count(&itemProperty); | 0 |
2642 | } | - |
2643 | | - |
2644 | QObject *QQuickWindowPrivate::data_at(QQmlListProperty<QObject> *property, int i) | - |
2645 | { | - |
2646 | QQuickWindow *win = static_cast<QQuickWindow*>(property->object); | - |
2647 | QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data(); | - |
2648 | return never executed: return itemProperty.at(&itemProperty, i); itemProperty.at(&itemProperty, i);never executed: return itemProperty.at(&itemProperty, i); | 0 |
2649 | } | - |
2650 | | - |
2651 | void QQuickWindowPrivate::data_clear(QQmlListProperty<QObject> *property) | - |
2652 | { | - |
2653 | QQuickWindow *win = static_cast<QQuickWindow*>(property->object); | - |
2654 | QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data(); | - |
2655 | itemProperty.clear(&itemProperty); | - |
2656 | } never executed: end of block | 0 |
2657 | | - |
2658 | bool QQuickWindowPrivate::isRenderable() const | - |
2659 | { | - |
2660 | const QQuickWindow * const q = q_func(); | - |
2661 | returnexecuted 2110947 times by 89 tests: return ((q->isExposed() && q->isVisible())) && q->geometry().isValid(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
((q->isExposed() && q->isVisible())) && q->geometry().isValid();executed 2110947 times by 89 tests: return ((q->isExposed() && q->isVisible())) && q->geometry().isValid(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 2110947 |
2662 | } | - |
2663 | | - |
2664 | void QQuickWindowPrivate::contextCreationFailureMessage(const QSurfaceFormat &format, | - |
2665 | QString *translatedMessage, | - |
2666 | QString *untranslatedMessage, | - |
2667 | bool isEs) | - |
2668 | { | - |
2669 | const QString contextType = QLatin1String(isEs ? "EGL" : "OpenGL"); | - |
2670 | QString formatStr; | - |
2671 | QDebug(&formatStr) << format; | - |
2672 | const char msg[] = "Failed to create %1 context for format %2" | - |
2673 | ; | - |
2674 | *translatedMessage = QQuickWindow::tr(msg).arg(contextType, formatStr); | - |
2675 | *untranslatedMessage = QString::fromLatin1(msg).arg(contextType, formatStr); | - |
2676 | | - |
2677 | } never executed: end of block | 0 |
2678 | bool QQuickWindow::sendEvent(QQuickItem *item, QEvent *e) | - |
2679 | { | - |
2680 | QQuickWindowPrivate * const d = d_func(); | - |
2681 | | - |
2682 | if (!itemTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2683 | QMessageLogger(__FILE__, 3087, __PRETTY_FUNCTION__).warning("QQuickWindow::sendEvent: Cannot send event to a null item"); | - |
2684 | return never executed: return false; false;never executed: return false; | 0 |
2685 | } | - |
2686 | | - |
2687 | ((e) ? static_cast<void>(0) : qt_assert("e", __FILE__, 3091)); | - |
2688 | | - |
2689 | switch (e->type()) { | - |
2690 | case never executed: case QEvent::KeyPress: QEvent::KeyPress:never executed: case QEvent::KeyPress: | 0 |
2691 | case never executed: case QEvent::KeyRelease: QEvent::KeyRelease:never executed: case QEvent::KeyRelease: | 0 |
2692 | e->accept(); | - |
2693 | QCoreApplication::sendEvent(item, e); | - |
2694 | while (!e->isAccepted()TRUE | never evaluated | FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | never evaluated |
item = item->parentItem())TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2695 | e->accept(); | - |
2696 | QCoreApplication::sendEvent(item, e); | - |
2697 | } never executed: end of block | 0 |
2698 | break; never executed: break; | 0 |
2699 | case never executed: case QEvent::MouseButtonPress: QEvent::MouseButtonPress:never executed: case QEvent::MouseButtonPress: | 0 |
2700 | case never executed: case QEvent::MouseButtonRelease: QEvent::MouseButtonRelease:never executed: case QEvent::MouseButtonRelease: | 0 |
2701 | case never executed: case QEvent::MouseButtonDblClick: QEvent::MouseButtonDblClick:never executed: case QEvent::MouseButtonDblClick: | 0 |
2702 | case never executed: case QEvent::MouseMove: QEvent::MouseMove:never executed: case QEvent::MouseMove: { | 0 |
2703 | | - |
2704 | d->hasFiltered.clear(); | - |
2705 | if (!d->sendFilteredMouseEvent(e, item, item->parentItem())TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2706 | | - |
2707 | e->accept(); | - |
2708 | QCoreApplication::sendEvent(item, e); | - |
2709 | } never executed: end of block | 0 |
2710 | } | - |
2711 | break; never executed: break; | 0 |
2712 | default never executed: default: :never executed: default: | 0 |
2713 | QCoreApplication::sendEvent(item, e); | - |
2714 | break; never executed: break; | 0 |
2715 | } | - |
2716 | | - |
2717 | return never executed: return false; false;never executed: return false; | 0 |
2718 | } | - |
2719 | | - |
2720 | | - |
2721 | | - |
2722 | void QQuickWindowPrivate::cleanupNodes() | - |
2723 | { | - |
2724 | for (int ii = 0; ii < cleanupNodeList.count()TRUE | evaluated 316588 times by 74 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| FALSE | evaluated 55981 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
; ++ii) | 55981-316588 |
2725 | delete cleanupNodeList.at(ii);executed 316588 times by 74 tests: delete cleanupNodeList.at(ii); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 316588 |
2726 | cleanupNodeList.clear(); | - |
2727 | }executed 55981 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 55981 |
2728 | | - |
2729 | void QQuickWindowPrivate::cleanupNodesOnShutdown(QQuickItem *item) | - |
2730 | { | - |
2731 | QQuickItemPrivate *p = QQuickItemPrivate::get(item); | - |
2732 | if (p->itemNodeInstanceTRUE | evaluated 7060 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 3470 times by 43 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimatedimage
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- ...
|
) { | 3470-7060 |
2733 | delete p->itemNodeInstance; | - |
2734 | p->itemNodeInstance = nullptr; | - |
2735 | | - |
2736 | if (p->extra.isAllocated()TRUE | evaluated 5892 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 1168 times by 12 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_qqmlcomponent
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquicktext
- tst_qquickwidget
- tst_rendernode
|
) { | 1168-5892 |
2737 | p->extra->opacityNode = nullptr; | - |
2738 | p->extra->clipNode = nullptr; | - |
2739 | p->extra->rootNode = nullptr; | - |
2740 | }executed 5892 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 5892 |
2741 | | - |
2742 | p->paintNode = nullptr; | - |
2743 | | - |
2744 | p->dirty(QQuickItemPrivate::Window); | - |
2745 | }executed 7060 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 7060 |
2746 | | - |
2747 | | - |
2748 | if (p->flags & QQuickItem::ItemHasContentsTRUE | evaluated 2738 times by 11 testsEvaluated by:- tst_examples
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 7792 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
) { | 2738-7792 |
2749 | const QMetaObject *mo = item->metaObject(); | - |
2750 | int index = mo->indexOfSlot("invalidateSceneGraph()"); | - |
2751 | if (index >= 0TRUE | evaluated 96 times by 4 testsEvaluated by:- tst_examples
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem
| FALSE | evaluated 2642 times by 9 testsEvaluated by:- tst_examples
- tst_qquickborderimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
|
) { | 96-2642 |
2752 | const QMetaMethod &method = mo->method(index); | - |
2753 | | - |
2754 | if (strstr(method.enclosingMetaObject()->className(), "_QML_") == nullptrTRUE | evaluated 96 times by 4 testsEvaluated by:- tst_examples
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem
| FALSE | never evaluated |
) | 0-96 |
2755 | method.invoke(item, Qt::DirectConnection);executed 96 times by 4 tests: method.invoke(item, Qt::DirectConnection); Executed by:- tst_examples
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem
| 96 |
2756 | }executed 96 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem
| 96 |
2757 | }executed 2738 times by 11 tests: end of block Executed by:- tst_examples
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickrepeater
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 2738 |
2758 | | - |
2759 | for (int ii = 0; ii < p->childItems.count()TRUE | evaluated 5168 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| FALSE | evaluated 10530 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
; ++ii) | 5168-10530 |
2760 | cleanupNodesOnShutdown(p->childItems.at(ii));executed 5168 times by 17 tests: cleanupNodesOnShutdown(p->childItems.at(ii)); Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickdrag
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickwidget
| 5168 |
2761 | }executed 10530 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 10530 |
2762 | | - |
2763 | | - |
2764 | void QQuickWindowPrivate::cleanupNodesOnShutdown() | - |
2765 | { | - |
2766 | QQuickWindow * const q = q_func(); | - |
2767 | cleanupNodes(); | - |
2768 | cleanupNodesOnShutdown(contentItem); | - |
2769 | for (QSet<QQuickItem *>::const_iterator it = parentlessItems.begin(), cend = parentlessItems.end(); it != cendTRUE | never evaluated | FALSE | evaluated 5362 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
; ++it) | 0-5362 |
2770 | cleanupNodesOnShutdown(*it); never executed: cleanupNodesOnShutdown(*it); | 0 |
2771 | animationController->windowNodesDestroyed(); | - |
2772 | q->cleanupSceneGraph(); | - |
2773 | }executed 5362 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 5362 |
2774 | | - |
2775 | void QQuickWindowPrivate::updateDirtyNodes() | - |
2776 | { | - |
2777 | for (bool qt_category_enabled = DBG_DIRTY().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 50619 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 3181, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << "QQuickWindowPrivate::updateDirtyNodes():";never executed: QMessageLogger(__FILE__, 3181, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << "QQuickWindowPrivate::updateDirtyNodes():"; | 0-50619 |
2778 | | - |
2779 | cleanupNodes(); | - |
2780 | | - |
2781 | QQuickItem *updateList = dirtyItemList; | - |
2782 | dirtyItemList = nullptr; | - |
2783 | if (updateListTRUE | evaluated 42616 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 8003 times by 52 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- ...
|
) QQuickItemPrivate::get(updateList)->prevDirtyItem = &updateList;executed 42616 times by 76 tests: QQuickItemPrivate::get(updateList)->prevDirtyItem = &updateList; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 8003-42616 |
2784 | | - |
2785 | while (updateListTRUE | evaluated 548664 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 50619 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 50619-548664 |
2786 | QQuickItem *item = updateList; | - |
2787 | QQuickItemPrivate *itemPriv = QQuickItemPrivate::get(item); | - |
2788 | itemPriv->removeFromDirtyList(); | - |
2789 | | - |
2790 | for (bool qt_category_enabled = DBG_DIRTY().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 548664 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 3194, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << " QSGNode:" << item << QtPrivate::asString(itemPriv->dirtyToString()).toLocal8Bit().constData();never executed: QMessageLogger(__FILE__, 3194, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << " QSGNode:" << item << QtPrivate::asString(itemPriv->dirtyToString()).toLocal8Bit().constData(); | 0-548664 |
2791 | updateDirtyNode(item); | - |
2792 | }executed 548664 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 548664 |
2793 | }executed 50619 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 50619 |
2794 | | - |
2795 | static inline QSGNode *qquickitem_before_paintNode(QQuickItemPrivate *d) | - |
2796 | { | - |
2797 | const QList<QQuickItem *> childItems = d->paintOrderChildItems(); | - |
2798 | QQuickItem *before = nullptr; | - |
2799 | for (int i=0; i<childItems.size()TRUE | evaluated 63536 times by 61 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- ...
| FALSE | evaluated 188328 times by 69 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
|
; ++i) { | 63536-188328 |
2800 | QQuickItemPrivate *dd = QQuickItemPrivate::get(childItems.at(i)); | - |
2801 | | - |
2802 | if (dd->z() < 0TRUE | evaluated 204 times by 1 test | FALSE | evaluated 63332 times by 61 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- ...
|
&& (dd->explicitVisibleTRUE | evaluated 204 times by 1 test | FALSE | never evaluated |
|| (dd->extra.isAllocated()TRUE | never evaluated | FALSE | never evaluated |
&& dd->extra->effectRefCountTRUE | never evaluated | FALSE | never evaluated |
))) | 0-63332 |
2803 | before = childItems.at(i);executed 204 times by 1 test: before = childItems.at(i); | 204 |
2804 | else | - |
2805 | break;executed 63332 times by 61 tests: break; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- ...
| 63332 |
2806 | } | - |
2807 | returnexecuted 251660 times by 71 tests: return __builtin_expect(!!(before), false) ? QQuickItemPrivate::get(before)->itemNode() : nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
__builtin_expect(!!(before), false) ? QQuickItemPrivate::get(before)->itemNode() : nullptr;executed 251660 times by 71 tests: return __builtin_expect(!!(before), false) ? QQuickItemPrivate::get(before)->itemNode() : nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 251660 |
2808 | } | - |
2809 | | - |
2810 | static QSGNode *fetchNextNode(QQuickItemPrivate *itemPriv, int &ii, bool &returnedPaintNode) | - |
2811 | { | - |
2812 | QList<QQuickItem *> orderedChildren = itemPriv->paintOrderChildItems(); | - |
2813 | | - |
2814 | for (; ii < orderedChildren.count()TRUE | evaluated 437732 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 95378 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& orderedChildren.at(ii)->z() < 0TRUE | evaluated 252 times by 2 testsEvaluated by:- tst_examples
- tst_qquicklistview
| FALSE | evaluated 437480 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; ++ii) { | 252-437732 |
2815 | QQuickItemPrivate *childPrivate = QQuickItemPrivate::get(orderedChildren.at(ii)); | - |
2816 | if (!childPrivate->explicitVisibleTRUE | evaluated 2 times by 1 test | FALSE | evaluated 250 times by 2 testsEvaluated by:- tst_examples
- tst_qquicklistview
|
&& | 2-250 |
2817 | (!childPrivate->extra.isAllocated()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
|| !childPrivate->extra->effectRefCountTRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
)) | 0-2 |
2818 | continue;executed 2 times by 1 test: continue; | 2 |
2819 | | - |
2820 | ii++; | - |
2821 | returnexecuted 250 times by 2 tests: return childPrivate->itemNode(); Executed by:- tst_examples
- tst_qquicklistview
childPrivate->itemNode();executed 250 times by 2 tests: return childPrivate->itemNode(); Executed by:- tst_examples
- tst_qquicklistview
| 250 |
2822 | } | - |
2823 | | - |
2824 | if (itemPriv->paintNodeTRUE | evaluated 973 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 531885 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& !returnedPaintNodeTRUE | evaluated 150 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 823 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 150-531885 |
2825 | returnedPaintNode = true; | - |
2826 | returnexecuted 150 times by 10 tests: return itemPriv->paintNode; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
itemPriv->paintNode;executed 150 times by 10 tests: return itemPriv->paintNode; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| 150 |
2827 | } | - |
2828 | | - |
2829 | for (; ii < orderedChildren.count()TRUE | evaluated 440871 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 95850 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; ++ii) { | 95850-440871 |
2830 | QQuickItemPrivate *childPrivate = QQuickItemPrivate::get(orderedChildren.at(ii)); | - |
2831 | if (!childPrivate->explicitVisibleTRUE | evaluated 4029 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickfocusscope
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_signalspy
| FALSE | evaluated 436842 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& | 4029-436842 |
2832 | (!childPrivate->extra.isAllocated()TRUE | evaluated 108 times by 7 testsEvaluated by:- tst_examples
- tst_qquickborderimage
- tst_qquicklayouts
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
| FALSE | evaluated 3921 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
- tst_signalspy
|
|| !childPrivate->extra->effectRefCountTRUE | evaluated 3905 times by 13 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickfocusscope
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
- tst_signalspy
| FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_examples
- tst_qquickitemlayer
|
)) | 16-3921 |
2833 | continue;executed 4013 times by 17 tests: continue; Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickfocusscope
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_signalspy
| 4013 |
2834 | | - |
2835 | ii++; | - |
2836 | returnexecuted 436858 times by 76 tests: return childPrivate->itemNode(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
childPrivate->itemNode();executed 436858 times by 76 tests: return childPrivate->itemNode(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 436858 |
2837 | } | - |
2838 | | - |
2839 | returnexecuted 95850 times by 76 tests: return nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
nullptr;executed 95850 times by 76 tests: return nullptr; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 95850 |
2840 | } | - |
2841 | | - |
2842 | void QQuickWindowPrivate::updateDirtyNode(QQuickItem *item) | - |
2843 | { | - |
2844 | QQuickItemPrivate *itemPriv = QQuickItemPrivate::get(item); | - |
2845 | quint32 dirty = itemPriv->dirtyAttributes; | - |
2846 | itemPriv->dirtyAttributes = 0; | - |
2847 | | - |
2848 | if ((TRUE | evaluated 433368 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 115296 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
dirty & QQuickItemPrivate::TransformUpdateMask)TRUE | evaluated 433368 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 115296 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
|| | 115296-433368 |
2849 | (dirty & QQuickItemPrivate::SizeTRUE | evaluated 44454 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 70842 times by 55 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickfocusscope
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
|
&& itemPriv->origin() != QQuickItem::TopLeftTRUE | evaluated 44454 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | never evaluated |
&& | 0-70842 |
2850 | (itemPriv->scale() != 1.TRUE | never evaluated | FALSE | evaluated 44454 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
|| itemPriv->rotation() != 0.TRUE | never evaluated | FALSE | evaluated 44454 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
))) { | 0-44454 |
2851 | | - |
2852 | QMatrix4x4 matrix; | - |
2853 | | - |
2854 | if (itemPriv->x != 0.TRUE | evaluated 214250 times by 37 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpointattractor
- tst_qquickpointerhandler
- tst_qquickpositioners
- tst_qquickspringanimation
- ...
| FALSE | evaluated 219118 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
|| itemPriv->y != 0.TRUE | evaluated 127844 times by 30 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickcustomaffector
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshadereffect
- tst_qquickspringanimation
- tst_qquickstates
- tst_qquicktextedit
- ...
| FALSE | evaluated 91274 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 91274-219118 |
2855 | matrix.translate(itemPriv->x, itemPriv->y);executed 342094 times by 43 tests: matrix.translate(itemPriv->x, itemPriv->y); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcustomaffector
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader_static
- tst_qquickfriction
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickloader
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- ...
| 342094 |
2856 | | - |
2857 | for (int ii = itemPriv->transforms.count() - 1; ii >= 0TRUE | evaluated 272 times by 2 testsEvaluated by:- tst_examples
- tst_qquickpathview
| FALSE | evaluated 433368 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; --ii) | 272-433368 |
2858 | itemPriv->transforms.at(ii)->applyTo(&matrix);executed 272 times by 2 tests: itemPriv->transforms.at(ii)->applyTo(&matrix); Executed by:- tst_examples
- tst_qquickpathview
| 272 |
2859 | | - |
2860 | if (itemPriv->scale() != 1.TRUE | evaluated 220 times by 12 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickspritesequence
- tst_scenegraph
| FALSE | evaluated 433148 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
|| itemPriv->rotation() != 0.TRUE | evaluated 654 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_rendernode
- tst_scenegraph
| FALSE | evaluated 432494 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 220-433148 |
2861 | QPointF origin = item->transformOriginPoint(); | - |
2862 | matrix.translate(origin.x(), origin.y()); | - |
2863 | if (itemPriv->scale() != 1.TRUE | evaluated 220 times by 12 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickspritesequence
- tst_scenegraph
| FALSE | evaluated 654 times by 8 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_rendernode
- tst_scenegraph
|
) | 220-654 |
2864 | matrix.scale(itemPriv->scale(), itemPriv->scale());executed 220 times by 12 tests: matrix.scale(itemPriv->scale(), itemPriv->scale()); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickspritesequence
- tst_scenegraph
| 220 |
2865 | if (itemPriv->rotation() != 0.TRUE | evaluated 692 times by 10 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_rendernode
- tst_scenegraph
| FALSE | evaluated 182 times by 11 testsEvaluated by:- tst_examples
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickspritesequence
- tst_scenegraph
|
) | 182-692 |
2866 | matrix.rotate(itemPriv->rotation(), 0, 0, 1);executed 692 times by 10 tests: matrix.rotate(itemPriv->rotation(), 0, 0, 1); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_rendernode
- tst_scenegraph
| 692 |
2867 | matrix.translate(-origin.x(), -origin.y()); | - |
2868 | }executed 874 times by 13 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickspritesequence
- tst_rendernode
- tst_scenegraph
| 874 |
2869 | | - |
2870 | itemPriv->itemNode()->setMatrix(matrix); | - |
2871 | }executed 433368 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 433368 |
2872 | | - |
2873 | bool clipEffectivelyChanged = (TRUE | evaluated 320826 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 227838 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
dirty & (QQuickItemPrivate::Clip | QQuickItemPrivate::Window))TRUE | evaluated 320826 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 227838 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& | 227838-320826 |
2874 | ((TRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
| FALSE | evaluated 320564 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
item->clip() == false) != (itemPriv->clipNode() == nullptr))TRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
| FALSE | evaluated 320564 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; | 262-320564 |
2875 | int effectRefCount = itemPriv->extra.isAllocated()TRUE | evaluated 233922 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 314742 times by 72 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
|
?itemPriv->extra->effectRefCount:0; | 233922-314742 |
2876 | bool effectRefEffectivelyChanged = (TRUE | evaluated 320830 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 227834 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
dirty & (QQuickItemPrivate::EffectReference | QQuickItemPrivate::Window))TRUE | evaluated 320830 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 227834 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& | 227834-320830 |
2877 | ((TRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | evaluated 320725 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
effectRefCount == 0) != (itemPriv->rootNode() == nullptr))TRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | evaluated 320725 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; | 105-320725 |
2878 | | - |
2879 | if (clipEffectivelyChangedTRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
| FALSE | evaluated 548402 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 262-548402 |
2880 | QSGNode *parent = itemPriv->opacityNode()TRUE | never evaluated | FALSE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
|
? (QSGNode *) itemPriv->opacityNode() : | 0-262 |
2881 | (QSGNode *) itemPriv->itemNode(); | - |
2882 | QSGNode *child = itemPriv->rootNode(); | - |
2883 | | - |
2884 | if (item->clip()TRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-262 |
2885 | ((itemPriv->clipNode() == nullptr) ? static_cast<void>(0) : qt_assert("itemPriv->clipNode() == nullptr", __FILE__, 3289)); | - |
2886 | QQuickDefaultClipNode *clip = new QQuickDefaultClipNode(item->clipRect()); | - |
2887 | itemPriv->extra.value().clipNode = clip; | - |
2888 | clip->update(); | - |
2889 | | - |
2890 | if (!childTRUE | evaluated 262 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-262 |
2891 | parent->reparentChildNodesTo(clip); | - |
2892 | parent->appendChildNode(clip); | - |
2893 | }executed 262 times by 7 tests: end of block Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
else { | 262 |
2894 | parent->removeChildNode(child); | - |
2895 | clip->appendChildNode(child); | - |
2896 | parent->appendChildNode(clip); | - |
2897 | } never executed: end of block | 0 |
2898 | | - |
2899 | } else { | - |
2900 | QQuickDefaultClipNode *clip = itemPriv->clipNode(); | - |
2901 | ((clip) ? static_cast<void>(0) : qt_assert("clip", __FILE__, 3305)); | - |
2902 | parent->removeChildNode(clip); | - |
2903 | if (childTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
2904 | clip->removeChildNode(child); | - |
2905 | parent->appendChildNode(child); | - |
2906 | } never executed: end of block else { | 0 |
2907 | clip->reparentChildNodesTo(parent); | - |
2908 | } never executed: end of block | 0 |
2909 | | - |
2910 | delete itemPriv->clipNode(); | - |
2911 | itemPriv->extra->clipNode = nullptr; | - |
2912 | } never executed: end of block | 0 |
2913 | } | - |
2914 | | - |
2915 | if (effectRefEffectivelyChangedTRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | evaluated 548559 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 105-548559 |
2916 | if (dirty & QQuickItemPrivate::ChildrenUpdateMaskTRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
) | 0-105 |
2917 | itemPriv->childContainerNode()->removeAllChildNodes();executed 105 times by 6 tests: itemPriv->childContainerNode()->removeAllChildNodes(); Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| 105 |
2918 | | - |
2919 | QSGNode *parent = itemPriv->clipNode(); | - |
2920 | if (!parentTRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
) | 0-105 |
2921 | parent = itemPriv->opacityNode();executed 105 times by 6 tests: parent = itemPriv->opacityNode(); Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| 105 |
2922 | if (!parentTRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
) | 0-105 |
2923 | parent = itemPriv->itemNode();executed 105 times by 6 tests: parent = itemPriv->itemNode(); Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| 105 |
2924 | | - |
2925 | if (itemPriv->extra.isAllocated()TRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
&& itemPriv->extra->effectRefCountTRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
) { | 0-105 |
2926 | ((itemPriv->rootNode() == nullptr) ? static_cast<void>(0) : qt_assert("itemPriv->rootNode() == nullptr", __FILE__, 3330)); | - |
2927 | QSGRootNode *root = new QSGRootNode(); | - |
2928 | itemPriv->extra->rootNode = root; | - |
2929 | parent->reparentChildNodesTo(root); | - |
2930 | parent->appendChildNode(root); | - |
2931 | }executed 105 times by 6 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
else { | 105 |
2932 | ((itemPriv->rootNode() != nullptr) ? static_cast<void>(0) : qt_assert("itemPriv->rootNode() != nullptr", __FILE__, 3336)); | - |
2933 | QSGRootNode *root = itemPriv->rootNode(); | - |
2934 | parent->removeChildNode(root); | - |
2935 | root->reparentChildNodesTo(parent); | - |
2936 | delete itemPriv->rootNode(); | - |
2937 | itemPriv->extra->rootNode = nullptr; | - |
2938 | } never executed: end of block | 0 |
2939 | } | - |
2940 | | - |
2941 | if (dirty & QQuickItemPrivate::ChildrenUpdateMaskTRUE | evaluated 331640 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 217024 times by 57 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- ...
|
) { | 217024-331640 |
2942 | int ii = 0; | - |
2943 | bool fetchedPaintNode = false; | - |
2944 | QList<QQuickItem *> orderedChildren = itemPriv->paintOrderChildItems(); | - |
2945 | int desiredNodesSize = orderedChildren.size() + (itemPriv->paintNodeTRUE | evaluated 150 times by 10 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 331490 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
? 1 : 0); | 150-331490 |
2946 | | - |
2947 | | - |
2948 | | - |
2949 | | - |
2950 | | - |
2951 | | - |
2952 | | - |
2953 | int desiredNodesProcessed = 0; | - |
2954 | | - |
2955 | | - |
2956 | | - |
2957 | | - |
2958 | QSGNode *groupNode = itemPriv->childContainerNode(); | - |
2959 | QSGNode *currentNode = groupNode->firstChild(); | - |
2960 | int added = 0; | - |
2961 | int removed = 0; | - |
2962 | int replaced = 0; | - |
2963 | QSGNode *desiredNode = nullptr; | - |
2964 | | - |
2965 | while (currentNodeTRUE | evaluated 117227 times by 20 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickshortcut
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 331576 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& (TRUE | evaluated 117163 times by 19 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickshortcut
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 64 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
|
desiredNode = fetchNextNode(itemPriv, ii, fetchedPaintNode))TRUE | evaluated 117163 times by 19 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickshortcut
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | evaluated 64 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
|
) { | 64-331576 |
2966 | | - |
2967 | | - |
2968 | if (currentNode != desiredNodeTRUE | evaluated 5346 times by 10 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquickstates
- tst_qquicktaphandler
| FALSE | evaluated 111817 times by 17 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
|
) { | 5346-111817 |
2969 | | - |
2970 | | - |
2971 | if (desiredNode->parent()TRUE | evaluated 570 times by 4 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickstates
| FALSE | evaluated 4776 times by 10 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquickstates
- tst_qquicktaphandler
|
) | 570-4776 |
2972 | desiredNode->parent()->removeChildNode(desiredNode);executed 570 times by 4 tests: desiredNode->parent()->removeChildNode(desiredNode); Executed by:- tst_multipointtoucharea_interop
- tst_qquickitemparticle
- tst_qquicklistview
- tst_qquickstates
| 570 |
2973 | groupNode->insertChildNodeAfter(desiredNode, currentNode); | - |
2974 | groupNode->removeChildNode(currentNode); | - |
2975 | replaced++; | - |
2976 | | - |
2977 | | - |
2978 | | - |
2979 | currentNode = desiredNode; | - |
2980 | }executed 5346 times by 10 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshortcut
- tst_qquickstates
- tst_qquicktaphandler
| 5346 |
2981 | | - |
2982 | currentNode = currentNode->nextSibling(); | - |
2983 | desiredNodesProcessed++; | - |
2984 | }executed 117163 times by 19 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimatedsprite
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickshortcut
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 117163 |
2985 | | - |
2986 | | - |
2987 | | - |
2988 | | - |
2989 | if (desiredNodesProcessed < desiredNodesSizeTRUE | evaluated 95786 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 235854 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 95786-235854 |
2990 | while ((TRUE | evaluated 320095 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 95786 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
desiredNode = fetchNextNode(itemPriv, ii, fetchedPaintNode))TRUE | evaluated 320095 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 95786 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 95786-320095 |
2991 | if (desiredNode->parent()TRUE | never evaluated | FALSE | evaluated 320095 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 0-320095 |
2992 | desiredNode->parent()->removeChildNode(desiredNode); never executed: desiredNode->parent()->removeChildNode(desiredNode); | 0 |
2993 | groupNode->appendChildNode(desiredNode); | - |
2994 | added++; | - |
2995 | }executed 320095 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 320095 |
2996 | }executed 95786 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
else if (currentNodeTRUE | evaluated 4 times by 1 test | FALSE | evaluated 235850 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 4-235850 |
2997 | | - |
2998 | | - |
2999 | | - |
3000 | while (currentNodeTRUE | evaluated 24 times by 1 test | FALSE | evaluated 4 times by 1 test |
) { | 4-24 |
3001 | QSGNode *node = currentNode->nextSibling(); | - |
3002 | groupNode->removeChildNode(currentNode); | - |
3003 | currentNode = node; | - |
3004 | removed++; | - |
3005 | }executed 24 times by 1 test: end of block | 24 |
3006 | }executed 4 times by 1 test: end of block | 4 |
3007 | }executed 331640 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 331640 |
3008 | | - |
3009 | if ((TRUE | evaluated 368568 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 180096 times by 64 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
dirty & QQuickItemPrivate::Size)TRUE | evaluated 368568 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 180096 times by 64 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- ...
|
&& itemPriv->clipNode()TRUE | evaluated 272 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
| FALSE | evaluated 368296 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 272-368568 |
3010 | itemPriv->clipNode()->setRect(item->clipRect()); | - |
3011 | itemPriv->clipNode()->update(); | - |
3012 | }executed 272 times by 7 tests: end of block Executed by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquicktableview
- tst_rendernode
- tst_scenegraph
| 272 |
3013 | | - |
3014 | if (dirty & (QQuickItemPrivate::OpacityValue | QQuickItemPrivate::VisibleTRUE | evaluated 340747 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 207917 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
| 207917-340747 |
3015 | | QQuickItemPrivate::HideReference | QQuickItemPrivate::Window)TRUE | evaluated 340747 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 207917 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 207917-340747 |
3016 | { | - |
3017 | qreal opacity = itemPriv->explicitVisibleTRUE | evaluated 336889 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 3858 times by 17 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickfocusscope
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmultipointtoucharea
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_signalspy
|
&& (!itemPriv->extra.isAllocated()TRUE | evaluated 222852 times by 72 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- ...
| FALSE | evaluated 114037 times by 71 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
|
|| itemPriv->extra->hideRefCount == 0TRUE | evaluated 106694 times by 71 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| FALSE | evaluated 7343 times by 9 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickgridview
- tst_qquickitemlayer
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickshadereffect
- tst_qquickvisualdatamodel
|
) | 3858-336889 |
3018 | ? itemPriv->opacity() : qreal(0); | - |
3019 | | - |
3020 | if (opacity != 1TRUE | evaluated 24745 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_rendernode
- ...
| FALSE | evaluated 316002 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
&& !itemPriv->opacityNode()TRUE | evaluated 12476 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_rendernode
- ...
| FALSE | evaluated 12269 times by 12 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquicktaphandler
- tst_scenegraph
|
) { | 12269-316002 |
3021 | QSGOpacityNode *node = new QSGOpacityNode; | - |
3022 | itemPriv->extra.value().opacityNode = node; | - |
3023 | | - |
3024 | QSGNode *parent = itemPriv->itemNode(); | - |
3025 | QSGNode *child = itemPriv->clipNode(); | - |
3026 | if (!childTRUE | evaluated 12474 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_rendernode
- ...
| FALSE | evaluated 2 times by 1 test |
) | 2-12474 |
3027 | child = itemPriv->rootNode();executed 12474 times by 27 tests: child = itemPriv->rootNode(); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_rendernode
- ...
| 12474 |
3028 | | - |
3029 | if (childTRUE | evaluated 93 times by 4 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
| FALSE | evaluated 12383 times by 26 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_rendernode
- tst_scenegraph
- ...
|
) { | 93-12383 |
3030 | parent->removeChildNode(child); | - |
3031 | node->appendChildNode(child); | - |
3032 | parent->appendChildNode(node); | - |
3033 | }executed 93 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
else { | 93 |
3034 | parent->reparentChildNodesTo(node); | - |
3035 | parent->appendChildNode(node); | - |
3036 | }executed 12383 times by 26 tests: end of block Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_rendernode
- tst_scenegraph
- ...
| 12383 |
3037 | } | - |
3038 | if (itemPriv->opacityNode()TRUE | evaluated 30073 times by 27 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_rendernode
- ...
| FALSE | evaluated 310674 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 30073-310674 |
3039 | itemPriv->opacityNode()->setOpacity(opacity);executed 30073 times by 27 tests: itemPriv->opacityNode()->setOpacity(opacity); Executed by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickstates
- tst_qquicktaphandler
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_rendernode
- ...
| 30073 |
3040 | }executed 340747 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 340747 |
3041 | | - |
3042 | if (dirty & QQuickItemPrivate::ContentUpdateMaskTRUE | evaluated 420104 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| FALSE | evaluated 128560 times by 32 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpainteditem
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickpositioners
- tst_qquickshadereffect
- tst_qquickshortcut
- tst_qquickspringanimation
- ...
|
) { | 128560-420104 |
3043 | | - |
3044 | if (itemPriv->flags & QQuickItem::ItemHasContentsTRUE | evaluated 380225 times by 71 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| FALSE | evaluated 39879 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 39879-380225 |
3045 | updatePaintNodeData.transformNode = itemPriv->itemNode(); | - |
3046 | itemPriv->paintNode = item->updatePaintNode(itemPriv->paintNode, &updatePaintNodeData); | - |
3047 | | - |
3048 | ((itemPriv->paintNode == nullptr || itemPriv->paintNode->parent() == nullptr || itemPriv->paintNode->parent() == itemPriv->childContainerNode()) ? static_cast<void>(0) : qt_assert("itemPriv->paintNode == nullptr || itemPriv->paintNode->parent() == nullptr || itemPriv->paintNode->parent() == itemPriv->childContainerNode()", | - |
3049 | | - |
3050 | __FILE__ | - |
3051 | , | - |
3052 | | - |
3053 | 3454 | - |
3054 | )) | - |
3055 | | - |
3056 | ; | - |
3057 | | - |
3058 | if (itemPriv->paintNodeTRUE | evaluated 337840 times by 71 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| FALSE | evaluated 42385 times by 40 testsEvaluated by:- tst_examples
- tst_flickableinterop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemlayer
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklineextruder
- tst_qquicklistview
- tst_qquickmaskextruder
- tst_qquickpainteditem
- ...
|
&& itemPriv->paintNode->parent() == nullptrTRUE | evaluated 251660 times by 71 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| FALSE | evaluated 86180 times by 50 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitem
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquicklayouts
- ...
|
) { | 42385-337840 |
3059 | QSGNode *before = qquickitem_before_paintNode(itemPriv); | - |
3060 | if (beforeTRUE | evaluated 204 times by 1 test | FALSE | evaluated 251456 times by 71 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
|
&& before->parent()TRUE | evaluated 204 times by 1 test | FALSE | never evaluated |
) { | 0-251456 |
3061 | ((before->parent() == itemPriv->childContainerNode()) ? static_cast<void>(0) : qt_assert("before->parent() == itemPriv->childContainerNode()", __FILE__, 3459)); | - |
3062 | itemPriv->childContainerNode()->insertChildNodeAfter(itemPriv->paintNode, before); | - |
3063 | }executed 204 times by 1 test: end of block else { | 204 |
3064 | itemPriv->childContainerNode()->prependChildNode(itemPriv->paintNode); | - |
3065 | }executed 251456 times by 71 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 251456 |
3066 | } | - |
3067 | }executed 380225 times by 71 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
else if (itemPriv->paintNodeTRUE | never evaluated | FALSE | evaluated 39879 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) { | 0-380225 |
3068 | delete itemPriv->paintNode; | - |
3069 | itemPriv->paintNode = nullptr; | - |
3070 | } never executed: end of block | 0 |
3071 | }executed 420104 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 420104 |
3072 | | - |
3073 | | - |
3074 | | - |
3075 | | - |
3076 | QList<QSGNode *> nodes; | - |
3077 | nodes << itemPriv->itemNodeInstance | - |
3078 | << itemPriv->opacityNode() | - |
3079 | << itemPriv->clipNode() | - |
3080 | << itemPriv->rootNode() | - |
3081 | << itemPriv->paintNode; | - |
3082 | nodes.removeAll(0); | - |
3083 | | - |
3084 | ((nodes.constFirst() == itemPriv->itemNodeInstance) ? static_cast<void>(0) : qt_assert("nodes.constFirst() == itemPriv->itemNodeInstance", __FILE__, 3482)); | - |
3085 | for (int i=1; i<nodes.size()TRUE | evaluated 473014 times by 72 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| FALSE | evaluated 548664 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
; ++i) { | 473014-548664 |
3086 | QSGNode *n = nodes.at(i); | - |
3087 | | - |
3088 | ((n->parent() == nodes.at(i-1)) ? static_cast<void>(0) : qt_assert("n->parent() == nodes.at(i-1)", __FILE__, 3486)); | - |
3089 | | - |
3090 | ((n == itemPriv->paintNode || n == itemPriv->childContainerNode() || n->childCount() == 1) ? static_cast<void>(0) : qt_assert("n == itemPriv->paintNode || n == itemPriv->childContainerNode() || n->childCount() == 1", __FILE__, 3488)); | - |
3091 | }executed 473014 times by 72 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
| 473014 |
3092 | | - |
3093 | | - |
3094 | }executed 548664 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 548664 |
3095 | | - |
3096 | bool QQuickWindowPrivate::emitError(QQuickWindow::SceneGraphError error, const QString &msg) | - |
3097 | { | - |
3098 | QQuickWindow * const q = q_func(); | - |
3099 | static const QMetaMethod errorSignal = QMetaMethod::fromSignal(&QQuickWindow::sceneGraphError); | - |
3100 | if (q->isSignalConnected(errorSignal)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
3101 | q->sceneGraphError(error, msg); | - |
3102 | return never executed: return true; true;never executed: return true; | 0 |
3103 | } | - |
3104 | return never executed: return false; false;never executed: return false; | 0 |
3105 | } | - |
3106 | | - |
3107 | void QQuickWindow::maybeUpdate() | - |
3108 | { | - |
3109 | QQuickWindowPrivate * const d = d_func(); | - |
3110 | if (d->renderControlTRUE | evaluated 1290 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | evaluated 2039648 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
|
) | 1290-2039648 |
3111 | QQuickRenderControlPrivate::get(d->renderControl)->maybeUpdate();executed 1290 times by 2 tests: QQuickRenderControlPrivate::get(d->renderControl)->maybeUpdate(); Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 1290 |
3112 | else if (d->windowManagerTRUE | evaluated 2039648 times by 89 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| FALSE | never evaluated |
) | 0-2039648 |
3113 | d->windowManager->maybeUpdate(this);executed 2039648 times by 89 tests: d->windowManager->maybeUpdate(this); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 2039648 |
3114 | }executed 2040938 times by 90 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 2040938 |
3115 | | - |
3116 | void QQuickWindow::cleanupSceneGraph() | - |
3117 | { | - |
3118 | QQuickWindowPrivate * const d = d_func(); | - |
3119 | | - |
3120 | delete d->vaoHelper; | - |
3121 | d->vaoHelper = nullptr; | - |
3122 | | - |
3123 | if (!d->rendererTRUE | evaluated 5030 times by 90 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| FALSE | evaluated 3498 times by 76 testsEvaluated by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
|
) | 3498-5030 |
3124 | return;executed 5030 times by 90 tests: return; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- tst_qquickdroparea
- ...
| 5030 |
3125 | | - |
3126 | delete d->renderer->rootNode(); | - |
3127 | delete d->renderer; | - |
3128 | d->renderer = nullptr; | - |
3129 | | - |
3130 | d->runAndClearJobs(&d->beforeSynchronizingJobs); | - |
3131 | d->runAndClearJobs(&d->afterSynchronizingJobs); | - |
3132 | d->runAndClearJobs(&d->beforeRenderingJobs); | - |
3133 | d->runAndClearJobs(&d->afterRenderingJobs); | - |
3134 | d->runAndClearJobs(&d->afterSwapJobs); | - |
3135 | }executed 3498 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 3498 |
3136 | | - |
3137 | void QQuickWindow::setTransientParent_helper(QQuickWindow *window) | - |
3138 | { | - |
3139 | for (bool qt_category_enabled = lcTransient().isDebugEnabled(); qt_category_enabledTRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickloader
- tst_qquickmousearea
|
; qt_category_enabled = false) QMessageLogger(__FILE__, 3537, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << this << "is transient for" << window;never executed: QMessageLogger(__FILE__, 3537, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << this << "is transient for" << window; | 0-6 |
3140 | setTransientParent(window); | - |
3141 | disconnect(sender(), qFlagLocation("2""windowChanged(QQuickWindow*)" "\0" __FILE__ ":" "3539"), | - |
3142 | this, qFlagLocation("1""setTransientParent_helper(QQuickWindow*)" "\0" __FILE__ ":" "3540")); | - |
3143 | }executed 6 times by 2 tests: end of block Executed by:- tst_qquickloader
- tst_qquickmousearea
| 6 |
3144 | QOpenGLContext *QQuickWindow::openglContext() const | - |
3145 | { | - |
3146 | | - |
3147 | const QQuickWindowPrivate * const d = d_func(); | - |
3148 | if (d->contextTRUE | evaluated 1998 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickgraphicsinfo
- tst_qquickopenglinfo
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
| FALSE | never evaluated |
&& d->context->isValid()TRUE | evaluated 1880 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
| FALSE | evaluated 118 times by 4 testsEvaluated by:- tst_qquickgraphicsinfo
- tst_qquickopenglinfo
- tst_qquickshortcut
- tst_qquickwidget
|
) { | 0-1998 |
3149 | QSGRendererInterface *rif = d->context->sceneGraphContext()->rendererInterface(d->context); | - |
3150 | if (rifTRUE | evaluated 1880 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
| FALSE | never evaluated |
&& rif->graphicsApi() == QSGRendererInterface::OpenGLTRUE | evaluated 1880 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
| FALSE | never evaluated |
) { | 0-1880 |
3151 | auto openglRenderContext = static_cast<const QSGDefaultRenderContext *>(d->context); | - |
3152 | returnexecuted 1880 times by 6 tests: return openglRenderContext->openglContext(); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
openglRenderContext->openglContext();executed 1880 times by 6 tests: return openglRenderContext->openglContext(); Executed by:- tst_examples
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
| 1880 |
3153 | } | - |
3154 | } never executed: end of block | 0 |
3155 | | - |
3156 | returnexecuted 118 times by 4 tests: return nullptr; Executed by:- tst_qquickgraphicsinfo
- tst_qquickopenglinfo
- tst_qquickshortcut
- tst_qquickwidget
nullptr;executed 118 times by 4 tests: return nullptr; Executed by:- tst_qquickgraphicsinfo
- tst_qquickopenglinfo
- tst_qquickshortcut
- tst_qquickwidget
| 118 |
3157 | } | - |
3158 | | - |
3159 | | - |
3160 | | - |
3161 | | - |
3162 | bool QQuickWindow::isSceneGraphInitialized() const | - |
3163 | { | - |
3164 | const QQuickWindowPrivate * const d = d_func(); | - |
3165 | returnexecuted 4099 times by 13 tests: return d->context != nullptr && d->context->isValid(); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickgraphicsinfo
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickshape
- tst_qquickspritesequence
- tst_scenegraph
d->context != nullptr && d->context->isValid();executed 4099 times by 13 tests: return d->context != nullptr && d->context->isValid(); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickgraphicsinfo
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickshape
- tst_qquickspritesequence
- tst_scenegraph
| 4099 |
3166 | } | - |
3167 | void QQuickWindow::setRenderTarget(QOpenGLFramebufferObject *fbo) | - |
3168 | { | - |
3169 | QQuickWindowPrivate * const d = d_func(); | - |
3170 | if (d->contextTRUE | evaluated 124 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | never evaluated |
&& QThread::currentThread() != d->context->thread()TRUE | never evaluated | FALSE | evaluated 124 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
|
) { | 0-124 |
3171 | QMessageLogger(__FILE__, 3705, __PRETTY_FUNCTION__).warning("QQuickWindow::setRenderTarget: Cannot set render target from outside the rendering thread"); | - |
3172 | return; never executed: return; | 0 |
3173 | } | - |
3174 | | - |
3175 | d->renderTarget = fbo; | - |
3176 | if (fboTRUE | evaluated 124 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | never evaluated |
) { | 0-124 |
3177 | d->renderTargetId = fbo->handle(); | - |
3178 | d->renderTargetSize = fbo->size(); | - |
3179 | }executed 124 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
else { | 124 |
3180 | d->renderTargetId = 0; | - |
3181 | d->renderTargetSize = QSize(); | - |
3182 | } never executed: end of block | 0 |
3183 | } | - |
3184 | void QQuickWindow::setRenderTarget(uint fboId, const QSize &size) | - |
3185 | { | - |
3186 | QQuickWindowPrivate * const d = d_func(); | - |
3187 | if (d->contextTRUE | never evaluated | FALSE | never evaluated |
&& QThread::currentThread() != d->context->thread()TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
3188 | QMessageLogger(__FILE__, 3746, __PRETTY_FUNCTION__).warning("QQuickWindow::setRenderThread: Cannot set render target from outside the rendering thread"); | - |
3189 | return; never executed: return; | 0 |
3190 | } | - |
3191 | | - |
3192 | d->renderTargetId = fboId; | - |
3193 | d->renderTargetSize = size; | - |
3194 | | - |
3195 | | - |
3196 | d->renderTarget = nullptr; | - |
3197 | } never executed: end of block | 0 |
3198 | | - |
3199 | | - |
3200 | | - |
3201 | | - |
3202 | | - |
3203 | uint QQuickWindow::renderTargetId() const | - |
3204 | { | - |
3205 | const QQuickWindowPrivate * const d = d_func(); | - |
3206 | return never executed: return d->renderTargetId; d->renderTargetId;never executed: return d->renderTargetId; | 0 |
3207 | } | - |
3208 | | - |
3209 | | - |
3210 | | - |
3211 | | - |
3212 | QSize QQuickWindow::renderTargetSize() const | - |
3213 | { | - |
3214 | const QQuickWindowPrivate * const d = d_func(); | - |
3215 | return never executed: return d->renderTargetSize; d->renderTargetSize;never executed: return d->renderTargetSize; | 0 |
3216 | } | - |
3217 | QOpenGLFramebufferObject *QQuickWindow::renderTarget() const | - |
3218 | { | - |
3219 | const QQuickWindowPrivate * const d = d_func(); | - |
3220 | return never executed: return d->renderTarget; d->renderTarget;never executed: return d->renderTarget; | 0 |
3221 | } | - |
3222 | QImage QQuickWindow::grabWindow() | - |
3223 | { | - |
3224 | QQuickWindowPrivate * const d = d_func(); | - |
3225 | | - |
3226 | if (!isVisible()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | evaluated 564 times by 12 testsEvaluated by:- tst_drawingmodes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickrectangle
- tst_qquickshape
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
|
&& !d->renderControlTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
) { | 0-564 |
3227 | if (d->windowManagerTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
&& (TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
|
d->windowManager->flags() & QSGRenderLoop::SupportsGrabWithoutExpose)TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
|
) | 0-6 |
3228 | return never executed: return d->windowManager->grab(this); d->windowManager->grab(this);never executed: return d->windowManager->grab(this); | 0 |
3229 | }executed 6 times by 2 tests: end of block Executed by:- tst_qquickborderimage
- tst_qquickimage
| 6 |
3230 | | - |
3231 | | - |
3232 | if (!isVisible()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | evaluated 564 times by 12 testsEvaluated by:- tst_drawingmodes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickrectangle
- tst_qquickshape
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
|
&& !d->renderControlTRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
) { | 0-564 |
3233 | auto openglRenderContext = static_cast<QSGDefaultRenderContext *>(d->context); | - |
3234 | if (!openglRenderContext->openglContext()TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
) { | 0-6 |
3235 | if (!handle()TRUE | evaluated 4 times by 1 test | FALSE | evaluated 2 times by 1 test |
|| !size().isValid()TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
) { | 0-4 |
3236 | QMessageLogger(__FILE__, 3822, __PRETTY_FUNCTION__).warning("QQuickWindow::grabWindow: window must be created and have a valid size"); | - |
3237 | returnexecuted 4 times by 1 test: return QImage(); QImage();executed 4 times by 1 test: return QImage(); | 4 |
3238 | } | - |
3239 | | - |
3240 | QOpenGLContext context; | - |
3241 | context.setFormat(requestedFormat()); | - |
3242 | context.setShareContext(qt_gl_global_share_context()); | - |
3243 | context.create(); | - |
3244 | context.makeCurrent(this); | - |
3245 | d->context->initialize(&context); | - |
3246 | | - |
3247 | d->polishItems(); | - |
3248 | d->syncSceneGraph(); | - |
3249 | d->renderSceneGraph(size()); | - |
3250 | | - |
3251 | bool alpha = format().alphaBufferSize() > 0TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
&& color().alpha() < 255TRUE | never evaluated | FALSE | never evaluated |
; | 0-2 |
3252 | QImage image = qt_gl_read_framebuffer(size() * effectiveDevicePixelRatio(), alpha, alpha); | - |
3253 | image.setDevicePixelRatio(effectiveDevicePixelRatio()); | - |
3254 | d->cleanupNodesOnShutdown(); | - |
3255 | d->context->invalidate(); | - |
3256 | context.doneCurrent(); | - |
3257 | | - |
3258 | returnexecuted 2 times by 1 test: return image; image;executed 2 times by 1 test: return image; | 2 |
3259 | } | - |
3260 | } never executed: end of block | 0 |
3261 | | - |
3262 | if (d->renderControlTRUE | never evaluated | FALSE | evaluated 564 times by 12 testsEvaluated by:- tst_drawingmodes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickrectangle
- tst_qquickshape
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
|
) | 0-564 |
3263 | return never executed: return d->renderControl->grab(); d->renderControl->grab();never executed: return d->renderControl->grab(); | 0 |
3264 | else if (d->windowManagerTRUE | evaluated 564 times by 12 testsEvaluated by:- tst_drawingmodes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickrectangle
- tst_qquickshape
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| FALSE | never evaluated |
) | 0-564 |
3265 | returnexecuted 564 times by 12 tests: return d->windowManager->grab(this); Executed by:- tst_drawingmodes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickrectangle
- tst_qquickshape
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
d->windowManager->grab(this);executed 564 times by 12 tests: return d->windowManager->grab(this); Executed by:- tst_drawingmodes
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickframebufferobject
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickrectangle
- tst_qquickshape
- tst_qquicktext
- tst_qquicktextedit
- tst_rendernode
- tst_scenegraph
| 564 |
3266 | return never executed: return QImage(); QImage();never executed: return QImage(); | 0 |
3267 | } | - |
3268 | QQmlIncubationController *QQuickWindow::incubationController() const | - |
3269 | { | - |
3270 | const QQuickWindowPrivate * const d = d_func(); | - |
3271 | | - |
3272 | if (!d->windowManagerTRUE | evaluated 108 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | evaluated 3314 times by 84 testsEvaluated by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- ...
|
) | 108-3314 |
3273 | returnexecuted 108 times by 2 tests: return nullptr; Executed by:- tst_qquickshortcut
- tst_qquickwidget
nullptr;executed 108 times by 2 tests: return nullptr; Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 108 |
3274 | | - |
3275 | if (!d->incubationControllerTRUE | evaluated 3308 times by 84 testsEvaluated by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- ...
| FALSE | evaluated 6 times by 1 test |
) | 6-3308 |
3276 | d->incubationController = new QQuickWindowIncubationController(d->windowManager);executed 3308 times by 84 tests: d->incubationController = new QQuickWindowIncubationController(d->windowManager); Executed by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- ...
| 3308 |
3277 | returnexecuted 3314 times by 84 tests: return d->incubationController; Executed by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- ...
d->incubationController;executed 3314 times by 84 tests: return d->incubationController; Executed by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- ...
| 3314 |
3278 | } | - |
3279 | void QQuickWindow::setClearBeforeRendering(bool enabled) | - |
3280 | { | - |
3281 | QQuickWindowPrivate * const d = d_func(); | - |
3282 | d->clearBeforeRendering = enabled; | - |
3283 | } never executed: end of block | 0 |
3284 | | - |
3285 | | - |
3286 | | - |
3287 | | - |
3288 | | - |
3289 | | - |
3290 | | - |
3291 | bool QQuickWindow::clearBeforeRendering() const | - |
3292 | { | - |
3293 | const QQuickWindowPrivate * const d = d_func(); | - |
3294 | return never executed: return d->clearBeforeRendering; d->clearBeforeRendering;never executed: return d->clearBeforeRendering; | 0 |
3295 | } | - |
3296 | | - |
3297 | | - |
3298 | | - |
3299 | | - |
3300 | | - |
3301 | QSGTexture *QQuickWindow::createTextureFromImage(const QImage &image) const | - |
3302 | { | - |
3303 | returnexecuted 30 times by 2 tests: return createTextureFromImage(image, nullptr); Executed by:- tst_qquickanimatedsprite
- tst_qquickspritesequence
createTextureFromImage(image, nullptr);executed 30 times by 2 tests: return createTextureFromImage(image, nullptr); Executed by:- tst_qquickanimatedsprite
- tst_qquickspritesequence
| 30 |
3304 | } | - |
3305 | QSGTexture *QQuickWindow::createTextureFromImage(const QImage &image, CreateTextureOptions options) const | - |
3306 | { | - |
3307 | const QQuickWindowPrivate * const d = d_func(); | - |
3308 | if (!isSceneGraphInitialized()TRUE | never evaluated | FALSE | evaluated 397 times by 10 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickspritesequence
- tst_scenegraph
|
) | 0-397 |
3309 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
3310 | uint flags = 0; | - |
3311 | if (options & TextureCanUseAtlasTRUE | evaluated 367 times by 8 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
| FALSE | evaluated 30 times by 2 testsEvaluated by:- tst_qquickanimatedsprite
- tst_qquickspritesequence
|
) flags |= QSGRenderContext::CreateTexture_Atlas;executed 367 times by 8 tests: flags |= QSGRenderContext::CreateTexture_Atlas; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_scenegraph
| 30-367 |
3312 | if (options & TextureHasMipmapsTRUE | never evaluated | FALSE | evaluated 397 times by 10 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickspritesequence
- tst_scenegraph
|
) flags |= QSGRenderContext::CreateTexture_Mipmap;never executed: flags |= QSGRenderContext::CreateTexture_Mipmap; | 0-397 |
3313 | if (!(options & TextureIsOpaque)TRUE | evaluated 397 times by 10 testsEvaluated by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickspritesequence
- tst_scenegraph
| FALSE | never evaluated |
) flags |= QSGRenderContext::CreateTexture_Alpha;executed 397 times by 10 tests: flags |= QSGRenderContext::CreateTexture_Alpha; Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickspritesequence
- tst_scenegraph
| 0-397 |
3314 | returnexecuted 397 times by 10 tests: return d->context->createTexture(image, flags); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickspritesequence
- tst_scenegraph
d->context->createTexture(image, flags);executed 397 times by 10 tests: return d->context->createTexture(image, flags); Executed by:- tst_examples
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcustomparticle
- tst_qquickimage
- tst_qquickitemparticle
- tst_qquickshadereffect
- tst_qquickspritesequence
- tst_scenegraph
| 397 |
3315 | } | - |
3316 | QSGTexture *QQuickWindow::createTextureFromId(uint id, const QSize &size, CreateTextureOptions options) const | - |
3317 | { | - |
3318 | | - |
3319 | if (openglContext()TRUE | evaluated 20 times by 1 testEvaluated by:- tst_qquickframebufferobject
| FALSE | never evaluated |
) { | 0-20 |
3320 | QSGPlainTexture *texture = new QSGPlainTexture(); | - |
3321 | texture->setTextureId(id); | - |
3322 | texture->setHasAlphaChannel(options & TextureHasAlphaChannel); | - |
3323 | texture->setOwnsTexture(options & TextureOwnsGLTexture); | - |
3324 | texture->setTextureSize(size); | - |
3325 | returnexecuted 20 times by 1 test: return texture; Executed by:- tst_qquickframebufferobject
texture;executed 20 times by 1 test: return texture; Executed by:- tst_qquickframebufferobject
| 20 |
3326 | } | - |
3327 | | - |
3328 | | - |
3329 | | - |
3330 | | - |
3331 | | - |
3332 | return never executed: return nullptr; nullptr;never executed: return nullptr; | 0 |
3333 | } | - |
3334 | void QQuickWindow::setColor(const QColor &color) | - |
3335 | { | - |
3336 | QQuickWindowPrivate * const d = d_func(); | - |
3337 | if (color == d->clearColorTRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qquickloader
|
) | 0-8 |
3338 | return; never executed: return; | 0 |
3339 | | - |
3340 | if (color.alpha() != d->clearColor.alpha()TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qquickloader
|
) { | 0-8 |
3341 | QSurfaceFormat fmt = requestedFormat(); | - |
3342 | if (color.alpha() < 255TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3343 | fmt.setAlphaBufferSize(8); never executed: fmt.setAlphaBufferSize(8); | 0 |
3344 | else | - |
3345 | fmt.setAlphaBufferSize(-1); never executed: fmt.setAlphaBufferSize(-1); | 0 |
3346 | setFormat(fmt); | - |
3347 | } never executed: end of block | 0 |
3348 | d->clearColor = color; | - |
3349 | colorChanged(color); | - |
3350 | update(); | - |
3351 | }executed 8 times by 2 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qquickloader
| 8 |
3352 | | - |
3353 | QColor QQuickWindow::color() const | - |
3354 | { | - |
3355 | return never executed: return d_func()->clearColor; d_func()->clearColor;never executed: return d_func()->clearColor; | 0 |
3356 | } | - |
3357 | | - |
3358 | | - |
3359 | | - |
3360 | | - |
3361 | | - |
3362 | | - |
3363 | | - |
3364 | bool QQuickWindow::hasDefaultAlphaBuffer() | - |
3365 | { | - |
3366 | returnexecuted 8480 times by 90 tests: return QQuickWindowPrivate::defaultAlphaBuffer; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
QQuickWindowPrivate::defaultAlphaBuffer;executed 8480 times by 90 tests: return QQuickWindowPrivate::defaultAlphaBuffer; Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_nodestest
- tst_qqmlcomponent
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdrag
- tst_qquickdraghandler
- ...
| 8480 |
3367 | } | - |
3368 | void QQuickWindow::setDefaultAlphaBuffer(bool useAlpha) | - |
3369 | { | - |
3370 | QQuickWindowPrivate::defaultAlphaBuffer = useAlpha; | - |
3371 | } never executed: end of block | 0 |
3372 | void QQuickWindow::resetOpenGLState() | - |
3373 | { | - |
3374 | if (!openglContext()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3375 | return; never executed: return; | 0 |
3376 | | - |
3377 | QQuickWindowPrivate * const d = d_func(); | - |
3378 | | - |
3379 | QOpenGLContext *ctx = openglContext(); | - |
3380 | QOpenGLFunctions *gl = ctx->functions(); | - |
3381 | | - |
3382 | gl->glBindBuffer(0x8892, 0); | - |
3383 | gl->glBindBuffer(0x8893, 0); | - |
3384 | | - |
3385 | if (!d->vaoHelperTRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3386 | d->vaoHelper = new QOpenGLVertexArrayObjectHelper(ctx); never executed: d->vaoHelper = new QOpenGLVertexArrayObjectHelper(ctx); | 0 |
3387 | if (d->vaoHelper->isValid()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3388 | d->vaoHelper->glBindVertexArray(0); never executed: d->vaoHelper->glBindVertexArray(0); | 0 |
3389 | | - |
3390 | if (ctx->isOpenGLES()TRUE | never evaluated | FALSE | never evaluated |
|| (TRUE | never evaluated | FALSE | never evaluated |
gl->openGLFeatures() & QOpenGLFunctions::FixedFunctionPipeline)TRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
3391 | int maxAttribs; | - |
3392 | gl->glGetIntegerv(0x8869, &maxAttribs); | - |
3393 | for (int i=0; i<maxAttribsTRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
3394 | gl->glVertexAttribPointer(i, 4, | - |
3395 | 0x1406 | - |
3396 | , | - |
3397 | 0 | - |
3398 | , 0, nullptr); | - |
3399 | gl->glDisableVertexAttribArray(i); | - |
3400 | } never executed: end of block | 0 |
3401 | } never executed: end of block | 0 |
3402 | | - |
3403 | gl->glActiveTexture( | - |
3404 | 0x84C0 | - |
3405 | ); | - |
3406 | gl->glBindTexture( | - |
3407 | 0x0DE1 | - |
3408 | , 0); | - |
3409 | | - |
3410 | gl->glDisable( | - |
3411 | 0x0B71 | - |
3412 | ); | - |
3413 | gl->glDisable( | - |
3414 | 0x0B90 | - |
3415 | ); | - |
3416 | gl->glDisable( | - |
3417 | 0x0C11 | - |
3418 | ); | - |
3419 | | - |
3420 | gl->glColorMask(true, true, true, true); | - |
3421 | gl->glClearColor(0, 0, 0, 0); | - |
3422 | | - |
3423 | gl->glDepthMask(true); | - |
3424 | gl->glDepthFunc( | - |
3425 | 0x0201 | - |
3426 | ); | - |
3427 | gl->glClearDepthf(1); | - |
3428 | | - |
3429 | gl->glStencilMask(0xff); | - |
3430 | gl->glStencilOp( | - |
3431 | 0x1E00 | - |
3432 | , | - |
3433 | 0x1E00 | - |
3434 | , | - |
3435 | 0x1E00 | - |
3436 | ); | - |
3437 | gl->glStencilFunc( | - |
3438 | 0x0207 | - |
3439 | , 0, 0xff); | - |
3440 | | - |
3441 | gl->glDisable( | - |
3442 | 0x0BE2 | - |
3443 | ); | - |
3444 | gl->glBlendFunc( | - |
3445 | 1 | - |
3446 | , | - |
3447 | 0 | - |
3448 | ); | - |
3449 | | - |
3450 | gl->glUseProgram(0); | - |
3451 | | - |
3452 | QOpenGLFramebufferObject::bindDefault(); | - |
3453 | } never executed: end of block | 0 |
3454 | void QQuickWindow::scheduleRenderJob(QRunnable *job, RenderStage stage) | - |
3455 | { | - |
3456 | QQuickWindowPrivate * const d = d_func(); | - |
3457 | | - |
3458 | d->renderJobMutex.lock(); | - |
3459 | if (stage == BeforeSynchronizingStageTRUE | never evaluated | FALSE | evaluated 95 times by 4 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
|
) { | 0-95 |
3460 | d->beforeSynchronizingJobs << job; | - |
3461 | } never executed: end of block else if (stage == AfterSynchronizingStageTRUE | evaluated 95 times by 4 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
| FALSE | never evaluated |
) { | 0-95 |
3462 | d->afterSynchronizingJobs << job; | - |
3463 | }executed 95 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
else if (stage == BeforeRenderingStageTRUE | never evaluated | FALSE | never evaluated |
) { | 0-95 |
3464 | d->beforeRenderingJobs << job; | - |
3465 | } never executed: end of block else if (stage == AfterRenderingStageTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
3466 | d->afterRenderingJobs << job; | - |
3467 | } never executed: end of block else if (stage == AfterSwapStageTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
3468 | d->afterSwapJobs << job; | - |
3469 | } never executed: end of block else if (stage == NoStageTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
3470 | if (isExposed()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3471 | d->windowManager->postJob(this, job); never executed: d->windowManager->postJob(this, job); | 0 |
3472 | else | - |
3473 | delete job; never executed: delete job; | 0 |
3474 | } | - |
3475 | d->renderJobMutex.unlock(); | - |
3476 | }executed 95 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
| 95 |
3477 | | - |
3478 | void QQuickWindowPrivate::runAndClearJobs(QList<QRunnable *> *jobs) | - |
3479 | { | - |
3480 | renderJobMutex.lock(); | - |
3481 | QList<QRunnable *> jobList = *jobs; | - |
3482 | jobs->clear(); | - |
3483 | renderJobMutex.unlock(); | - |
3484 | | - |
3485 | for (QRunnable *r : qAsConst(jobList)) { | - |
3486 | r->run(); | - |
3487 | delete r; | - |
3488 | }executed 95 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
| 95 |
3489 | }executed 269061 times by 76 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 269061 |
3490 | | - |
3491 | void QQuickWindow::runJobsAfterSwap() | - |
3492 | { | - |
3493 | QQuickWindowPrivate * const d = d_func(); | - |
3494 | d->runAndClearJobs(&d->afterSwapJobs); | - |
3495 | }executed 49087 times by 75 tests: end of block Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 49087 |
3496 | qreal QQuickWindow::effectiveDevicePixelRatio() const | - |
3497 | { | - |
3498 | QWindow *w = QQuickRenderControl::renderWindowFor(const_cast<QQuickWindow *>(this)); | - |
3499 | returnexecuted 54939 times by 76 tests: return w ? w->devicePixelRatio() : devicePixelRatio(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
w ? w->devicePixelRatio() : devicePixelRatio();executed 54939 times by 76 tests: return w ? w->devicePixelRatio() : devicePixelRatio(); Executed by:- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlcomponent
- tst_qqmltypeloader
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgravity
- ...
| 54939 |
3500 | } | - |
3501 | QSGRendererInterface *QQuickWindow::rendererInterface() const | - |
3502 | { | - |
3503 | const QQuickWindowPrivate * const d = d_func(); | - |
3504 | | - |
3505 | | - |
3506 | | - |
3507 | | - |
3508 | | - |
3509 | | - |
3510 | | - |
3511 | returnexecuted 1745 times by 9 tests: return d->context->sceneGraphContext()->rendererInterface(d->context); Executed by:- tst_examples
- tst_qquickborderimage
- tst_qquickgraphicsinfo
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickshape
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
d->context->sceneGraphContext()->rendererInterface(d->context);executed 1745 times by 9 tests: return d->context->sceneGraphContext()->rendererInterface(d->context); Executed by:- tst_examples
- tst_qquickborderimage
- tst_qquickgraphicsinfo
- tst_qquickimage
- tst_qquickitemlayer
- tst_qquickshape
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
| 1745 |
3512 | } | - |
3513 | void QQuickWindow::setSceneGraphBackend(QSGRendererInterface::GraphicsApi api) | - |
3514 | { | - |
3515 | switch (api) { | - |
3516 | caseexecuted 2 times by 1 test: case QSGRendererInterface::Software: QSGRendererInterface::Software:executed 2 times by 1 test: case QSGRendererInterface::Software: | 2 |
3517 | setSceneGraphBackend(([]() noexcept -> QString { enum { Size = sizeof(u"" "software")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "software" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); returnexecuted 2 times by 1 test: return qstring_literal_temp; qstring_literal_temp;executed 2 times by 1 test: return qstring_literal_temp; }())); | 2 |
3518 | break;executed 2 times by 1 test: break; | 2 |
3519 | case never executed: case QSGRendererInterface::Direct3D12: QSGRendererInterface::Direct3D12:never executed: case QSGRendererInterface::Direct3D12: | 0 |
3520 | setSceneGraphBackend(([]() noexcept -> QString { enum { Size = sizeof(u"" "d3d12")/2 - 1 }; static const QStaticStringData<Size> qstring_literal = { { { { -1 } }, Size, 0, 0, sizeof(QStringData) }, u"" "d3d12" }; QStringDataPtr holder = { qstring_literal.data_ptr() }; const QString qstring_literal_temp(holder); return never executed: return qstring_literal_temp; qstring_literal_temp;never executed: return qstring_literal_temp; }())); | 0 |
3521 | break; never executed: break; | 0 |
3522 | default never executed: default: :never executed: default: | 0 |
3523 | break; never executed: break; | 0 |
3524 | } | - |
3525 | } | - |
3526 | void QQuickWindow::setSceneGraphBackend(const QString &backend) | - |
3527 | { | - |
3528 | QSGContext::setBackend(backend); | - |
3529 | }executed 2 times by 1 test: end of block | 2 |
3530 | QString QQuickWindow::sceneGraphBackend() | - |
3531 | { | - |
3532 | returnexecuted 68 times by 34 tests: return QSGContext::backend(); Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpixmapcache
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshadereffect
- tst_qquickspritegoal
- ...
QSGContext::backend();executed 68 times by 34 tests: return QSGContext::backend(); Executed by:- tst_examples
- tst_qquickage
- tst_qquickangleddirection
- tst_qquickanimatedsprite
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickellipseextruder
- tst_qquickfriction
- tst_qquickgravity
- tst_qquickgroupgoal
- tst_qquickimage
- tst_qquickimageparticle
- tst_qquickitemparticle
- tst_qquicklineextruder
- tst_qquickmaskextruder
- tst_qquickparticlegroup
- tst_qquickparticlesystem
- tst_qquickpixmapcache
- tst_qquickpointattractor
- tst_qquickpointdirection
- tst_qquickrectangleextruder
- tst_qquickshadereffect
- tst_qquickspritegoal
- ...
| 68 |
3533 | } | - |
3534 | QSGRectangleNode *QQuickWindow::createRectangleNode() const | - |
3535 | { | - |
3536 | const QQuickWindowPrivate * const d = d_func(); | - |
3537 | return never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createRectangleNode() : nullptr; isSceneGraphInitialized() ? d->context->sceneGraphContext()->createRectangleNode() : nullptr;never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createRectangleNode() : nullptr; | 0 |
3538 | } | - |
3539 | QSGImageNode *QQuickWindow::createImageNode() const | - |
3540 | { | - |
3541 | const QQuickWindowPrivate * const d = d_func(); | - |
3542 | return never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createImageNode() : nullptr; isSceneGraphInitialized() ? d->context->sceneGraphContext()->createImageNode() : nullptr;never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createImageNode() : nullptr; | 0 |
3543 | } | - |
3544 | | - |
3545 | | - |
3546 | | - |
3547 | | - |
3548 | | - |
3549 | | - |
3550 | QSGNinePatchNode *QQuickWindow::createNinePatchNode() const | - |
3551 | { | - |
3552 | const QQuickWindowPrivate * const d = d_func(); | - |
3553 | return never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createNinePatchNode() : nullptr; isSceneGraphInitialized() ? d->context->sceneGraphContext()->createNinePatchNode() : nullptr;never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createNinePatchNode() : nullptr; | 0 |
3554 | } | - |
3555 | QQuickWindow::TextRenderType QQuickWindow::textRenderType() | - |
3556 | { | - |
3557 | returnexecuted 266810 times by 41 tests: return QQuickWindowPrivate::textRenderType; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- ...
QQuickWindowPrivate::textRenderType;executed 266810 times by 41 tests: return QQuickWindowPrivate::textRenderType; Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_qqmlbinding
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlmetaobject
- tst_qqmlprofilerservice
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlsqldatabase
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- ...
| 266810 |
3558 | } | - |
3559 | void QQuickWindow::setTextRenderType(QQuickWindow::TextRenderType renderType) | - |
3560 | { | - |
3561 | QQuickWindowPrivate::textRenderType = renderType; | - |
3562 | }executed 14 times by 2 tests: end of block Executed by:- tst_qqmldebugjs
- tst_qqmlprofilerservice
| 14 |
3563 | | - |
3564 | | - |
3565 | QDebug operator<<(QDebug debug, const QQuickWindow *win) | - |
3566 | { | - |
3567 | QDebugStateSaver saver(debug); | - |
3568 | debug.nospace(); | - |
3569 | if (!winTRUE | never evaluated | FALSE | never evaluated |
) { | 0 |
3570 | debug << "QQuickWindow(0)"; | - |
3571 | return never executed: return debug; debug;never executed: return debug; | 0 |
3572 | } | - |
3573 | | - |
3574 | debug << win->metaObject()->className() << '(' << static_cast<const void *>(win); | - |
3575 | if (win->isActive()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3576 | debug << " active"; never executed: debug << " active"; | 0 |
3577 | if (win->isExposed()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3578 | debug << " exposed"; never executed: debug << " exposed"; | 0 |
3579 | debug << ", visibility=" << win->visibility() << ", flags=" << win->flags(); | - |
3580 | if (!win->title().isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3581 | debug << ", title=" << win->title(); never executed: debug << ", title=" << win->title(); | 0 |
3582 | if (!win->objectName().isEmpty()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3583 | debug << ", name=" << win->objectName(); never executed: debug << ", name=" << win->objectName(); | 0 |
3584 | if (win->parent()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3585 | debug << ", parent=" << static_cast<const void *>(win->parent()); never executed: debug << ", parent=" << static_cast<const void *>(win->parent()); | 0 |
3586 | if (win->transientParent()TRUE | never evaluated | FALSE | never evaluated |
) | 0 |
3587 | debug << ", transientParent=" << static_cast<const void *>(win->transientParent()); never executed: debug << ", transientParent=" << static_cast<const void *>(win->transientParent()); | 0 |
3588 | debug << ", geometry="; | - |
3589 | QtDebugUtils::formatQRect(debug, win->geometry()); | - |
3590 | debug << ')'; | - |
3591 | return never executed: return debug; debug;never executed: return debug; | 0 |
3592 | } | - |
3593 | | - |
3594 | | - |
3595 | | - |
3596 | | - |
| | |