Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include "qquickwindow.h" | - |
41 | #include "qquickwindow_p.h" | - |
42 | #include "qquickwindowattached_p.h" | - |
43 | | - |
44 | #include "qquickitem.h" | - |
45 | #include "qquickitem_p.h" | - |
46 | #include "qquickevents_p_p.h" | - |
47 | | - |
48 | #include <private/qquickdrag_p.h> | - |
49 | #include <private/qquickhoverhandler_p.h> | - |
50 | #include <private/qquickpointerhandler_p.h> | - |
51 | | - |
52 | #include <QtQuick/private/qsgrenderer_p.h> | - |
53 | #include <QtQuick/private/qsgtexture_p.h> | - |
54 | #include <private/qsgrenderloop_p.h> | - |
55 | #include <private/qquickrendercontrol_p.h> | - |
56 | #include <private/qquickanimatorcontroller_p.h> | - |
57 | #include <private/qquickprofiler_p.h> | - |
58 | | - |
59 | #include <private/qguiapplication_p.h> | - |
60 | #include <QtGui/QInputMethod> | - |
61 | | - |
62 | #include <private/qabstractanimation_p.h> | - |
63 | | - |
64 | #include <QtGui/qpainter.h> | - |
65 | #include <QtGui/qevent.h> | - |
66 | #include <QtGui/qmatrix4x4.h> | - |
67 | #include <QtCore/qvarlengtharray.h> | - |
68 | #include <QtCore/qabstractanimation.h> | - |
69 | #include <QtCore/QLibraryInfo> | - |
70 | #include <QtCore/QRunnable> | - |
71 | #include <QtQml/qqmlincubator.h> | - |
72 | | - |
73 | #include <QtQuick/private/qquickpixmapcache_p.h> | - |
74 | | - |
75 | #include <private/qqmlmemoryprofiler_p.h> | - |
76 | #include <private/qqmldebugserviceinterfaces_p.h> | - |
77 | #include <private/qqmldebugconnector_p.h> | - |
78 | #if QT_CONFIG(opengl) | - |
79 | # include <private/qopenglvertexarrayobject_p.h> | - |
80 | # include <private/qsgdefaultrendercontext_p.h> | - |
81 | #endif | - |
82 | #ifndef QT_NO_DEBUG_STREAM | - |
83 | #include <private/qdebug_p.h> | - |
84 | #endif | - |
85 | | - |
86 | QT_BEGIN_NAMESPACE | - |
87 | | - |
88 | Q_LOGGING_CATEGORY(DBG_TOUCH, "qt.quick.touch")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 |
89 | Q_LOGGING_CATEGORY(DBG_TOUCH_TARGET, "qt.quick.touch.target")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 |
90 | Q_LOGGING_CATEGORY(DBG_MOUSE, "qt.quick.mouse")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 |
91 | Q_LOGGING_CATEGORY(DBG_MOUSE_TARGET, "qt.quick.mouse.target")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 |
92 | Q_LOGGING_CATEGORY(lcWheelTarget, "qt.quick.wheel.target")executed 4 times by 2 tests: return category; Executed by:- tst_qquickitem
- tst_qquickmousearea
| 4 |
93 | Q_LOGGING_CATEGORY(lcGestureTarget, "qt.quick.gesture.target") never executed: return category; | 0 |
94 | Q_LOGGING_CATEGORY(DBG_HOVER_TRACE, "qt.quick.hover.trace")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 |
95 | Q_LOGGING_CATEGORY(DBG_FOCUS, "qt.quick.focus")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 |
96 | Q_LOGGING_CATEGORY(DBG_DIRTY, "qt.quick.dirty")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 |
97 | Q_LOGGING_CATEGORY(lcTransient, "qt.quick.window.transient")executed 24 times by 3 tests: return category; Executed by:- tst_qqmlcomponent
- tst_qquickloader
- tst_qquickmousearea
| 24 |
98 | | - |
99 | extern Q_GUI_EXPORT QImage qt_gl_read_framebuffer(const QSize &size, bool alpha_format, bool include_alpha); | - |
100 | | - |
101 | bool QQuickWindowPrivate::defaultAlphaBuffer = false; | - |
102 | | - |
103 | #if defined(QT_QUICK_DEFAULT_TEXT_RENDER_TYPE) | - |
104 | QQuickWindow::TextRenderType QQuickWindowPrivate::textRenderType = QQuickWindow::QT_QUICK_DEFAULT_TEXT_RENDER_TYPE; | - |
105 | #else | - |
106 | QQuickWindow::TextRenderType QQuickWindowPrivate::textRenderType = QQuickWindow::QtTextRendering; | - |
107 | #endif | - |
108 | | - |
109 | void QQuickWindowPrivate::updateFocusItemTransform() | - |
110 | { | - |
111 | #if QT_CONFIG(im) | - |
112 | Q_Q(QQuickWindow); | - |
113 | QQuickItem *focus = q->activeFocusItem(); | - |
114 | if (focus && QGuiApplication::focusObject() == focus) {TRUE | 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 |
TRUE | 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 |
115 | QQuickItemPrivate *focusPrivate = QQuickItemPrivate::get(focus); | - |
116 | QGuiApplication::inputMethod()->setInputItemTransform(focusPrivate->itemToWindowTransform()); | - |
117 | QGuiApplication::inputMethod()->setInputItemRectangle(QRectF(0, 0, focusPrivate->width, focusPrivate->height)); | - |
118 | focus->updateInputMethod(Qt::ImInputItemClipRectangle); | - |
119 | }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 |
120 | #endif | - |
121 | }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 |
122 | | - |
123 | class QQuickWindowIncubationController : public QObject, public QQmlIncubationController | - |
124 | { | - |
125 | Q_OBJECT | - |
126 | | - |
127 | public: | - |
128 | QQuickWindowIncubationController(QSGRenderLoop *loop) | - |
129 | : m_renderLoop(loop), m_timer(0) | - |
130 | { | - |
131 | | - |
132 | m_incubation_time = qMax(1, int(1000 / QGuiApplication::primaryScreen()->refreshRate()) / 3); | - |
133 | | - |
134 | QAnimationDriver *animationDriver = m_renderLoop->animationDriver(); | - |
135 | if (animationDriver) {TRUE | 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 |
136 | connect(animationDriver, SIGNAL(stopped()), this, SLOT(animationStopped())); | - |
137 | connect(m_renderLoop, SIGNAL(timeToIncubate()), this, SLOT(incubate())); | - |
138 | } never executed: end of block | 0 |
139 | }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 |
140 | | - |
141 | protected: | - |
142 | void timerEvent(QTimerEvent *) override | - |
143 | { | - |
144 | killTimer(m_timer); | - |
145 | m_timer = 0; | - |
146 | incubate(); | - |
147 | }executed 1442 times by 6 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
| 1442 |
148 | | - |
149 | void incubateAgain() { | - |
150 | if (m_timer == 0) {TRUE | 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 |
151 | | - |
152 | | - |
153 | m_timer = startTimer(m_incubation_time); | - |
154 | }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 |
155 | }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 |
156 | | - |
157 | public slots: | - |
158 | void incubate() { | - |
159 | 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 |
160 | 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 |
161 | incubateFor(m_incubation_time); | - |
162 | } else { never executed: end of block | 0 |
163 | incubateFor(m_incubation_time * 2); | - |
164 | 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 |
165 | incubateAgain();executed 6 times by 2 tests: incubateAgain(); Executed by:- tst_qqmltypeloader
- tst_qquicklistview
| 6 |
166 | }executed 949 times by 6 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
| 949 |
167 | } | - |
168 | }executed 1442 times by 6 tests: end of block Executed by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
| 1442 |
169 | | - |
170 | void animationStopped() { incubate(); } never executed: end of block | 0 |
171 | | - |
172 | protected: | - |
173 | void incubatingObjectCountChanged(int count) override | - |
174 | { | - |
175 | if (count && !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 | evaluated 2610 times by 7 testsEvaluated by:- tst_qqmltypeloader
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
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 |
176 | 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 |
177 | }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 |
178 | | - |
179 | private: | - |
180 | QSGRenderLoop *m_renderLoop; | - |
181 | int m_incubation_time; | - |
182 | int m_timer; | - |
183 | }; | - |
184 | | - |
185 | #include "qquickwindow.moc" | - |
186 | #include "moc_qquickwindow_p.cpp" | - |
187 | | - |
188 | | - |
189 | #if QT_CONFIG(accessibility) | - |
190 | | - |
191 | | - |
192 | | - |
193 | | - |
194 | QAccessibleInterface *QQuickWindow::accessibleRoot() const | - |
195 | { | - |
196 | return QAccessible::queryAccessibleInterface(const_cast<QQuickWindow*>(this));executed 10 times by 1 test: return QAccessible::queryAccessibleInterface(const_cast<QQuickWindow*>(this)); | 10 |
197 | } | - |
198 | #endif | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | | - |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | | - |
209 | | - |
210 | | - |
211 | | - |
212 | | - |
213 | | - |
214 | | - |
215 | | - |
216 | | - |
217 | | - |
218 | | - |
219 | | - |
220 | QQuickRootItem::QQuickRootItem() | - |
221 | { | - |
222 | } | - |
223 | | - |
224 | | - |
225 | void QQuickWindow::exposeEvent(QExposeEvent *) | - |
226 | { | - |
227 | Q_D(QQuickWindow); | - |
228 | if (d->windowManager)TRUE | 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 |
229 | 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 |
230 | }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 |
231 | | - |
232 | | - |
233 | void QQuickWindow::resizeEvent(QResizeEvent *ev) | - |
234 | { | - |
235 | Q_D(QQuickWindow); | - |
236 | if (d->contentItem)TRUE | 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 |
237 | 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 |
238 | if (d->windowManager)TRUE | 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 |
239 | 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 |
240 | }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 |
241 | | - |
242 | | - |
243 | void QQuickWindow::showEvent(QShowEvent *) | - |
244 | { | - |
245 | Q_D(QQuickWindow); | - |
246 | if (d->windowManager)TRUE | 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 |
247 | 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 |
248 | }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 |
249 | | - |
250 | | - |
251 | void QQuickWindow::hideEvent(QHideEvent *) | - |
252 | { | - |
253 | Q_D(QQuickWindow); | - |
254 | if (d->windowManager)TRUE | evaluated 162 times by 6 testsEvaluated by:- tst_examples
- tst_qqmlcomponent
- tst_qquickitem
- tst_qquickshortcut
- tst_qquicktext
- tst_scenegraph
| FALSE | never evaluated |
| 0-162 |
255 | 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 |
256 | }executed 162 times by 6 tests: end of block Executed by:- tst_examples
- tst_qqmlcomponent
- tst_qquickitem
- tst_qquickshortcut
- tst_qquicktext
- tst_scenegraph
| 162 |
257 | | - |
258 | | - |
259 | void QQuickWindow::focusOutEvent(QFocusEvent *ev) | - |
260 | { | - |
261 | Q_D(QQuickWindow); | - |
262 | if (d->contentItem)TRUE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| FALSE | never evaluated |
| 0-20 |
263 | 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 |
264 | }executed 20 times by 5 tests: end of block Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
265 | | - |
266 | | - |
267 | void QQuickWindow::focusInEvent(QFocusEvent *ev) | - |
268 | { | - |
269 | Q_D(QQuickWindow); | - |
270 | if (d->contentItem)TRUE | 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 |
271 | 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 |
272 | d->updateFocusItemTransform(); | - |
273 | }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 |
274 | | - |
275 | #if QT_CONFIG(im) | - |
276 | static bool transformDirtyOnItemOrAncestor(const QQuickItem *item) | - |
277 | { | - |
278 | while (item) {TRUE | 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 |
279 | 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 |
280 | 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 |
281 | 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 |
282 | 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 |
283 | 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 |
284 | 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 |
285 | 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 |
286 | 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 |
287 | return true;executed 27 times by 2 tests: return true; Executed by:- tst_qquicktextedit
- tst_qquicktextinput
| 27 |
288 | } | - |
289 | item = item->parentItem(); | - |
290 | }executed 558 times by 5 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
| 558 |
291 | return false;executed 224 times by 5 tests: return false; Executed by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
- tst_qquicktextinput
| 224 |
292 | } | - |
293 | #endif | - |
294 | | - |
295 | void QQuickWindowPrivate::polishItems() | - |
296 | { | - |
297 | | - |
298 | | - |
299 | | - |
300 | | - |
301 | | - |
302 | | - |
303 | | - |
304 | int recursionSafeguard = INT_MAX; | - |
305 | while (!itemsToPolish.isEmpty() && --recursionSafeguard > 0) {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 |
| 0-331969 |
306 | QQuickItem *item = itemsToPolish.takeLast(); | - |
307 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
308 | itemPrivate->polishScheduled = false; | - |
309 | itemPrivate->updatePolish(); | - |
310 | item->updatePolish(); | - |
311 | }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 |
312 | | - |
313 | if (recursionSafeguard == 0)TRUE | 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 |
314 | qWarning("QQuickWindow: possible QQuickItem::polish() loop"); never executed: QMessageLogger(__FILE__, 314, __PRETTY_FUNCTION__).warning("QQuickWindow: possible QQuickItem::polish() loop"); | 0 |
315 | | - |
316 | #if QT_CONFIG(im) | - |
317 | 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 |
318 | | - |
319 | | - |
320 | | - |
321 | const bool isActiveFocusItem = (focusItem == QGuiApplication::focusObject()); | - |
322 | const bool hasImEnabled = focusItem->inputMethodQuery(Qt::ImEnabled).toBool(); | - |
323 | if (isActiveFocusItem && hasImEnabled && transformDirtyOnItemOrAncestor(focusItem))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 | never evaluated |
TRUE | 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
|
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 |
324 | updateFocusItemTransform();executed 27 times by 2 tests: updateFocusItemTransform(); Executed by:- tst_qquicktextedit
- tst_qquicktextinput
| 27 |
325 | }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 |
326 | #endif | - |
327 | }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 |
328 | | - |
329 | | - |
330 | | - |
331 | | - |
332 | | - |
333 | | - |
334 | | - |
335 | | - |
336 | void QQuickWindow::update() | - |
337 | { | - |
338 | Q_D(QQuickWindow); | - |
339 | if (d->windowManager)TRUE | 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 |
340 | 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 |
341 | else if (d->renderControl)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
342 | QQuickRenderControlPrivate::get(d->renderControl)->update(); never executed: QQuickRenderControlPrivate::get(d->renderControl)->update(); | 0 |
343 | }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 |
344 | | - |
345 | static void updatePixelRatioHelper(QQuickItem *item, float pixelRatio) | - |
346 | { | - |
347 | if (item->flags() & QQuickItem::ItemHasContents) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
348 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
349 | itemPrivate->itemChange(QQuickItem::ItemDevicePixelRatioHasChanged, pixelRatio); | - |
350 | } never executed: end of block | 0 |
351 | | - |
352 | QList <QQuickItem *> items = item->childItems(); | - |
353 | for (int i = 0; i < items.size(); ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
354 | updatePixelRatioHelper(items.at(i), pixelRatio); never executed: updatePixelRatioHelper(items.at(i), pixelRatio); | 0 |
355 | } never executed: end of block | 0 |
356 | | - |
357 | void QQuickWindow::physicalDpiChanged() | - |
358 | { | - |
359 | Q_D(QQuickWindow); | - |
360 | const qreal newPixelRatio = screen()->devicePixelRatio(); | - |
361 | if (qFuzzyCompare(newPixelRatio, d->devicePixelRatio))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
362 | return; never executed: return; | 0 |
363 | d->devicePixelRatio = newPixelRatio; | - |
364 | if (d->contentItem)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
365 | updatePixelRatioHelper(d->contentItem, newPixelRatio); never executed: updatePixelRatioHelper(d->contentItem, newPixelRatio); | 0 |
366 | } never executed: end of block | 0 |
367 | | - |
368 | void QQuickWindow::handleScreenChanged(QScreen *screen) | - |
369 | { | - |
370 | Q_D(QQuickWindow); | - |
371 | if (screen) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
372 | physicalDpiChanged(); | - |
373 | | - |
374 | | - |
375 | | - |
376 | d->physicalDpiChangedConnection = connect(screen, SIGNAL(physicalDotsPerInchChanged(qreal)), | - |
377 | this, SLOT(physicalDpiChanged())); | - |
378 | } else { never executed: end of block | 0 |
379 | disconnect(d->physicalDpiChangedConnection); | - |
380 | } never executed: end of block | 0 |
381 | | - |
382 | d->forcePolish(); | - |
383 | } never executed: end of block | 0 |
384 | | - |
385 | void forcePolishHelper(QQuickItem *item) | - |
386 | { | - |
387 | if (item->flags() & QQuickItem::ItemHasContents) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
388 | item->polish(); | - |
389 | } never executed: end of block | 0 |
390 | | - |
391 | QList <QQuickItem *> items = item->childItems(); | - |
392 | for (int i=0; i<items.size(); ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
393 | forcePolishHelper(items.at(i)); never executed: forcePolishHelper(items.at(i)); | 0 |
394 | } never executed: end of block | 0 |
395 | | - |
396 | | - |
397 | | - |
398 | | - |
399 | void QQuickWindowPrivate::forcePolish() | - |
400 | { | - |
401 | Q_Q(QQuickWindow); | - |
402 | if (!q->screen())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
403 | return; never executed: return; | 0 |
404 | forcePolishHelper(contentItem); | - |
405 | } never executed: end of block | 0 |
406 | | - |
407 | void forceUpdate(QQuickItem *item) | - |
408 | { | - |
409 | if (item->flags() & QQuickItem::ItemHasContents)TRUE | 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 |
410 | 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 |
411 | QQuickItemPrivate::get(item)->dirty(QQuickItemPrivate::ChildrenUpdateMask); | - |
412 | | - |
413 | QList <QQuickItem *> items = item->childItems(); | - |
414 | for (int i=0; i<items.size(); ++i)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
- ...
|
| 48928-52426 |
415 | 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 |
416 | }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 |
417 | | - |
418 | void QQuickWindowPrivate::syncSceneGraph() | - |
419 | { | - |
420 | QML_MEMORY_SCOPE_STRING("SceneGraph"); | - |
421 | Q_Q(QQuickWindow); | - |
422 | | - |
423 | animationController->beforeNodeSync(); | - |
424 | | - |
425 | emit q->beforeSynchronizing(); | - |
426 | runAndClearJobs(&beforeSynchronizingJobs); | - |
427 | if (!renderer) {TRUE | 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 |
428 | forceUpdate(contentItem); | - |
429 | | - |
430 | QSGRootNode *rootNode = new QSGRootNode; | - |
431 | rootNode->appendChildNode(QQuickItemPrivate::get(contentItem)->itemNode()); | - |
432 | renderer = context->createRenderer(); | - |
433 | renderer->setRootNode(rootNode); | - |
434 | }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 |
435 | | - |
436 | updateDirtyNodes(); | - |
437 | | - |
438 | animationController->afterNodeSync(); | - |
439 | | - |
440 | | - |
441 | renderer->setClearColor(clearColor); | - |
442 | QSGAbstractRenderer::ClearMode mode = QSGAbstractRenderer::ClearStencilBuffer | QSGAbstractRenderer::ClearDepthBuffer; | - |
443 | if (clearBeforeRendering)TRUE | 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 |
444 | 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 |
445 | renderer->setClearMode(mode); | - |
446 | | - |
447 | renderer->setCustomRenderMode(customRenderMode); | - |
448 | | - |
449 | emit q->afterSynchronizing(); | - |
450 | runAndClearJobs(&afterSynchronizingJobs); | - |
451 | }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 |
452 | | - |
453 | void QQuickWindowPrivate::renderSceneGraph(const QSize &size) | - |
454 | { | - |
455 | QML_MEMORY_SCOPE_STRING("SceneGraph"); | - |
456 | Q_Q(QQuickWindow); | - |
457 | if (!renderer)TRUE | 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 |
458 | return; never executed: return; | 0 |
459 | | - |
460 | animationController->advance(); | - |
461 | emit q->beforeRendering(); | - |
462 | runAndClearJobs(&beforeRenderingJobs); | - |
463 | if (!customRenderStage || !customRenderStage->render()) {TRUE | 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 |
TRUE | never evaluated | FALSE | never evaluated |
| 0-50623 |
464 | int fboId = 0; | - |
465 | const qreal devicePixelRatio = q->effectiveDevicePixelRatio(); | - |
466 | if (renderTargetId) {TRUE | 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 |
467 | QRect rect(QPoint(0, 0), renderTargetSize); | - |
468 | fboId = renderTargetId; | - |
469 | renderer->setDeviceRect(rect); | - |
470 | renderer->setViewportRect(rect); | - |
471 | 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 |
472 | renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), size)); | - |
473 | renderer->setDevicePixelRatio(devicePixelRatio); | - |
474 | } else {executed 324 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 324 |
475 | renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), rect.size())); | - |
476 | renderer->setDevicePixelRatio(1); | - |
477 | }executed 12 times by 1 test: end of block | 12 |
478 | } else { | - |
479 | QRect rect(QPoint(0, 0), devicePixelRatio * size); | - |
480 | renderer->setDeviceRect(rect); | - |
481 | renderer->setViewportRect(rect); | - |
482 | renderer->setProjectionMatrixToRect(QRect(QPoint(0, 0), size)); | - |
483 | renderer->setDevicePixelRatio(devicePixelRatio); | - |
484 | }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 |
485 | | - |
486 | context->renderNextFrame(renderer, fboId); | - |
487 | }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 |
488 | emit q->afterRendering(); | - |
489 | runAndClearJobs(&afterRenderingJobs); | - |
490 | }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 |
491 | | - |
492 | QQuickWindowPrivate::QQuickWindowPrivate() | - |
493 | : contentItem(nullptr) | - |
494 | , activeFocusItem(nullptr) | - |
495 | #if QT_CONFIG(cursor) | - |
496 | , cursorItem(nullptr) | - |
497 | #endif | - |
498 | #if QT_CONFIG(draganddrop) | - |
499 | , dragGrabber(nullptr) | - |
500 | #endif | - |
501 | , touchMouseId(-1) | - |
502 | , touchMouseDevice(nullptr) | - |
503 | , touchMousePressTimestamp(0) | - |
504 | , dirtyItemList(nullptr) | - |
505 | , devicePixelRatio(0) | - |
506 | , context(nullptr) | - |
507 | , renderer(nullptr) | - |
508 | , windowManager(nullptr) | - |
509 | , renderControl(nullptr) | - |
510 | , pointerEventRecursionGuard(0) | - |
511 | , customRenderStage(nullptr) | - |
512 | , clearColor(Qt::white) | - |
513 | , clearBeforeRendering(true) | - |
514 | , persistentGLContext(true) | - |
515 | , persistentSceneGraph(true) | - |
516 | , lastWheelEventAccepted(false) | - |
517 | , componentCompleted(true) | - |
518 | , allowChildEventFiltering(true) | - |
519 | , allowDoubleClick(true) | - |
520 | , lastFocusReason(Qt::OtherFocusReason) | - |
521 | , renderTarget(nullptr) | - |
522 | , renderTargetId(0) | - |
523 | , vaoHelper(nullptr) | - |
524 | , incubationController(nullptr) | - |
525 | { | - |
526 | #if QT_CONFIG(draganddrop) | - |
527 | dragGrabber = new QQuickDragGrabber; | - |
528 | #endif | - |
529 | }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 |
530 | | - |
531 | QQuickWindowPrivate::~QQuickWindowPrivate() | - |
532 | { | - |
533 | delete customRenderStage; | - |
534 | 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 |
535 | service->removeWindow(q_func());executed 8 times by 1 test: service->removeWindow(q_func()); | 8 |
536 | }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 |
537 | | - |
538 | void QQuickWindowPrivate::init(QQuickWindow *c, QQuickRenderControl *control) | - |
539 | { | - |
540 | q_ptr = c; | - |
541 | | - |
542 | Q_Q(QQuickWindow); | - |
543 | | - |
544 | contentItem = new QQuickRootItem; | - |
545 | QQml_setParent_noEvent(contentItem, c); | - |
546 | QQmlEngine::setObjectOwnership(contentItem, QQmlEngine::CppOwnership); | - |
547 | QQuickItemPrivate *contentItemPrivate = QQuickItemPrivate::get(contentItem); | - |
548 | contentItemPrivate->window = q; | - |
549 | contentItemPrivate->windowRefCount = 1; | - |
550 | contentItemPrivate->flags |= QQuickItem::ItemIsFocusScope; | - |
551 | contentItem->setSize(q->size()); | - |
552 | | - |
553 | customRenderMode = qgetenv("QSG_VISUALIZE"); | - |
554 | renderControl = control; | - |
555 | if (renderControl)TRUE | 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 |
556 | QQuickRenderControlPrivate::get(renderControl)->window = q;executed 118 times by 2 tests: QQuickRenderControlPrivate::get(renderControl)->window = q; Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 118 |
557 | | - |
558 | if (!renderControl)TRUE | 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 |
559 | 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 |
560 | | - |
561 | Q_ASSERT(windowManager || renderControl); | - |
562 | | - |
563 | 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 |
564 | 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 |
565 | | - |
566 | QSGContext *sg; | - |
567 | if (renderControl) {TRUE | 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 |
568 | QQuickRenderControlPrivate *renderControlPriv = QQuickRenderControlPrivate::get(renderControl); | - |
569 | sg = renderControlPriv->sg; | - |
570 | context = renderControlPriv->rc; | - |
571 | } else {executed 118 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 118 |
572 | windowManager->addWindow(q); | - |
573 | sg = windowManager->sceneGraphContext(); | - |
574 | context = windowManager->createRenderContext(sg); | - |
575 | }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 |
576 | | - |
577 | q->setSurfaceType(windowManager ? windowManager->windowSurfaceType() : QSurface::OpenGLSurface); | - |
578 | q->setFormat(sg->defaultSurfaceFormat()); | - |
579 | | - |
580 | animationController = new QQuickAnimatorController(q); | - |
581 | | - |
582 | QObject::connect(context, SIGNAL(initialized()), q, SIGNAL(sceneGraphInitialized()), Qt::DirectConnection); | - |
583 | QObject::connect(context, SIGNAL(invalidated()), q, SIGNAL(sceneGraphInvalidated()), Qt::DirectConnection); | - |
584 | QObject::connect(context, SIGNAL(invalidated()), q, SLOT(cleanupSceneGraph()), Qt::DirectConnection); | - |
585 | | - |
586 | QObject::connect(q, SIGNAL(focusObjectChanged(QObject*)), q, SIGNAL(activeFocusItemChanged())); | - |
587 | QObject::connect(q, SIGNAL(screenChanged(QScreen*)), q, SLOT(handleScreenChanged(QScreen*))); | - |
588 | QObject::connect(qApp, SIGNAL(applicationStateChanged(Qt::ApplicationState)), | - |
589 | q, SLOT(handleApplicationStateChanged(Qt::ApplicationState))); | - |
590 | QObject::connect(q, SIGNAL(frameSwapped()), q, SLOT(runJobsAfterSwap()), Qt::DirectConnection); | - |
591 | | - |
592 | 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 |
593 | service->addWindow(q);executed 8 times by 1 test: service->addWindow(q); | 8 |
594 | }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 |
595 | | - |
596 | void QQuickWindow::handleApplicationStateChanged(Qt::ApplicationState state) | - |
597 | { | - |
598 | Q_D(QQuickWindow); | - |
599 | if (state != Qt::ApplicationActive && d->contentItem)TRUE | 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
|
TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-36 |
600 | d->contentItem->windowDeactivateEvent();executed 4 times by 1 test: d->contentItem->windowDeactivateEvent(); | 4 |
601 | }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 |
602 | | - |
603 | | - |
604 | | - |
605 | | - |
606 | | - |
607 | | - |
608 | QQmlListProperty<QObject> QQuickWindowPrivate::data() | - |
609 | { | - |
610 | return 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 |
611 | 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 |
612 | 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 |
613 | 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 |
614 | } | - |
615 | | - |
616 | static QMouseEvent *touchToMouseEvent(QEvent::Type type, const QTouchEvent::TouchPoint &p, QTouchEvent *event, QQuickItem *item, bool transformNeeded = true) | - |
617 | { | - |
618 | | - |
619 | QMouseEvent *me = new QMouseEvent(type, transformNeeded ? item->mapFromScene(p.scenePos()) : p.pos(), p.scenePos(), p.screenPos(), | - |
620 | Qt::LeftButton, (type == QEvent::MouseButtonRelease ? Qt::NoButton : Qt::LeftButton), event->modifiers()); | - |
621 | me->setAccepted(true); | - |
622 | me->setTimestamp(event->timestamp()); | - |
623 | QVector2D transformedVelocity = p.velocity(); | - |
624 | if (transformNeeded) {TRUE | 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 |
625 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
626 | QMatrix4x4 transformMatrix(itemPrivate->windowToItemTransform()); | - |
627 | transformedVelocity = transformMatrix.mapVector(p.velocity()).toVector2D(); | - |
628 | } never executed: end of block | 0 |
629 | QGuiApplicationPrivate::setMouseEventCapsAndVelocity(me, event->device()->capabilities(), transformedVelocity); | - |
630 | QGuiApplicationPrivate::setMouseEventSource(me, Qt::MouseEventSynthesizedByQt); | - |
631 | return 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 |
632 | } | - |
633 | | - |
634 | bool QQuickWindowPrivate::checkIfDoubleClicked(ulong newPressEventTimestamp) | - |
635 | { | - |
636 | bool doubleClicked; | - |
637 | | - |
638 | if (touchMousePressTimestamp == 0) {TRUE | 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 |
639 | | - |
640 | touchMousePressTimestamp = newPressEventTimestamp; | - |
641 | doubleClicked = false; | - |
642 | } else {executed 14 times by 5 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 14 |
643 | ulong timeBetweenPresses = newPressEventTimestamp - touchMousePressTimestamp; | - |
644 | ulong doubleClickInterval = static_cast<ulong>(QGuiApplication::styleHints()-> | - |
645 | mouseDoubleClickInterval()); | - |
646 | doubleClicked = timeBetweenPresses < doubleClickInterval; | - |
647 | if (doubleClicked) {TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| FALSE | evaluated 2 times by 1 test |
| 2-4 |
648 | touchMousePressTimestamp = 0; | - |
649 | } else {executed 4 times by 2 tests: end of block Executed by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 4 |
650 | touchMousePressTimestamp = newPressEventTimestamp; | - |
651 | }executed 2 times by 1 test: end of block | 2 |
652 | } | - |
653 | | - |
654 | return doubleClicked;executed 20 times by 5 tests: return doubleClicked; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 20 |
655 | } | - |
656 | | - |
657 | bool QQuickWindowPrivate::deliverTouchAsMouse(QQuickItem *item, QQuickPointerEvent *pointerEvent) | - |
658 | { | - |
659 | Q_Q(QQuickWindow); | - |
660 | auto device = pointerEvent->device(); | - |
661 | | - |
662 | | - |
663 | if (device->type() == QQuickPointerDevice::TouchPad && device->capabilities().testFlag(QQuickPointerDevice::MouseEmulation)) {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
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-197 |
664 | qCDebug(DBG_TOUCH_TARGET) << "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; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
665 | return false; never executed: return false; | 0 |
666 | } | - |
667 | | - |
668 | | - |
669 | Q_ASSERT(pointerEvent->asPointerTouchEvent()); | - |
670 | QScopedPointer<QTouchEvent> event(pointerEvent->asPointerTouchEvent()->touchEventForItem(item)); | - |
671 | 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 |
672 | return false; never executed: return false; | 0 |
673 | | - |
674 | | - |
675 | | - |
676 | | - |
677 | for (int i = 0; i < event->touchPoints().count(); ++i) {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
|
| 28-205 |
678 | const QTouchEvent::TouchPoint &p = event->touchPoints().at(i); | - |
679 | | - |
680 | if (touchMouseId == -1 && p.state() & Qt::TouchPointPressed) {TRUE | 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
|
TRUE | 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 |
681 | QPointF pos = item->mapFromScene(p.scenePos()); | - |
682 | | - |
683 | | - |
684 | 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 |
685 | break; never executed: break; | 0 |
686 | | - |
687 | qCDebug(DBG_TOUCH_TARGET) << "TP (mouse)" << hex << p.id() << "->" << item; never executed: QMessageLogger(__FILE__, 687, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << item; 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 |
688 | QScopedPointer<QMouseEvent> mousePress(touchToMouseEvent(QEvent::MouseButtonPress, p, event.data(), item, false)); | - |
689 | | - |
690 | | - |
691 | QCoreApplication::sendEvent(item, mousePress.data()); | - |
692 | event->setAccepted(mousePress->isAccepted()); | - |
693 | 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 |
694 | touchMouseDevice = device; | - |
695 | touchMouseId = p.id(); | - |
696 | 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 |
697 | item->grabMouse();executed 20 times by 5 tests: item->grabMouse(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 20 |
698 | auto pointerEventPoint = pointerEvent->pointById(p.id()); | - |
699 | pointerEventPoint->setGrabberItem(item); | - |
700 | | - |
701 | 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 |
702 | QScopedPointer<QMouseEvent> mouseDoubleClick(touchToMouseEvent(QEvent::MouseButtonDblClick, p, event.data(), item, false)); | - |
703 | QCoreApplication::sendEvent(item, mouseDoubleClick.data()); | - |
704 | event->setAccepted(mouseDoubleClick->isAccepted()); | - |
705 | if (!mouseDoubleClick->isAccepted()) {TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
| 0-4 |
706 | touchMouseId = -1; | - |
707 | touchMouseDevice = nullptr; | - |
708 | } never executed: end of block | 0 |
709 | }executed 4 times by 2 tests: end of block Executed by:- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 4 |
710 | | - |
711 | return true;executed 20 times by 5 tests: return true; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 20 |
712 | } | - |
713 | | - |
714 | | - |
715 | | - |
716 | } else if (touchMouseDevice == device && p.id() == touchMouseId) {executed 22 times by 5 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
TRUE | 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
|
TRUE | evaluated 149 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
| 0-149 |
717 | if (p.state() & Qt::TouchPointMoved) {TRUE | 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 |
718 | 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 |
719 | QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseMove, p, event.data(), mouseGrabberItem, false)); | - |
720 | QCoreApplication::sendEvent(item, me.data()); | - |
721 | event->setAccepted(me->isAccepted()); | - |
722 | 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 |
723 | qCDebug(DBG_TOUCH_TARGET) << "TP (mouse)" << hex << p.id() << "->" << mouseGrabberItem; never executed: QMessageLogger(__FILE__, 723, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << p.id() << "->" << mouseGrabberItem; TRUE | never evaluated | FALSE | evaluated 113 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
|
| 0-113 |
724 | }executed 113 times by 5 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 113 |
725 | return event->isAccepted();executed 113 times by 5 tests: return event->isAccepted(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 113 |
726 | } else { | - |
727 | | - |
728 | | - |
729 | | - |
730 | QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseMove, p, event.data(), item, false)); | - |
731 | if (lastMousePosition.isNull())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
732 | lastMousePosition = me->windowPos(); never executed: lastMousePosition = me->windowPos(); | 0 |
733 | QPointF last = lastMousePosition; | - |
734 | lastMousePosition = me->windowPos(); | - |
735 | | - |
736 | bool accepted = me->isAccepted(); | - |
737 | bool delivered = deliverHoverEvent(contentItem, me->windowPos(), last, me->modifiers(), me->timestamp(), accepted); | - |
738 | if (!delivered) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
739 | | - |
740 | accepted = clearHover(me->timestamp()); | - |
741 | } never executed: end of block | 0 |
742 | me->setAccepted(accepted); | - |
743 | break; never executed: break; | 0 |
744 | } | - |
745 | } else if (p.state() & Qt::TouchPointReleased) {TRUE | evaluated 36 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| FALSE | never evaluated |
| 0-36 |
746 | | - |
747 | 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 |
748 | QScopedPointer<QMouseEvent> me(touchToMouseEvent(QEvent::MouseButtonRelease, p, event.data(), mouseGrabberItem, false)); | - |
749 | QCoreApplication::sendEvent(item, me.data()); | - |
750 | | - |
751 | if (item->acceptHoverEvents() && p.screenPos() != QGuiApplicationPrivate::lastCursorPosition) {TRUE | never evaluated | FALSE | evaluated 36 times by 5 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-36 |
752 | QPointF localMousePos(qInf(), qInf()); | - |
753 | if (QWindow *w = item->window())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
754 | localMousePos = item->mapFromScene(w->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint())); never executed: localMousePos = item->mapFromScene(w->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint())); | 0 |
755 | QMouseEvent mm(QEvent::MouseMove, localMousePos, QGuiApplicationPrivate::lastCursorPosition, | - |
756 | Qt::NoButton, Qt::NoButton, event->modifiers()); | - |
757 | QCoreApplication::sendEvent(item, &mm); | - |
758 | } never executed: end of block | 0 |
759 | 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 |
760 | 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 |
761 | | - |
762 | touchMouseId = -1; | - |
763 | touchMouseDevice = nullptr; | - |
764 | return me->isAccepted();executed 36 times by 5 tests: return me->isAccepted(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 36 |
765 | } | - |
766 | } never executed: end of block | 0 |
767 | break; never executed: break; | 0 |
768 | } | - |
769 | }executed 36 times by 5 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 36 |
770 | return false;executed 28 times by 5 tests: return false; Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmousearea
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 28 |
771 | } | - |
772 | | - |
773 | void QQuickWindowPrivate::grabTouchPoints(QObject *grabber, const QVector<int> &ids) | - |
774 | { | - |
775 | for (int i = 0; i < ids.count(); ++i) {TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
|
| 22-46 |
776 | int id = ids.at(i); | - |
777 | if (Q_UNLIKELY(id < 0)) {TRUE | never evaluated | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
|
| 0-46 |
778 | qWarning("ignoring grab of touchpoint %d", id); | - |
779 | continue; never executed: continue; | 0 |
780 | } | - |
781 | if (id == touchMouseId) {TRUE | never evaluated | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
|
| 0-46 |
782 | auto point = pointerEventInstance(touchMouseDevice)->pointById(id); | - |
783 | auto touchMouseGrabber = point->grabberItem(); | - |
784 | if (touchMouseGrabber) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
785 | point->setExclusiveGrabber(nullptr); | - |
786 | touchMouseGrabber->mouseUngrabEvent(); | - |
787 | touchMouseGrabber->touchUngrabEvent(); | - |
788 | touchMouseDevice = nullptr; | - |
789 | touchMouseId = -1; | - |
790 | } never executed: end of block | 0 |
791 | qCDebug(DBG_MOUSE_TARGET) << "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"; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
792 | } never executed: end of block | 0 |
793 | | - |
794 | const auto touchDevices = QQuickPointerDevice::touchDevices(); | - |
795 | for (auto device : touchDevices) { | - |
796 | auto point = pointerEventInstance(device)->pointById(id); | - |
797 | if (!point)TRUE | never evaluated | FALSE | evaluated 46 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
|
| 0-46 |
798 | continue; never executed: continue; | 0 |
799 | QObject *oldGrabber = point->exclusiveGrabber(); | - |
800 | if (oldGrabber == grabber)TRUE | evaluated 44 times by 2 testsEvaluated by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| FALSE | evaluated 2 times by 1 test |
| 2-44 |
801 | continue;executed 44 times by 2 tests: continue; Executed by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 44 |
802 | point->setExclusiveGrabber(grabber); | - |
803 | }executed 2 times by 1 test: end of block | 2 |
804 | }executed 46 times by 2 tests: end of block Executed by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 46 |
805 | }executed 22 times by 2 tests: end of block Executed by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 22 |
806 | | - |
807 | | - |
808 | | - |
809 | | - |
810 | | - |
811 | | - |
812 | | - |
813 | | - |
814 | | - |
815 | | - |
816 | void QQuickWindowPrivate::removeGrabber(QQuickItem *grabber, bool mouse, bool touch) | - |
817 | { | - |
818 | Q_Q(QQuickWindow); | - |
819 | if (Q_LIKELY(mouse) && q->mouseGrabberItem() == grabber) {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
|
TRUE | 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 |
820 | bool fromTouch = isDeliveringTouchAsMouse(); | - |
821 | auto point = fromTouch ?TRUE | 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 |
822 | pointerEventInstance(touchMouseDevice)->pointById(touchMouseId) : | - |
823 | pointerEventInstance(QQuickPointerDevice::genericMouseDevice())->point(0); | - |
824 | QQuickItem *oldGrabber = point->grabberItem(); | - |
825 | qCDebug(DBG_MOUSE_TARGET) << "removeGrabber" << oldGrabber << "-> null"; never executed: QMessageLogger(__FILE__, 825, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "removeGrabber" << oldGrabber << "-> null"; TRUE | 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
|
| 0-1644 |
826 | point->setGrabberItem(nullptr); | - |
827 | sendUngrabEvent(oldGrabber, fromTouch); | - |
828 | }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 |
829 | if (Q_LIKELY(touch)) {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 |
830 | bool ungrab = false; | - |
831 | const auto touchDevices = QQuickPointerDevice::touchDevices(); | - |
832 | for (auto device : touchDevices) { | - |
833 | 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 |
834 | for (int i = 0; i < pointerEvent->pointCount(); ++i) {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
|
| 3012-5746 |
835 | if (pointerEvent->point(i)->exclusiveGrabber() == grabber) {TRUE | 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 |
836 | pointerEvent->point(i)->setGrabberItem(nullptr); | - |
837 | ungrab = true; | - |
838 | }executed 96 times by 2 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickmultipointtoucharea
| 96 |
839 | }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 |
840 | }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 |
841 | }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 |
842 | if (ungrab)TRUE | 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 |
843 | grabber->touchUngrabEvent();executed 58 times by 2 tests: grabber->touchUngrabEvent(); Executed by:- tst_multipointtoucharea_interop
- tst_qquickmultipointtoucharea
| 58 |
844 | }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 |
845 | }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 |
846 | | - |
847 | void QQuickWindowPrivate::sendUngrabEvent(QQuickItem *grabber, bool touch) | - |
848 | { | - |
849 | if (!grabber)TRUE | 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 |
850 | 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 |
851 | QEvent e(QEvent::UngrabMouse); | - |
852 | hasFiltered.clear(); | - |
853 | 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 |
854 | grabber->mouseUngrabEvent(); | - |
855 | if (touch)TRUE | 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 |
856 | grabber->touchUngrabEvent();executed 42 times by 5 tests: grabber->touchUngrabEvent(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 42 |
857 | }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 |
858 | }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 |
859 | | - |
860 | | - |
861 | | - |
862 | | - |
863 | | - |
864 | void QQuickWindowPrivate::translateTouchEvent(QTouchEvent *touchEvent) | - |
865 | { | - |
866 | QList<QTouchEvent::TouchPoint> touchPoints = touchEvent->touchPoints(); | - |
867 | for (int i = 0; i < touchPoints.count(); ++i) {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
|
| 1240-1988 |
868 | QTouchEvent::TouchPoint &touchPoint = touchPoints[i]; | - |
869 | | - |
870 | touchPoint.setSceneRect(touchPoint.rect()); | - |
871 | touchPoint.setStartScenePos(touchPoint.startPos()); | - |
872 | touchPoint.setLastScenePos(touchPoint.lastPos()); | - |
873 | }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 |
874 | touchEvent->setTouchPoints(touchPoints); | - |
875 | }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 |
876 | | - |
877 | | - |
878 | static inline bool windowHasFocus(QQuickWindow *win) | - |
879 | { | - |
880 | const QWindow *focusWindow = QGuiApplication::focusWindow(); | - |
881 | return 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 |
882 | } | - |
883 | | - |
884 | | - |
885 | | - |
886 | | - |
887 | | - |
888 | | - |
889 | void QQuickWindowPrivate::setFocusInScope(QQuickItem *scope, QQuickItem *item, Qt::FocusReason reason, FocusOptions options) | - |
890 | { | - |
891 | Q_Q(QQuickWindow); | - |
892 | | - |
893 | Q_ASSERT(item); | - |
894 | Q_ASSERT(scope || item == contentItem); | - |
895 | | - |
896 | qCDebug(DBG_FOCUS) << "QQuickWindowPrivate::setFocusInScope():"; never executed: QMessageLogger(__FILE__, 896, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::setFocusInScope():"; TRUE | 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
|
| 0-6575 |
897 | qCDebug(DBG_FOCUS) << " scope:" << (QObject *)scope; never executed: QMessageLogger(__FILE__, 897, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope; TRUE | 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
|
| 0-6575 |
898 | if (scope)TRUE | 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 |
899 | qCDebug(DBG_FOCUS) << " scopeSubFocusItem:" << (QObject *)QQuickItemPrivate::get(scope)->subFocusItem; never executed: QMessageLogger(__FILE__, 899, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scopeSubFocusItem:" << (QObject *)QQuickItemPrivate::get(scope)->subFocusItem; TRUE | 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
|
| 0-5497 |
900 | qCDebug(DBG_FOCUS) << " item:" << (QObject *)item; never executed: QMessageLogger(__FILE__, 900, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item; TRUE | 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
|
| 0-6575 |
901 | qCDebug(DBG_FOCUS) << " activeFocusItem:" << (QObject *)activeFocusItem; never executed: QMessageLogger(__FILE__, 901, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem; TRUE | 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
|
| 0-6575 |
902 | | - |
903 | QQuickItemPrivate *scopePrivate = scope ? QQuickItemPrivate::get(scope) : nullptr;TRUE | 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 |
904 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
905 | | - |
906 | QQuickItem *oldActiveFocusItem = nullptr; | - |
907 | QQuickItem *currentActiveFocusItem = activeFocusItem; | - |
908 | QQuickItem *newActiveFocusItem = nullptr; | - |
909 | bool sendFocusIn = false; | - |
910 | | - |
911 | lastFocusReason = reason; | - |
912 | | - |
913 | QVarLengthArray<QQuickItem *, 20> changed; | - |
914 | | - |
915 | | - |
916 | if (item == contentItem || scopePrivate->activeFocus) {TRUE | 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
|
TRUE | 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 |
917 | oldActiveFocusItem = activeFocusItem; | - |
918 | 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 |
919 | newActiveFocusItem = item; | - |
920 | 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 |
921 | && 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 |
922 | && 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 |
923 | newActiveFocusItem = newActiveFocusItem->scopedFocusItem(); | - |
924 | }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 |
925 | } else {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 |
926 | newActiveFocusItem = scope; | - |
927 | }executed 6 times by 1 test: end of block | 6 |
928 | | - |
929 | if (oldActiveFocusItem) {TRUE | 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 |
930 | #if QT_CONFIG(im) | - |
931 | QGuiApplication::inputMethod()->commit(); | - |
932 | #endif | - |
933 | | - |
934 | activeFocusItem = nullptr; | - |
935 | | - |
936 | QQuickItem *afi = oldActiveFocusItem; | - |
937 | while (afi && afi != scope) {TRUE | evaluated 1734 times by 7 testsEvaluated by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
TRUE | 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 |
938 | if (QQuickItemPrivate::get(afi)->activeFocus) {TRUE | 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 |
939 | QQuickItemPrivate::get(afi)->activeFocus = false; | - |
940 | changed << afi; | - |
941 | }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 |
942 | afi = afi->parentItem(); | - |
943 | }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 |
944 | }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 |
945 | }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 |
946 | | - |
947 | if (item != contentItem && !(options & DontChangeSubFocusItem)) {TRUE | 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
|
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 |
948 | QQuickItem *oldSubFocusItem = scopePrivate->subFocusItem; | - |
949 | if (oldSubFocusItem) {TRUE | 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 |
950 | QQuickItemPrivate::get(oldSubFocusItem)->focus = false; | - |
951 | changed << oldSubFocusItem; | - |
952 | }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 |
953 | | - |
954 | QQuickItemPrivate::get(item)->updateSubFocusItem(scope, true); | - |
955 | }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 |
956 | | - |
957 | 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 |
958 | if (item != contentItem || windowHasFocus(q)) {TRUE | 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
|
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 |
959 | itemPrivate->focus = true; | - |
960 | changed << item; | - |
961 | }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 |
962 | }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 |
963 | | - |
964 | if (newActiveFocusItem && contentItem->hasFocus()) {TRUE | 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
|
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 |
965 | activeFocusItem = newActiveFocusItem; | - |
966 | | - |
967 | QQuickItemPrivate::get(newActiveFocusItem)->activeFocus = true; | - |
968 | changed << newActiveFocusItem; | - |
969 | | - |
970 | QQuickItem *afi = newActiveFocusItem->parentItem(); | - |
971 | while (afi && afi != scope) {TRUE | 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
|
TRUE | 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 |
972 | 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 |
973 | QQuickItemPrivate::get(afi)->activeFocus = true; | - |
974 | changed << afi; | - |
975 | }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 |
976 | afi = afi->parentItem(); | - |
977 | }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 |
978 | updateFocusItemTransform(); | - |
979 | sendFocusIn = true; | - |
980 | }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 |
981 | | - |
982 | | - |
983 | | - |
984 | if (oldActiveFocusItem) {TRUE | 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 |
985 | QFocusEvent event(QEvent::FocusOut, reason); | - |
986 | QCoreApplication::sendEvent(oldActiveFocusItem, &event); | - |
987 | }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 |
988 | | - |
989 | | - |
990 | if (sendFocusIn && activeFocusItem == newActiveFocusItem) {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 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
|
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 4 times by 1 test |
| 4-4855 |
991 | QFocusEvent event(QEvent::FocusIn, reason); | - |
992 | QCoreApplication::sendEvent(newActiveFocusItem, &event); | - |
993 | }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 |
994 | | - |
995 | if (activeFocusItem != currentActiveFocusItem)TRUE | 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 |
996 | emit 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 |
997 | | - |
998 | 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 |
999 | 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 |
1000 | }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 |
1001 | | - |
1002 | void QQuickWindowPrivate::clearFocusInScope(QQuickItem *scope, QQuickItem *item, Qt::FocusReason reason, FocusOptions options) | - |
1003 | { | - |
1004 | Q_Q(QQuickWindow); | - |
1005 | | - |
1006 | Q_ASSERT(item); | - |
1007 | Q_ASSERT(scope || item == contentItem); | - |
1008 | | - |
1009 | qCDebug(DBG_FOCUS) << "QQuickWindowPrivate::clearFocusInScope():"; never executed: QMessageLogger(__FILE__, 1009, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << "QQuickWindowPrivate::clearFocusInScope():"; TRUE | 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
|
| 0-3198 |
1010 | qCDebug(DBG_FOCUS) << " scope:" << (QObject *)scope; never executed: QMessageLogger(__FILE__, 1010, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " scope:" << (QObject *)scope; TRUE | 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
|
| 0-3198 |
1011 | qCDebug(DBG_FOCUS) << " item:" << (QObject *)item; never executed: QMessageLogger(__FILE__, 1011, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " item:" << (QObject *)item; TRUE | 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
|
| 0-3198 |
1012 | qCDebug(DBG_FOCUS) << " activeFocusItem:" << (QObject *)activeFocusItem; never executed: QMessageLogger(__FILE__, 1012, __PRETTY_FUNCTION__, DBG_FOCUS().categoryName()).debug() << " activeFocusItem:" << (QObject *)activeFocusItem; TRUE | 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
|
| 0-3198 |
1013 | | - |
1014 | QQuickItemPrivate *scopePrivate = nullptr; | - |
1015 | if (scope) {TRUE | 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 |
1016 | scopePrivate = QQuickItemPrivate::get(scope); | - |
1017 | if ( !scopePrivate->subFocusItem )TRUE | 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 |
1018 | return; never executed: return; | 0 |
1019 | }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 |
1020 | | - |
1021 | QQuickItem *currentActiveFocusItem = activeFocusItem; | - |
1022 | QQuickItem *oldActiveFocusItem = nullptr; | - |
1023 | QQuickItem *newActiveFocusItem = nullptr; | - |
1024 | | - |
1025 | lastFocusReason = reason; | - |
1026 | | - |
1027 | QVarLengthArray<QQuickItem *, 20> changed; | - |
1028 | | - |
1029 | Q_ASSERT(item == contentItem || item == scopePrivate->subFocusItem); | - |
1030 | | - |
1031 | | - |
1032 | if (item == contentItem || scopePrivate->activeFocus) {TRUE | 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
|
TRUE | 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 |
1033 | oldActiveFocusItem = activeFocusItem; | - |
1034 | newActiveFocusItem = scope; | - |
1035 | | - |
1036 | #if QT_CONFIG(im) | - |
1037 | QGuiApplication::inputMethod()->commit(); | - |
1038 | #endif | - |
1039 | | - |
1040 | activeFocusItem = nullptr; | - |
1041 | | - |
1042 | if (oldActiveFocusItem) {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 | never evaluated |
| 0-464 |
1043 | QQuickItem *afi = oldActiveFocusItem; | - |
1044 | while (afi && afi != scope) {TRUE | 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
|
TRUE | 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 |
1045 | if (QQuickItemPrivate::get(afi)->activeFocus) {TRUE | 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 |
1046 | QQuickItemPrivate::get(afi)->activeFocus = false; | - |
1047 | changed << afi; | - |
1048 | }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 |
1049 | afi = afi->parentItem(); | - |
1050 | }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 |
1051 | }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 |
1052 | }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 |
1053 | | - |
1054 | if (item != contentItem && !(options & DontChangeSubFocusItem)) {TRUE | 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
|
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 |
1055 | QQuickItem *oldSubFocusItem = scopePrivate->subFocusItem; | - |
1056 | if (oldSubFocusItem && !(options & DontChangeFocusProperty)) {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 | never evaluated |
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 |
1057 | QQuickItemPrivate::get(oldSubFocusItem)->focus = false; | - |
1058 | changed << oldSubFocusItem; | - |
1059 | }executed 70 times by 4 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickitem
- tst_qquicktextedit
- tst_qquicktextinput
| 70 |
1060 | | - |
1061 | QQuickItemPrivate::get(item)->updateSubFocusItem(scope, false); | - |
1062 | | - |
1063 | } else if (!(options & DontChangeFocusProperty)) {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
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 |
1064 | QQuickItemPrivate::get(item)->focus = false; | - |
1065 | changed << item; | - |
1066 | }executed 20 times by 5 tests: end of block Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
1067 | | - |
1068 | if (newActiveFocusItem) {TRUE | 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 |
1069 | Q_ASSERT(newActiveFocusItem == scope); | - |
1070 | activeFocusItem = scope; | - |
1071 | updateFocusItemTransform(); | - |
1072 | }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 |
1073 | | - |
1074 | | - |
1075 | | - |
1076 | | - |
1077 | if (oldActiveFocusItem) {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 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 |
1078 | QFocusEvent event(QEvent::FocusOut, reason); | - |
1079 | QCoreApplication::sendEvent(oldActiveFocusItem, &event); | - |
1080 | }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 |
1081 | | - |
1082 | | - |
1083 | if (newActiveFocusItem && activeFocusItem == newActiveFocusItem) {TRUE | 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
|
TRUE | 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 |
1084 | QFocusEvent event(QEvent::FocusIn, reason); | - |
1085 | QCoreApplication::sendEvent(newActiveFocusItem, &event); | - |
1086 | }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 |
1087 | | - |
1088 | if (activeFocusItem != currentActiveFocusItem)TRUE | 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 |
1089 | emit 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 |
1090 | | - |
1091 | 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 |
1092 | 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 |
1093 | }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 |
1094 | | - |
1095 | void QQuickWindowPrivate::clearFocusObject() | - |
1096 | { | - |
1097 | if (activeFocusItem == contentItem)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1098 | return; never executed: return; | 0 |
1099 | | - |
1100 | clearFocusInScope(contentItem, QQuickItemPrivate::get(contentItem)->subFocusItem, Qt::OtherFocusReason); | - |
1101 | } never executed: end of block | 0 |
1102 | | - |
1103 | void QQuickWindowPrivate::notifyFocusChangesRecur(QQuickItem **items, int remaining) | - |
1104 | { | - |
1105 | QPointer<QQuickItem> item(*items); | - |
1106 | | - |
1107 | if (remaining)TRUE | 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 |
1108 | 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 |
1109 | | - |
1110 | if (item) {TRUE | 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 |
1111 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1112 | | - |
1113 | if (itemPrivate->notifiedFocus != itemPrivate->focus) {TRUE | 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 |
1114 | itemPrivate->notifiedFocus = itemPrivate->focus; | - |
1115 | emit item->focusChanged(itemPrivate->focus); | - |
1116 | }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 |
1117 | | - |
1118 | if (item && itemPrivate->notifiedActiveFocus != itemPrivate->activeFocus) {TRUE | 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 |
1119 | itemPrivate->notifiedActiveFocus = itemPrivate->activeFocus; | - |
1120 | itemPrivate->itemChange(QQuickItem::ItemActiveFocusHasChanged, itemPrivate->activeFocus); | - |
1121 | emit item->activeFocusChanged(itemPrivate->activeFocus); | - |
1122 | }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 |
1123 | }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 |
1124 | }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 |
1125 | | - |
1126 | void QQuickWindowPrivate::dirtyItem(QQuickItem *) | - |
1127 | { | - |
1128 | Q_Q(QQuickWindow); | - |
1129 | q->maybeUpdate(); | - |
1130 | }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 |
1131 | | - |
1132 | void QQuickWindowPrivate::cleanup(QSGNode *n) | - |
1133 | { | - |
1134 | Q_Q(QQuickWindow); | - |
1135 | | - |
1136 | Q_ASSERT(!cleanupNodeList.contains(n)); | - |
1137 | cleanupNodeList.append(n); | - |
1138 | q->maybeUpdate(); | - |
1139 | }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 |
1140 | | - |
1141 | | - |
1142 | | - |
1143 | | - |
1144 | | - |
1145 | | - |
1146 | | - |
1147 | | - |
1148 | | - |
1149 | | - |
1150 | | - |
1151 | | - |
1152 | | - |
1153 | | - |
1154 | | - |
1155 | | - |
1156 | | - |
1157 | | - |
1158 | | - |
1159 | | - |
1160 | | - |
1161 | | - |
1162 | | - |
1163 | | - |
1164 | | - |
1165 | | - |
1166 | | - |
1167 | | - |
1168 | | - |
1169 | | - |
1170 | | - |
1171 | | - |
1172 | | - |
1173 | | - |
1174 | | - |
1175 | | - |
1176 | | - |
1177 | | - |
1178 | | - |
1179 | | - |
1180 | | - |
1181 | | - |
1182 | | - |
1183 | | - |
1184 | | - |
1185 | | - |
1186 | | - |
1187 | | - |
1188 | | - |
1189 | | - |
1190 | | - |
1191 | | - |
1192 | | - |
1193 | | - |
1194 | | - |
1195 | | - |
1196 | | - |
1197 | | - |
1198 | | - |
1199 | | - |
1200 | | - |
1201 | | - |
1202 | | - |
1203 | | - |
1204 | | - |
1205 | | - |
1206 | | - |
1207 | | - |
1208 | | - |
1209 | | - |
1210 | | - |
1211 | | - |
1212 | | - |
1213 | | - |
1214 | | - |
1215 | | - |
1216 | | - |
1217 | | - |
1218 | | - |
1219 | | - |
1220 | | - |
1221 | | - |
1222 | | - |
1223 | | - |
1224 | | - |
1225 | | - |
1226 | | - |
1227 | | - |
1228 | | - |
1229 | | - |
1230 | | - |
1231 | | - |
1232 | | - |
1233 | | - |
1234 | | - |
1235 | | - |
1236 | | - |
1237 | | - |
1238 | | - |
1239 | | - |
1240 | | - |
1241 | | - |
1242 | | - |
1243 | | - |
1244 | | - |
1245 | | - |
1246 | | - |
1247 | | - |
1248 | | - |
1249 | | - |
1250 | | - |
1251 | | - |
1252 | | - |
1253 | | - |
1254 | | - |
1255 | | - |
1256 | | - |
1257 | | - |
1258 | | - |
1259 | | - |
1260 | | - |
1261 | | - |
1262 | | - |
1263 | | - |
1264 | | - |
1265 | | - |
1266 | | - |
1267 | | - |
1268 | QQuickWindow::QQuickWindow(QWindow *parent) | - |
1269 | : QQuickWindow(*new QQuickWindowPrivate, parent) | - |
1270 | { | - |
1271 | }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 |
1272 | | - |
1273 | | - |
1274 | | - |
1275 | | - |
1276 | | - |
1277 | | - |
1278 | QQuickWindow::QQuickWindow(QQuickWindowPrivate &dd, QWindow *parent) | - |
1279 | : QWindow(dd, parent) | - |
1280 | { | - |
1281 | Q_D(QQuickWindow); | - |
1282 | d->init(this); | - |
1283 | }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 |
1284 | | - |
1285 | | - |
1286 | | - |
1287 | | - |
1288 | QQuickWindow::QQuickWindow(QQuickRenderControl *control) | - |
1289 | : QWindow(*(new QQuickWindowPrivate), nullptr) | - |
1290 | { | - |
1291 | Q_D(QQuickWindow); | - |
1292 | d->init(this, control); | - |
1293 | }executed 118 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 118 |
1294 | | - |
1295 | | - |
1296 | | - |
1297 | | - |
1298 | QQuickWindow::QQuickWindow(QQuickWindowPrivate &dd, QQuickRenderControl *control) | - |
1299 | : QWindow(dd, nullptr) | - |
1300 | { | - |
1301 | Q_D(QQuickWindow); | - |
1302 | d->init(this, control); | - |
1303 | } never executed: end of block | 0 |
1304 | | - |
1305 | | - |
1306 | | - |
1307 | | - |
1308 | QQuickWindow::~QQuickWindow() | - |
1309 | { | - |
1310 | Q_D(QQuickWindow); | - |
1311 | | - |
1312 | if (d->renderControl) {TRUE | 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 |
1313 | QQuickRenderControlPrivate::get(d->renderControl)->windowDestroyed(); | - |
1314 | } else if (d->windowManager) { never executed: end of block TRUE | 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 |
1315 | d->windowManager->removeWindow(this); | - |
1316 | d->windowManager->windowDestroyed(this); | - |
1317 | }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 |
1318 | | - |
1319 | delete d->incubationController; d->incubationController = nullptr; | - |
1320 | #if QT_CONFIG(draganddrop) | - |
1321 | delete d->dragGrabber; d->dragGrabber = nullptr; | - |
1322 | #endif | - |
1323 | QQuickRootItem *root = d->contentItem; | - |
1324 | d->contentItem = nullptr; | - |
1325 | delete root; | - |
1326 | qDeleteAll(d->pointerEventInstances); | - |
1327 | d->pointerEventInstances.clear(); | - |
1328 | | - |
1329 | d->renderJobMutex.lock(); | - |
1330 | qDeleteAll(d->beforeSynchronizingJobs); | - |
1331 | d->beforeSynchronizingJobs.clear(); | - |
1332 | qDeleteAll(d->afterSynchronizingJobs); | - |
1333 | d->afterSynchronizingJobs.clear(); | - |
1334 | qDeleteAll(d->beforeRenderingJobs); | - |
1335 | d->beforeRenderingJobs.clear(); | - |
1336 | qDeleteAll(d->afterRenderingJobs); | - |
1337 | d->afterRenderingJobs.clear(); | - |
1338 | qDeleteAll(d->afterSwapJobs); | - |
1339 | d->afterSwapJobs.clear(); | - |
1340 | d->renderJobMutex.unlock(); | - |
1341 | | - |
1342 | | - |
1343 | | - |
1344 | | - |
1345 | | - |
1346 | | - |
1347 | QQuickPixmap::purgeCache(); | - |
1348 | }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 |
1349 | | - |
1350 | | - |
1351 | | - |
1352 | | - |
1353 | | - |
1354 | | - |
1355 | | - |
1356 | | - |
1357 | | - |
1358 | | - |
1359 | | - |
1360 | | - |
1361 | | - |
1362 | | - |
1363 | void QQuickWindow::releaseResources() | - |
1364 | { | - |
1365 | Q_D(QQuickWindow); | - |
1366 | if (d->windowManager)TRUE | evaluated 254 times by 3 testsEvaluated by:- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
| 0-254 |
1367 | d->windowManager->releaseResources(this);executed 254 times by 3 tests: d->windowManager->releaseResources(this); Executed by:- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickimage
| 254 |
1368 | QQuickPixmap::purgeCache(); | - |
1369 | }executed 254 times by 3 tests: end of block Executed by:- tst_qquickanimatedimage
- tst_qquickborderimage
- tst_qquickimage
| 254 |
1370 | | - |
1371 | | - |
1372 | | - |
1373 | | - |
1374 | | - |
1375 | | - |
1376 | | - |
1377 | | - |
1378 | | - |
1379 | | - |
1380 | | - |
1381 | | - |
1382 | | - |
1383 | | - |
1384 | | - |
1385 | | - |
1386 | | - |
1387 | | - |
1388 | | - |
1389 | | - |
1390 | | - |
1391 | | - |
1392 | | - |
1393 | | - |
1394 | | - |
1395 | | - |
1396 | | - |
1397 | | - |
1398 | | - |
1399 | void QQuickWindow::setPersistentOpenGLContext(bool persistent) | - |
1400 | { | - |
1401 | Q_D(QQuickWindow); | - |
1402 | d->persistentGLContext = persistent; | - |
1403 | }executed 266 times by 1 test: end of block | 266 |
1404 | | - |
1405 | | - |
1406 | | - |
1407 | | - |
1408 | | - |
1409 | | - |
1410 | | - |
1411 | | - |
1412 | | - |
1413 | | - |
1414 | | - |
1415 | | - |
1416 | bool QQuickWindow::isPersistentOpenGLContext() const | - |
1417 | { | - |
1418 | Q_D(const QQuickWindow); | - |
1419 | return d->persistentGLContext; never executed: return d->persistentGLContext; | 0 |
1420 | } | - |
1421 | | - |
1422 | | - |
1423 | | - |
1424 | | - |
1425 | | - |
1426 | | - |
1427 | | - |
1428 | | - |
1429 | | - |
1430 | | - |
1431 | | - |
1432 | | - |
1433 | | - |
1434 | | - |
1435 | | - |
1436 | | - |
1437 | | - |
1438 | | - |
1439 | | - |
1440 | | - |
1441 | | - |
1442 | | - |
1443 | | - |
1444 | | - |
1445 | void QQuickWindow::setPersistentSceneGraph(bool persistent) | - |
1446 | { | - |
1447 | Q_D(QQuickWindow); | - |
1448 | d->persistentSceneGraph = persistent; | - |
1449 | }executed 266 times by 1 test: end of block | 266 |
1450 | | - |
1451 | | - |
1452 | | - |
1453 | | - |
1454 | | - |
1455 | | - |
1456 | | - |
1457 | | - |
1458 | | - |
1459 | | - |
1460 | | - |
1461 | bool QQuickWindow::isPersistentSceneGraph() const | - |
1462 | { | - |
1463 | Q_D(const QQuickWindow); | - |
1464 | return d->persistentSceneGraph;executed 28 times by 1 test: return d->persistentSceneGraph; | 28 |
1465 | } | - |
1466 | | - |
1467 | | - |
1468 | | - |
1469 | | - |
1470 | | - |
1471 | | - |
1472 | | - |
1473 | | - |
1474 | | - |
1475 | | - |
1476 | | - |
1477 | | - |
1478 | | - |
1479 | | - |
1480 | | - |
1481 | | - |
1482 | | - |
1483 | | - |
1484 | | - |
1485 | | - |
1486 | | - |
1487 | QQuickItem *QQuickWindow::contentItem() const | - |
1488 | { | - |
1489 | Q_D(const QQuickWindow); | - |
1490 | | - |
1491 | return 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 |
1492 | } | - |
1493 | | - |
1494 | | - |
1495 | | - |
1496 | | - |
1497 | | - |
1498 | | - |
1499 | | - |
1500 | QQuickItem *QQuickWindow::activeFocusItem() const | - |
1501 | { | - |
1502 | Q_D(const QQuickWindow); | - |
1503 | | - |
1504 | return 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 |
1505 | } | - |
1506 | | - |
1507 | | - |
1508 | | - |
1509 | | - |
1510 | | - |
1511 | QObject *QQuickWindow::focusObject() const | - |
1512 | { | - |
1513 | Q_D(const QQuickWindow); | - |
1514 | | - |
1515 | if (d->activeFocusItem)TRUE | 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 |
1516 | return 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 |
1517 | return const_cast<QQuickWindow*>(this); never executed: return const_cast<QQuickWindow*>(this); | 0 |
1518 | } | - |
1519 | | - |
1520 | | - |
1521 | | - |
1522 | | - |
1523 | | - |
1524 | QQuickItem *QQuickWindow::mouseGrabberItem() const | - |
1525 | { | - |
1526 | Q_D(const QQuickWindow); | - |
1527 | | - |
1528 | 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 |
1529 | 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 |
1530 | auto point = event->pointById(d->touchMouseId); | - |
1531 | return 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 |
1532 | } | - |
1533 | } else if (QQuickPointerEvent *event = d->queryPointerEventInstance(QQuickPointerDevice::genericMouseDevice())) { never executed: end of block 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 |
1534 | Q_ASSERT(event->pointCount()); | - |
1535 | return 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 |
1536 | } | - |
1537 | return 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 |
1538 | } | - |
1539 | | - |
1540 | | - |
1541 | bool QQuickWindowPrivate::clearHover(ulong timestamp) | - |
1542 | { | - |
1543 | Q_Q(QQuickWindow); | - |
1544 | 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 |
1545 | return 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 |
1546 | | - |
1547 | QPointF pos = q->mapFromGlobal(QGuiApplicationPrivate::lastCursorPosition.toPoint()); | - |
1548 | | - |
1549 | bool accepted = false; | - |
1550 | for (QQuickItem* item : qAsConst(hoverItems)) { | - |
1551 | accepted = sendHoverEvent(QEvent::HoverLeave, item, pos, pos, QGuiApplication::keyboardModifiers(), timestamp, true) || accepted;TRUE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-10 |
1552 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1553 | if (itemPrivate->hasPointerHandlers()) {TRUE | never evaluated | FALSE | evaluated 10 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
|
| 0-10 |
1554 | pos = q->mapFromGlobal(QCursor::pos()); | - |
1555 | QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::genericMouseDevice(), QEvent::MouseMove); | - |
1556 | pointerEvent->point(0)->reset(Qt::TouchPointMoved, pos, quint64(1) << 24 , timestamp, QVector2D()); | - |
1557 | pointerEvent->point(0)->setAccepted(true); | - |
1558 | pointerEvent->localize(item); | - |
1559 | for (QQuickPointerHandler *h : itemPrivate->extra->pointerHandlers) | - |
1560 | if (QQuickHoverHandler *hh = qmlobject_cast<QQuickHoverHandler *>(h))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1561 | hh->handlePointerEvent(pointerEvent); never executed: hh->handlePointerEvent(pointerEvent); | 0 |
1562 | } never executed: end of block | 0 |
1563 | }executed 10 times by 3 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
| 10 |
1564 | hoverItems.clear(); | - |
1565 | return accepted;executed 10 times by 3 tests: return accepted; Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickwidget
| 10 |
1566 | } | - |
1567 | | - |
1568 | | - |
1569 | bool QQuickWindow::event(QEvent *e) | - |
1570 | { | - |
1571 | Q_D(QQuickWindow); | - |
1572 | | - |
1573 | switch (e->type()) { | - |
1574 | | - |
1575 | case 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 |
1576 | case 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 |
1577 | case 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 |
1578 | QTouchEvent *touch = static_cast<QTouchEvent*>(e); | - |
1579 | d->handleTouchEvent(touch); | - |
1580 | if (Q_LIKELY(QCoreApplication::testAttribute(Qt::AA_SynthesizeMouseForUnhandledTouchEvents))) {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 |
1581 | | - |
1582 | | - |
1583 | e->accept(); | - |
1584 | }executed 448 times by 5 tests: end of block Executed by:- tst_qquickflickable
- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 448 |
1585 | return 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 |
1586 | } | - |
1587 | break; dead code: break; | - |
1588 | case QEvent::TouchCancel:executed 2 times by 1 test: case QEvent::TouchCancel: | 2 |
1589 | | - |
1590 | return d->deliverTouchCancelEvent(static_cast<QTouchEvent*>(e));executed 2 times by 1 test: return d->deliverTouchCancelEvent(static_cast<QTouchEvent*>(e)); | 2 |
1591 | break; dead code: break; | - |
1592 | case 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 |
1593 | if (!d->contentItem)TRUE | 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 |
1594 | return false; never executed: return false; | 0 |
1595 | QEnterEvent *enter = static_cast<QEnterEvent*>(e); | - |
1596 | bool accepted = enter->isAccepted(); | - |
1597 | bool delivered = d->deliverHoverEvent(d->contentItem, enter->windowPos(), d->lastMousePosition, | - |
1598 | QGuiApplication::keyboardModifiers(), 0L, accepted); | - |
1599 | enter->setAccepted(accepted); | - |
1600 | return 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 |
1601 | } | - |
1602 | break; dead code: break; | - |
1603 | case QEvent::Leave:executed 2 times by 1 test: case QEvent::Leave: | 2 |
1604 | d->clearHover(); | - |
1605 | d->lastMousePosition = QPointF(); | - |
1606 | break;executed 2 times by 1 test: break; | 2 |
1607 | #if QT_CONFIG(draganddrop) | - |
1608 | case QEvent::DragEnter:executed 60 times by 1 test: case QEvent::DragEnter: | 60 |
1609 | case QEvent::DragLeave:executed 50 times by 1 test: case QEvent::DragLeave: | 50 |
1610 | case QEvent::DragMove:executed 68 times by 1 test: case QEvent::DragMove: | 68 |
1611 | case QEvent::Drop:executed 10 times by 1 test: case QEvent::Drop: | 10 |
1612 | d->deliverDragEvent(d->dragGrabber, e); | - |
1613 | break;executed 188 times by 1 test: break; | 188 |
1614 | #endif | - |
1615 | case QEvent::WindowDeactivate: never executed: case QEvent::WindowDeactivate: | 0 |
1616 | if (d->contentItem)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1617 | d->contentItem->windowDeactivateEvent(); never executed: d->contentItem->windowDeactivateEvent(); | 0 |
1618 | break; never executed: break; | 0 |
1619 | case QEvent::Close: { never executed: case QEvent::Close: | 0 |
1620 | | - |
1621 | | - |
1622 | QQuickCloseEvent qev; | - |
1623 | qev.setAccepted(e->isAccepted()); | - |
1624 | emit closing(&qev); | - |
1625 | e->setAccepted(qev.isAccepted()); | - |
1626 | } break; never executed: break; | 0 |
1627 | case QEvent::FocusAboutToChange:executed 20 times by 5 tests: case QEvent::FocusAboutToChange: Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
1628 | #if QT_CONFIG(im) | - |
1629 | if (d->activeFocusItem)TRUE | evaluated 20 times by 5 testsEvaluated by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| FALSE | never evaluated |
| 0-20 |
1630 | qGuiApp->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 |
1631 | #endif | - |
1632 | 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 |
1633 | mouseGrabberItem()->ungrabMouse(); never executed: mouseGrabberItem()->ungrabMouse(); | 0 |
1634 | break;executed 20 times by 5 tests: break; Executed by:- tst_qquickapplication
- tst_qquickfocusscope
- tst_qquickitem
- tst_qquickitem2
- tst_qquicktextedit
| 20 |
1635 | case 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 |
1636 | if (d->windowManager)TRUE | 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 |
1637 | 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 |
1638 | 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 |
1639 | } | - |
1640 | #if QT_CONFIG(gestures) | - |
1641 | case QEvent::NativeGesture: never executed: case QEvent::NativeGesture: | 0 |
1642 | d->deliverSinglePointEventUntilAccepted(d->pointerEventInstance(e)); | - |
1643 | break; never executed: break; | 0 |
1644 | #endif | - |
1645 | case 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 |
1646 | if (d->activeFocusItem)TRUE | 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 |
1647 | 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 |
1648 | return 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 |
1649 | default: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 |
1650 | 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 |
1651 | } | - |
1652 | | - |
1653 | 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 |
1654 | update(); never executed: update(); | 0 |
1655 | | - |
1656 | return 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 |
1657 | } | - |
1658 | | - |
1659 | | - |
1660 | void QQuickWindow::keyPressEvent(QKeyEvent *e) | - |
1661 | { | - |
1662 | Q_D(QQuickWindow); | - |
1663 | Q_QUICK_INPUT_PROFILE(QQuickProfiler::Key, QQuickProfiler::InputKeyPress, e->key(), never executed: end of block 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
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
|
| 0-3506 |
1664 | e->modifiers());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 |
1665 | d->deliverKeyEvent(e); | - |
1666 | }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 |
1667 | | - |
1668 | | - |
1669 | void QQuickWindow::keyReleaseEvent(QKeyEvent *e) | - |
1670 | { | - |
1671 | Q_D(QQuickWindow); | - |
1672 | Q_QUICK_INPUT_PROFILE(QQuickProfiler::Key, QQuickProfiler::InputKeyRelease, e->key(), never executed: end of block 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
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
|
| 0-3126 |
1673 | e->modifiers());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 |
1674 | d->deliverKeyEvent(e); | - |
1675 | }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 |
1676 | | - |
1677 | void QQuickWindowPrivate::deliverKeyEvent(QKeyEvent *e) | - |
1678 | { | - |
1679 | if (activeFocusItem) {TRUE | 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 |
1680 | QQuickItem *item = activeFocusItem; | - |
1681 | e->accept(); | - |
1682 | QCoreApplication::sendEvent(item, e); | - |
1683 | while (!e->isAccepted() && (item = item->parentItem())) {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
|
| 2578-6132 |
1684 | e->accept(); | - |
1685 | QCoreApplication::sendEvent(item, e); | - |
1686 | }executed 3554 times by 6 tests: end of block Executed by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| 3554 |
1687 | }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 |
1688 | }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 |
1689 | | - |
1690 | QMouseEvent *QQuickWindowPrivate::cloneMouseEvent(QMouseEvent *event, QPointF *transformedLocalPos) | - |
1691 | { | - |
1692 | int caps = QGuiApplicationPrivate::mouseEventCaps(event); | - |
1693 | QVector2D velocity = QGuiApplicationPrivate::mouseEventVelocity(event); | - |
1694 | QMouseEvent *me = new QMouseEvent(event->type(), | - |
1695 | transformedLocalPos ? *transformedLocalPos : event->localPos(), | - |
1696 | event->windowPos(), event->screenPos(), | - |
1697 | event->button(), event->buttons(), event->modifiers()); | - |
1698 | QGuiApplicationPrivate::setMouseEventCapsAndVelocity(me, caps, velocity); | - |
1699 | QGuiApplicationPrivate::setMouseEventSource(me, QGuiApplicationPrivate::mouseEventSource(event)); | - |
1700 | me->setTimestamp(event->timestamp()); | - |
1701 | return 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 |
1702 | } | - |
1703 | | - |
1704 | void QQuickWindowPrivate::deliverToPassiveGrabbers(const QVector<QPointer <QQuickPointerHandler> > &passiveGrabbers, | - |
1705 | QQuickPointerEvent *pointerEvent) | - |
1706 | { | - |
1707 | const QVector<QQuickPointerHandler *> &eventDeliveryTargets = pointerEvent->device()->eventDeliveryTargets(); | - |
1708 | QVarLengthArray<QPair<QQuickItem *, bool>, 4> sendFilteredPointerEventResult; | - |
1709 | for (auto handler : passiveGrabbers) { | - |
1710 | | - |
1711 | if (Q_LIKELY(handler) && !eventDeliveryTargets.contains(handler)) {TRUE | evaluated 1153 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| FALSE | never evaluated |
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 |
1712 | bool alreadyFiltered = false; | - |
1713 | QQuickItem *par = handler->parentItem(); | - |
1714 | | - |
1715 | | - |
1716 | auto it = std::find_if(sendFilteredPointerEventResult.begin(), sendFilteredPointerEventResult.end(), | - |
1717 | [par](const QPair<QQuickItem *, bool> &pair) { return pair.first == par; });executed 116 times by 2 tests: return pair.first == par; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
| 116 |
1718 | 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 |
1719 | | - |
1720 | | - |
1721 | alreadyFiltered = it->second; | - |
1722 | } else {executed 100 times by 2 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
| 100 |
1723 | alreadyFiltered = sendFilteredPointerEvent(pointerEvent, par); | - |
1724 | sendFilteredPointerEventResult << qMakePair<QQuickItem*, bool>(par, alreadyFiltered); | - |
1725 | }executed 420 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| 420 |
1726 | if (!alreadyFiltered) {TRUE | 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 |
1727 | pointerEvent->localize(handler->parentItem()); | - |
1728 | handler->handlePointerEvent(pointerEvent); | - |
1729 | }executed 504 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| 504 |
1730 | }executed 520 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| 520 |
1731 | }executed 1153 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquicktaphandler
| 1153 |
1732 | }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 |
1733 | | - |
1734 | | - |
1735 | | - |
1736 | void QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent *pointerEvent) | - |
1737 | { | - |
1738 | auto point = pointerEvent->point(0); | - |
1739 | lastMousePosition = point->scenePosition(); | - |
1740 | const bool mouseIsReleased = (point->state() == QQuickEventPoint::Released && pointerEvent->buttons() == Qt::NoButton);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
|
TRUE | 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 |
1741 | | - |
1742 | 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 |
1743 | 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 |
1744 | bool handled = false; | - |
1745 | 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 |
1746 | handled = true;executed 116 times by 5 tests: handled = true; Executed by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 116 |
1747 | | - |
1748 | | - |
1749 | | - |
1750 | Qt::MouseButtons acceptedButtons = grabber->acceptedMouseButtons(); | - |
1751 | if (!handled && pointerEvent->button() != Qt::NoButton && acceptedButtonsTRUE | 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
|
TRUE | 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
|
| 116-6414 |
1752 | && !(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 |
1753 | pointerEvent->setAccepted(false); | - |
1754 | handled = true; | - |
1755 | }executed 16 times by 2 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
| 16 |
1756 | | - |
1757 | | - |
1758 | if (!handled) {TRUE | 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 |
1759 | QPointF localPos = grabber->mapFromScene(lastMousePosition); | - |
1760 | auto me = pointerEvent->asMouseEvent(localPos); | - |
1761 | me->accept(); | - |
1762 | QCoreApplication::sendEvent(grabber, me); | - |
1763 | point->setAccepted(me->isAccepted()); | - |
1764 | }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 |
1765 | | - |
1766 | | - |
1767 | if (mouseIsReleased)TRUE | 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 |
1768 | 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 |
1769 | } else {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
| 6530 |
1770 | | - |
1771 | auto handler = point->grabberPointerHandler(); | - |
1772 | pointerEvent->localize(handler->parentItem()); | - |
1773 | 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 |
1774 | handler->handlePointerEvent(pointerEvent);executed 62 times by 4 tests: handler->handlePointerEvent(pointerEvent); Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 62 |
1775 | if (mouseIsReleased)TRUE | 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 |
1776 | 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 |
1777 | }executed 66 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 66 |
1778 | deliverToPassiveGrabbers(point->passiveGrabbers(), pointerEvent); | - |
1779 | } else {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
| 6596 |
1780 | bool delivered = false; | - |
1781 | 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 |
1782 | | - |
1783 | delivered = deliverPressOrReleaseEvent(pointerEvent); | - |
1784 | } else if (pointerEvent->device()->type() == QQuickPointerDevice::Mouse) {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
TRUE | 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 |
1785 | | - |
1786 | | - |
1787 | | - |
1788 | deliverToPassiveGrabbers(point->passiveGrabbers(), pointerEvent); | - |
1789 | | - |
1790 | | - |
1791 | if (!pointerEvent->allPointsGrabbed() && pointerEvent->buttons()) {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
|
| 10-1774 |
1792 | QVector<QQuickItem *> targetItems = pointerTargets(contentItem, point, false, false); | - |
1793 | for (QQuickItem *item : targetItems) { | - |
1794 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1795 | if (!itemPrivate->extra.isAllocated() || itemPrivate->extra->pointerHandlers.isEmpty())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
|
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 |
1796 | 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 |
1797 | pointerEvent->localize(item); | - |
1798 | 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 |
1799 | 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 |
1800 | delivered = true;executed 60 times by 2 tests: delivered = true; Executed by:- tst_flickableinterop
- tst_qquickpointerhandler
| 60 |
1801 | }executed 82 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 82 |
1802 | 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 |
1803 | break;executed 6 times by 1 test: break; | 6 |
1804 | }executed 82 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 82 |
1805 | }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 |
1806 | }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 |
1807 | | - |
1808 | if (!delivered)TRUE | 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 |
1809 | | - |
1810 | 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 |
1811 | }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 |
1812 | } | - |
1813 | | - |
1814 | bool QQuickWindowPrivate::sendHoverEvent(QEvent::Type type, QQuickItem *item, | - |
1815 | const QPointF &scenePos, const QPointF &lastScenePos, | - |
1816 | Qt::KeyboardModifiers modifiers, ulong timestamp, | - |
1817 | bool accepted) | - |
1818 | { | - |
1819 | const QTransform transform = QQuickItemPrivate::get(item)->windowToItemTransform(); | - |
1820 | | - |
1821 | | - |
1822 | QHoverEvent hoverEvent(type, transform.map(scenePos), transform.map(lastScenePos), modifiers); | - |
1823 | hoverEvent.setTimestamp(timestamp); | - |
1824 | hoverEvent.setAccepted(accepted); | - |
1825 | | - |
1826 | hasFiltered.clear(); | - |
1827 | 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 |
1828 | return true; never executed: return true; | 0 |
1829 | | - |
1830 | QCoreApplication::sendEvent(item, &hoverEvent); | - |
1831 | | - |
1832 | return 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 |
1833 | } | - |
1834 | | - |
1835 | bool QQuickWindowPrivate::deliverHoverEvent(QQuickItem *item, const QPointF &scenePos, const QPointF &lastScenePos, | - |
1836 | Qt::KeyboardModifiers modifiers, ulong timestamp, bool &accepted) | - |
1837 | { | - |
1838 | Q_Q(QQuickWindow); | - |
1839 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1840 | | - |
1841 | if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShape) {TRUE | 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 |
1842 | QPointF p = item->mapFromScene(scenePos); | - |
1843 | if (!item->contains(p))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1844 | return false; never executed: return false; | 0 |
1845 | } never executed: end of block | 0 |
1846 | | - |
1847 | qCDebug(DBG_HOVER_TRACE) << 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; TRUE | 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 |
1848 | if (itemPrivate->subtreeHoverEnabled) {TRUE | 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 |
1849 | QList<QQuickItem *> children = itemPrivate->paintOrderChildItems(); | - |
1850 | for (int ii = children.count() - 1; ii >= 0; --ii) {TRUE | 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
|
| 918-1202 |
1851 | QQuickItem *child = children.at(ii); | - |
1852 | if (!child->isVisible() || !child->isEnabled() || QQuickItemPrivate::get(child)->culled)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
|
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
|
TRUE | never evaluated | FALSE | evaluated 1164 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
|
| 0-1174 |
1853 | continue;executed 38 times by 2 tests: continue; Executed by:- tst_qquickitem
- tst_qquickmousearea
| 38 |
1854 | 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 |
1855 | return true;executed 734 times by 6 tests: return true; Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 734 |
1856 | }executed 430 times by 5 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
| 430 |
1857 | }executed 918 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 918 |
1858 | | - |
1859 | 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 |
1860 | QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::genericMouseDevice(), QEvent::MouseMove); | - |
1861 | pointerEvent->point(0)->reset(Qt::TouchPointMoved, scenePos, quint64(1) << 24 , timestamp, QVector2D()); | - |
1862 | pointerEvent->point(0)->setAccepted(true); | - |
1863 | pointerEvent->localize(item); | - |
1864 | for (QQuickPointerHandler *h : itemPrivate->extra->pointerHandlers) | - |
1865 | if (QQuickHoverHandler *hh = qmlobject_cast<QQuickHoverHandler *>(h))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1866 | hh->handlePointerEvent(pointerEvent); never executed: hh->handlePointerEvent(pointerEvent); | 0 |
1867 | } never executed: end of block | 0 |
1868 | | - |
1869 | if (itemPrivate->hoverEnabled) {TRUE | 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 |
1870 | QPointF p = item->mapFromScene(scenePos); | - |
1871 | 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 |
1872 | if (!hoverItems.isEmpty() && hoverItems.at(0) == item) {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
|
TRUE | 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 |
1873 | | - |
1874 | accepted = sendHoverEvent(QEvent::HoverMove, item, scenePos, lastScenePos, modifiers, timestamp, accepted); | - |
1875 | } else {executed 356 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 356 |
1876 | QList<QQuickItem *> itemsToHover; | - |
1877 | QQuickItem* parent = item; | - |
1878 | itemsToHover << item; | - |
1879 | while ((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 |
1880 | 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 |
1881 | | - |
1882 | | - |
1883 | while (!hoverItems.isEmpty() && !itemsToHover.contains(hoverItems.at(0))) {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
|
TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquicktextedit
| FALSE | evaluated 4 times by 1 test |
| 4-150 |
1884 | QQuickItem *hoverLeaveItem = hoverItems.takeFirst(); | - |
1885 | sendHoverEvent(QEvent::HoverLeave, hoverLeaveItem, scenePos, lastScenePos, modifiers, timestamp, accepted); | - |
1886 | }executed 8 times by 3 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquicktextedit
| 8 |
1887 | | - |
1888 | if (!hoverItems.isEmpty() && hoverItems.at(0) == item) {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
|
TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-150 |
1889 | | - |
1890 | accepted = sendHoverEvent(QEvent::HoverMove, item, scenePos, lastScenePos, modifiers, timestamp, accepted); | - |
1891 | } else { never executed: end of block | 0 |
1892 | | - |
1893 | int startIdx = -1; | - |
1894 | 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 |
1895 | startIdx = itemsToHover.indexOf(hoverItems.at(0)) - 1;executed 4 times by 1 test: startIdx = itemsToHover.indexOf(hoverItems.at(0)) - 1; | 4 |
1896 | if (startIdx == -1)TRUE | 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 |
1897 | 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 |
1898 | | - |
1899 | for (int i = startIdx; i >= 0; i--) {TRUE | 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
|
| 154-368 |
1900 | QQuickItem *itemToHover = itemsToHover.at(i); | - |
1901 | QQuickItemPrivate *itemToHoverPrivate = QQuickItemPrivate::get(itemToHover); | - |
1902 | | - |
1903 | | - |
1904 | | - |
1905 | | - |
1906 | | - |
1907 | if (itemToHoverPrivate->window == q && itemToHoverPrivate->hoverEnabled) {TRUE | evaluated 368 times by 6 testsEvaluated by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| FALSE | never evaluated |
TRUE | 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 |
1908 | hoverItems.prepend(itemToHover); | - |
1909 | sendHoverEvent(QEvent::HoverEnter, itemToHover, scenePos, lastScenePos, modifiers, timestamp, accepted); | - |
1910 | }executed 158 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 158 |
1911 | }executed 368 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 368 |
1912 | }executed 154 times by 6 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 154 |
1913 | } | - |
1914 | return true;executed 510 times by 6 tests: return true; Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktext
- tst_qquicktextedit
- tst_qquickwidget
| 510 |
1915 | } | - |
1916 | }executed 90 times by 4 tests: end of block Executed by:- tst_qquickitem
- tst_qquickitem2
- tst_qquickmousearea
- tst_qquicktextedit
| 90 |
1917 | | - |
1918 | return 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 |
1919 | } | - |
1920 | | - |
1921 | | - |
1922 | | - |
1923 | bool QQuickWindowPrivate::deliverSinglePointEventUntilAccepted(QQuickPointerEvent *event) | - |
1924 | { | - |
1925 | Q_ASSERT(event->pointCount() == 1); | - |
1926 | QQuickEventPoint *point = event->point(0); | - |
1927 | QVector<QQuickItem *> targetItems = pointerTargets(contentItem, point, false, false); | - |
1928 | | - |
1929 | for (QQuickItem *item : targetItems) { | - |
1930 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
1931 | event->localize(item); | - |
1932 | | - |
1933 | itemPrivate->handlePointerEvent(event); | - |
1934 | if (point->isAccepted())TRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
| 0-10 |
1935 | return true; never executed: return true; | 0 |
1936 | QPointF g = item->window()->mapToGlobal(point->scenePosition().toPoint()); | - |
1937 | #if QT_CONFIG(wheelevent) | - |
1938 | | - |
1939 | if (QQuickPointerScrollEvent *pse = event->asPointerScrollEvent()) {TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
| FALSE | never evaluated |
| 0-10 |
1940 | QWheelEvent wheel(point->position(), g, pse->pixelDelta().toPoint(), pse->angleDelta().toPoint(), | - |
1941 | pse->buttons(), pse->modifiers(), pse->phase(), | - |
1942 | pse->isInverted(), pse->synthSource()); | - |
1943 | wheel.setTimestamp(pse->timestamp()); | - |
1944 | wheel.accept(); | - |
1945 | QCoreApplication::sendEvent(item, &wheel); | - |
1946 | if (wheel.isAccepted()) {TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
| FALSE | evaluated 6 times by 1 test |
| 4-6 |
1947 | qCDebug(lcWheelTarget) << &wheel << "->" << item; never executed: QMessageLogger(__FILE__, 1947, __PRETTY_FUNCTION__, lcWheelTarget().categoryName()).debug() << &wheel << "->" << item; TRUE | never evaluated | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
| 0-4 |
1948 | event->setAccepted(true); | - |
1949 | return true;executed 4 times by 2 tests: return true; Executed by:- tst_qquickitem
- tst_qquickmousearea
| 4 |
1950 | } | - |
1951 | }executed 6 times by 1 test: end of block | 6 |
1952 | #endif | - |
1953 | #if QT_CONFIG(gestures) | - |
1954 | if (QQuickPointerNativeGestureEvent *pnge = event->asPointerNativeGestureEvent()) {TRUE | never evaluated | FALSE | evaluated 6 times by 1 test |
| 0-6 |
1955 | QNativeGestureEvent nge(pnge->type(), pnge->device()->qTouchDevice(), point->position(), point->scenePosition(), g, | - |
1956 | pnge->value(), 0L, 0L); | - |
1957 | nge.accept(); | - |
1958 | QCoreApplication::sendEvent(item, &nge); | - |
1959 | if (nge.isAccepted()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1960 | qCDebug(lcGestureTarget) << &nge << "->" << item; never executed: QMessageLogger(__FILE__, 1960, __PRETTY_FUNCTION__, lcGestureTarget().categoryName()).debug() << &nge << "->" << item; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1961 | event->setAccepted(true); | - |
1962 | return true; never executed: return true; | 0 |
1963 | } | - |
1964 | } never executed: end of block | 0 |
1965 | #endif // gestures | - |
1966 | }executed 6 times by 1 test: end of block | 6 |
1967 | | - |
1968 | return false; executed 6 times by 1 test: return false; | 6 |
1969 | } | - |
1970 | | - |
1971 | #if QT_CONFIG(wheelevent) | - |
1972 | | - |
1973 | void QQuickWindow::wheelEvent(QWheelEvent *event) | - |
1974 | { | - |
1975 | Q_D(QQuickWindow); | - |
1976 | Q_QUICK_INPUT_PROFILE(QQuickProfiler::Mouse, QQuickProfiler::InputMouseWheel, never executed: end of block executed 10 times by 2 tests: (void)0 ; Executed by:- tst_qquickitem
- tst_qquickmousearea
TRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
| 0-10 |
1977 | event->angleDelta().x(), event->angleDelta().y());executed 10 times by 2 tests: (void)0 ; Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
1978 | | - |
1979 | qCDebug(DBG_MOUSE) << "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(); TRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
| 0-10 |
1980 | | - |
1981 | | - |
1982 | if (d->lastWheelEventAccepted && event->angleDelta().isNull() && event->phase() == Qt::ScrollUpdate)TRUE | never evaluated | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qquickitem
- tst_qquickmousearea
|
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-10 |
1983 | return; never executed: return; | 0 |
1984 | | - |
1985 | event->ignore(); | - |
1986 | d->deliverPointerEvent(d->pointerEventInstance(event)); | - |
1987 | d->lastWheelEventAccepted = event->isAccepted(); | - |
1988 | }executed 10 times by 2 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
1989 | #endif // wheelevent | - |
1990 | | - |
1991 | bool QQuickWindowPrivate::deliverTouchCancelEvent(QTouchEvent *event) | - |
1992 | { | - |
1993 | qCDebug(DBG_TOUCH) << event; never executed: QMessageLogger(__FILE__, 1993, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event; TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
1994 | Q_Q(QQuickWindow); | - |
1995 | | - |
1996 | if (q->mouseGrabberItem())TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
1997 | q->mouseGrabberItem()->ungrabMouse();executed 2 times by 1 test: q->mouseGrabberItem()->ungrabMouse(); | 2 |
1998 | touchMouseId = -1; | - |
1999 | touchMouseDevice = nullptr; | - |
2000 | | - |
2001 | | - |
2002 | | - |
2003 | QQuickPointerEvent *pointerEvent = pointerEventInstance(QQuickPointerDevice::touchDevice(event->device())); | - |
2004 | for (int i = 0; i < pointerEvent->pointCount(); ++i)TRUE | evaluated 4 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-4 |
2005 | pointerEvent->point(i)->cancelExclusiveGrabImpl(event);executed 4 times by 1 test: pointerEvent->point(i)->cancelExclusiveGrabImpl(event); | 4 |
2006 | | - |
2007 | | - |
2008 | pointerEvent->clearGrabbers(); | - |
2009 | return true;executed 2 times by 1 test: return true; | 2 |
2010 | } | - |
2011 | | - |
2012 | void QQuickWindowPrivate::deliverDelayedTouchEvent() | - |
2013 | { | - |
2014 | | - |
2015 | | - |
2016 | | - |
2017 | QScopedPointer<QTouchEvent> e(delayedTouch.take()); | - |
2018 | deliverPointerEvent(pointerEventInstance(e.data())); | - |
2019 | }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 |
2020 | | - |
2021 | bool QQuickWindowPrivate::compressTouchEvent(QTouchEvent *event) | - |
2022 | { | - |
2023 | Q_Q(QQuickWindow); | - |
2024 | Qt::TouchPointStates states = event->touchPointStates(); | - |
2025 | if (((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 |
2026 | || ((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 |
2027 | | - |
2028 | return 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 |
2029 | } | - |
2030 | | - |
2031 | if (!delayedTouch) {TRUE | 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 |
2032 | delayedTouch.reset(new QTouchEvent(event->type(), event->device(), event->modifiers(), event->touchPointStates(), event->touchPoints())); | - |
2033 | delayedTouch->setTimestamp(event->timestamp()); | - |
2034 | if (renderControl)TRUE | 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 |
2035 | QQuickRenderControlPrivate::get(renderControl)->maybeUpdate(); never executed: QQuickRenderControlPrivate::get(renderControl)->maybeUpdate(); | 0 |
2036 | else if (windowManager)TRUE | 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 |
2037 | 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 |
2038 | return 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 |
2039 | } | - |
2040 | | - |
2041 | | - |
2042 | if (delayedTouch->type() == event->type() &&TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
| 0-20 |
2043 | delayedTouch->device() == event->device() &&TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
| 0-20 |
2044 | delayedTouch->modifiers() == event->modifiers() &&TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
| 0-20 |
2045 | delayedTouch->touchPoints().count() == event->touchPoints().count())TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
| 0-20 |
2046 | { | - |
2047 | | - |
2048 | bool mismatch = false; | - |
2049 | | - |
2050 | QList<QTouchEvent::TouchPoint> tpts = event->touchPoints(); | - |
2051 | Qt::TouchPointStates states; | - |
2052 | for (int i = 0; i < event->touchPoints().count(); ++i) {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
|
| 20-50 |
2053 | const QTouchEvent::TouchPoint &tp = tpts.at(i); | - |
2054 | const QTouchEvent::TouchPoint &tpDelayed = delayedTouch->touchPoints().at(i); | - |
2055 | if (tp.id() != tpDelayed.id()) {TRUE | never evaluated | FALSE | evaluated 50 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
|
| 0-50 |
2056 | mismatch = true; | - |
2057 | break; never executed: break; | 0 |
2058 | } | - |
2059 | | - |
2060 | if (tpDelayed.state() == Qt::TouchPointMoved && tp.state() == Qt::TouchPointStationary)TRUE | evaluated 50 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 50 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
|
| 0-50 |
2061 | tpts[i].setState(Qt::TouchPointMoved); never executed: tpts[i].setState(Qt::TouchPointMoved); | 0 |
2062 | tpts[i].setLastPos(tpDelayed.lastPos()); | - |
2063 | tpts[i].setLastScenePos(tpDelayed.lastScenePos()); | - |
2064 | tpts[i].setLastScreenPos(tpDelayed.lastScreenPos()); | - |
2065 | tpts[i].setLastNormalizedPos(tpDelayed.lastNormalizedPos()); | - |
2066 | | - |
2067 | states |= tpts.at(i).state(); | - |
2068 | }executed 50 times by 2 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| 50 |
2069 | | - |
2070 | | - |
2071 | if (!mismatch) {TRUE | evaluated 20 times by 2 testsEvaluated by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| FALSE | never evaluated |
| 0-20 |
2072 | delayedTouch->setTouchPoints(tpts); | - |
2073 | delayedTouch->setTimestamp(event->timestamp()); | - |
2074 | return true;executed 20 times by 2 tests: return true; Executed by:- tst_multipointtoucharea_interop
- tst_qquickmousearea
| 20 |
2075 | } | - |
2076 | } never executed: end of block | 0 |
2077 | | - |
2078 | | - |
2079 | deliverDelayedTouchEvent(); | - |
2080 | delayedTouch.reset(new QTouchEvent(event->type(), event->device(), event->modifiers(), event->touchPointStates(), event->touchPoints())); | - |
2081 | delayedTouch->setTimestamp(event->timestamp()); | - |
2082 | return true; never executed: return true; | 0 |
2083 | } | - |
2084 | | - |
2085 | | - |
2086 | | - |
2087 | | - |
2088 | | - |
2089 | void QQuickWindowPrivate::handleTouchEvent(QTouchEvent *event) | - |
2090 | { | - |
2091 | translateTouchEvent(event); | - |
2092 | 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 |
2093 | auto point = event->touchPoints().at(0); | - |
2094 | if (point.state() == Qt::TouchPointReleased) {TRUE | 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 |
2095 | lastMousePosition = QPointF(); | - |
2096 | } else {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
| 198 |
2097 | lastMousePosition = point.pos(); | - |
2098 | }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 |
2099 | } | - |
2100 | | - |
2101 | qCDebug(DBG_TOUCH) << event; never executed: QMessageLogger(__FILE__, 2101, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << event; TRUE | 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 |
2102 | | - |
2103 | static bool qquickwindow_no_touch_compression = qEnvironmentVariableIsSet("QML_NO_TOUCH_COMPRESSION"); | - |
2104 | | - |
2105 | if (qquickwindow_no_touch_compression || pointerEventRecursionGuard) {TRUE | 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
|
TRUE | 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 |
2106 | deliverPointerEvent(pointerEventInstance(event)); | - |
2107 | return; never executed: return; | 0 |
2108 | } | - |
2109 | | - |
2110 | 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 |
2111 | if (delayedTouch)TRUE | 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 |
2112 | deliverDelayedTouchEvent();executed 10 times by 2 tests: deliverDelayedTouchEvent(); Executed by:- tst_multipointtoucharea_interop
- tst_qquickpointerhandler
| 10 |
2113 | deliverPointerEvent(pointerEventInstance(event)); | - |
2114 | }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 |
2115 | }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 |
2116 | | - |
2117 | | - |
2118 | void QQuickWindow::mousePressEvent(QMouseEvent *event) | - |
2119 | { | - |
2120 | Q_D(QQuickWindow); | - |
2121 | d->handleMouseEvent(event); | - |
2122 | }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 |
2123 | | - |
2124 | void QQuickWindow::mouseMoveEvent(QMouseEvent *event) | - |
2125 | { | - |
2126 | Q_D(QQuickWindow); | - |
2127 | d->handleMouseEvent(event); | - |
2128 | }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 |
2129 | | - |
2130 | void QQuickWindow::mouseDoubleClickEvent(QMouseEvent *event) | - |
2131 | { | - |
2132 | Q_D(QQuickWindow); | - |
2133 | d->handleMouseEvent(event); | - |
2134 | }executed 132 times by 3 tests: end of block Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
2135 | | - |
2136 | void QQuickWindow::mouseReleaseEvent(QMouseEvent *event) | - |
2137 | { | - |
2138 | Q_D(QQuickWindow); | - |
2139 | d->handleMouseEvent(event); | - |
2140 | }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 |
2141 | | - |
2142 | void QQuickWindowPrivate::handleMouseEvent(QMouseEvent *event) | - |
2143 | { | - |
2144 | if (event->source() == Qt::MouseEventSynthesizedBySystem) {TRUE | 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 |
2145 | event->accept(); | - |
2146 | return; never executed: return; | 0 |
2147 | } | - |
2148 | qCDebug(DBG_MOUSE) << "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(); TRUE | 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 |
2149 | | - |
2150 | switch (event->type()) { | - |
2151 | case 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 |
2152 | Q_QUICK_INPUT_PROFILE(QQuickProfiler::Mouse, QQuickProfiler::InputMousePress, event->button(), never executed: end of block 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
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
|
| 0-1798 |
2153 | event->buttons());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 |
2154 | deliverPointerEvent(pointerEventInstance(event)); | - |
2155 | 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 |
2156 | case 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 |
2157 | Q_QUICK_INPUT_PROFILE(QQuickProfiler::Mouse, QQuickProfiler::InputMouseRelease, event->button(), never executed: end of block 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
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
|
| 0-1786 |
2158 | event->buttons());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 |
2159 | deliverPointerEvent(pointerEventInstance(event)); | - |
2160 | 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 |
2161 | case QEvent::MouseButtonDblClick:executed 132 times by 3 tests: case QEvent::MouseButtonDblClick: Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
2162 | Q_QUICK_INPUT_PROFILE(QQuickProfiler::Mouse, QQuickProfiler::InputMouseDoubleClick, never executed: end of block executed 132 times by 3 tests: (void)0 ; Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
TRUE | never evaluated | FALSE | evaluated 132 times by 3 testsEvaluated by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
|
| 0-132 |
2163 | event->button(), event->buttons());executed 132 times by 3 tests: (void)0 ; Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
2164 | if (allowDoubleClick)TRUE | evaluated 132 times by 3 testsEvaluated by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| FALSE | never evaluated |
| 0-132 |
2165 | deliverPointerEvent(pointerEventInstance(event));executed 132 times by 3 tests: deliverPointerEvent(pointerEventInstance(event)); Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
2166 | break;executed 132 times by 3 tests: break; Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
2167 | case 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 |
2168 | Q_QUICK_INPUT_PROFILE(QQuickProfiler::Mouse, QQuickProfiler::InputMouseMove, never executed: end of block 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
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
|
| 0-6428 |
2169 | event->localPos().x(), event->localPos().y());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 |
2170 | | - |
2171 | qCDebug(DBG_HOVER_TRACE) << this; never executed: QMessageLogger(__FILE__, 2171, __PRETTY_FUNCTION__, DBG_HOVER_TRACE().categoryName()).debug() << this; 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
|
| 0-6428 |
2172 | | - |
2173 | #if QT_CONFIG(cursor) | - |
2174 | updateCursor(event->windowPos()); | - |
2175 | #endif | - |
2176 | | - |
2177 | 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 |
2178 | QPointF last = lastMousePosition.isNull() ? event->windowPos() : lastMousePosition;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
|
| 422-1212 |
2179 | lastMousePosition = event->windowPos(); | - |
2180 | | - |
2181 | bool accepted = event->isAccepted(); | - |
2182 | bool delivered = deliverHoverEvent(contentItem, event->windowPos(), last, event->modifiers(), event->timestamp(), accepted); | - |
2183 | if (!delivered) {TRUE | 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 |
2184 | | - |
2185 | accepted = clearHover(event->timestamp()); | - |
2186 | }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 |
2187 | event->setAccepted(accepted); | - |
2188 | }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 |
2189 | deliverPointerEvent(pointerEventInstance(event)); | - |
2190 | 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 |
2191 | default: never executed: default: | 0 |
2192 | Q_ASSERT(false); | - |
2193 | break; never executed: break; | 0 |
2194 | } | - |
2195 | } | - |
2196 | | - |
2197 | void QQuickWindowPrivate::flushFrameSynchronousEvents() | - |
2198 | { | - |
2199 | Q_Q(QQuickWindow); | - |
2200 | | - |
2201 | if (delayedTouch) {TRUE | 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 |
2202 | deliverDelayedTouchEvent(); | - |
2203 | | - |
2204 | | - |
2205 | | - |
2206 | QQmlAnimationTimer *ut = QQmlAnimationTimer::instance(); | - |
2207 | if (ut && ut->hasStartAnimationPending())TRUE | 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 |
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 |
2208 | ut->startAnimations();executed 32 times by 3 tests: ut->startAnimations(); Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 32 |
2209 | }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 |
2210 | | - |
2211 | | - |
2212 | | - |
2213 | | - |
2214 | | - |
2215 | | - |
2216 | if (!q->mouseGrabberItem() && !lastMousePosition.isNull() && dirtyItemList) {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
|
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
- ...
|
TRUE | 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 |
2217 | bool accepted = false; | - |
2218 | bool delivered = deliverHoverEvent(contentItem, lastMousePosition, lastMousePosition, QGuiApplication::keyboardModifiers(), 0, accepted); | - |
2219 | if (!delivered)TRUE | 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 |
2220 | 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 |
2221 | }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 |
2222 | }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 |
2223 | | - |
2224 | QQuickPointerEvent *QQuickWindowPrivate::queryPointerEventInstance(QQuickPointerDevice *device, QEvent::Type eventType) const | - |
2225 | { | - |
2226 | | - |
2227 | for (QQuickPointerEvent *e : pointerEventInstances) { | - |
2228 | | - |
2229 | | - |
2230 | #if QT_CONFIG(gestures) | - |
2231 | if (eventType == QEvent::NativeGesture && !qobject_cast<QQuickPointerNativeGestureEvent*>(e))TRUE | 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
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-70642 |
2232 | continue; never executed: continue; | 0 |
2233 | #endif | - |
2234 | if (eventType == QEvent::Wheel && !qobject_cast<QQuickPointerScrollEvent*>(e))TRUE | 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
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-70642 |
2235 | continue; never executed: continue; | 0 |
2236 | | - |
2237 | | - |
2238 | if (e->device() == device)TRUE | 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 |
2239 | return 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 |
2240 | }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 |
2241 | return 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 |
2242 | } | - |
2243 | | - |
2244 | QQuickPointerEvent *QQuickWindowPrivate::pointerEventInstance(QQuickPointerDevice *device, QEvent::Type eventType) const | - |
2245 | { | - |
2246 | QQuickPointerEvent *ev = queryPointerEventInstance(device, eventType); | - |
2247 | if (ev)TRUE | 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 |
2248 | return 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 |
2249 | QQuickWindow *q = const_cast<QQuickWindow*>(q_func()); | - |
2250 | switch (device->type()) { | - |
2251 | case 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 |
2252 | | - |
2253 | | - |
2254 | | - |
2255 | if (eventType == QEvent::Wheel)TRUE | 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 |
2256 | ev = new QQuickPointerScrollEvent(q, device);executed 10 times by 2 tests: ev = new QQuickPointerScrollEvent(q, device); Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
2257 | else | - |
2258 | 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 |
2259 | 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 |
2260 | case QQuickPointerDevice::TouchPad: never executed: case QQuickPointerDevice::TouchPad: | 0 |
2261 | case 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 |
2262 | #if QT_CONFIG(gestures) | - |
2263 | if (eventType == QEvent::NativeGesture)TRUE | 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 |
2264 | ev = new QQuickPointerNativeGestureEvent(q, device); never executed: ev = new QQuickPointerNativeGestureEvent(q, device); | 0 |
2265 | else | - |
2266 | #endif | - |
2267 | 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 |
2268 | 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 |
2269 | default: never executed: default: | 0 |
2270 | | - |
2271 | break; never executed: break; | 0 |
2272 | } | - |
2273 | pointerEventInstances << ev; | - |
2274 | return 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 |
2275 | } | - |
2276 | | - |
2277 | | - |
2278 | | - |
2279 | | - |
2280 | | - |
2281 | | - |
2282 | | - |
2283 | | - |
2284 | QQuickPointerEvent *QQuickWindowPrivate::pointerEventInstance(QEvent *event) const | - |
2285 | { | - |
2286 | QQuickPointerDevice *dev = nullptr; | - |
2287 | switch (event->type()) { | - |
2288 | case 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 |
2289 | case 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 |
2290 | case QEvent::MouseButtonDblClick:executed 132 times by 3 tests: case QEvent::MouseButtonDblClick: Executed by:- tst_qquickmousearea
- tst_qquicktextedit
- tst_qquicktextinput
| 132 |
2291 | case 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 |
2292 | case QEvent::Wheel:executed 10 times by 2 tests: case QEvent::Wheel: Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
2293 | dev = QQuickPointerDevice::genericMouseDevice(); | - |
2294 | 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 |
2295 | case 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 |
2296 | case 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 |
2297 | case 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 |
2298 | case QEvent::TouchCancel: never executed: case QEvent::TouchCancel: | 0 |
2299 | dev = QQuickPointerDevice::touchDevice(static_cast<QTouchEvent *>(event)->device()); | - |
2300 | 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 |
2301 | | - |
2302 | #if QT_CONFIG(gestures) | - |
2303 | case QEvent::NativeGesture: never executed: case QEvent::NativeGesture: | 0 |
2304 | dev = QQuickPointerDevice::touchDevice(static_cast<QNativeGestureEvent *>(event)->device()); | - |
2305 | break; never executed: break; | 0 |
2306 | #endif | - |
2307 | default: never executed: default: | 0 |
2308 | break; never executed: break; | 0 |
2309 | } | - |
2310 | | - |
2311 | Q_ASSERT(dev); | - |
2312 | return 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 |
2313 | } | - |
2314 | | - |
2315 | void QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent *event) | - |
2316 | { | - |
2317 | Q_Q(QQuickWindow); | - |
2318 | | - |
2319 | | - |
2320 | | - |
2321 | ++pointerEventRecursionGuard; | - |
2322 | | - |
2323 | skipDelivery.clear(); | - |
2324 | 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 |
2325 | deliverMouseEvent(event->asPointerMouseEvent()); | - |
2326 | | - |
2327 | if (event->isReleaseEvent() && event->buttons() == Qt::NoButton) {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
|
TRUE | 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 |
2328 | QQuickItem *oldGrabber = q->mouseGrabberItem(); | - |
2329 | event->clearGrabbers(); | - |
2330 | sendUngrabEvent(oldGrabber, false); | - |
2331 | }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 |
2332 | } else if (event->asPointerTouchEvent()) {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
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 |
2333 | deliverTouchEvent(event->asPointerTouchEvent()); | - |
2334 | } else {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 |
2335 | deliverSinglePointEventUntilAccepted(event); | - |
2336 | }executed 10 times by 2 tests: end of block Executed by:- tst_qquickitem
- tst_qquickmousearea
| 10 |
2337 | | - |
2338 | event->reset(nullptr); | - |
2339 | | - |
2340 | --pointerEventRecursionGuard; | - |
2341 | }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 |
2342 | | - |
2343 | | - |
2344 | | - |
2345 | | - |
2346 | | - |
2347 | | - |
2348 | QVector<QQuickItem *> QQuickWindowPrivate::pointerTargets(QQuickItem *item, QQuickEventPoint *point, bool checkMouseButtons, bool checkAcceptsTouch) const | - |
2349 | { | - |
2350 | QVector<QQuickItem *> targets; | - |
2351 | auto itemPrivate = QQuickItemPrivate::get(item); | - |
2352 | QPointF itemPos = item->mapFromScene(point->scenePosition()); | - |
2353 | | - |
2354 | if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShape) {TRUE | 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 |
2355 | if (!item->contains(itemPos))TRUE | evaluated 4 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4 |
2356 | return targets;executed 4 times by 1 test: return targets; | 4 |
2357 | }executed 4 times by 1 test: end of block | 4 |
2358 | | - |
2359 | | - |
2360 | QList<QQuickItem *> children = itemPrivate->paintOrderChildItems(); | - |
2361 | for (int ii = children.count() - 1; ii >= 0; --ii) {TRUE | 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
|
| 47214-50213 |
2362 | QQuickItem *child = children.at(ii); | - |
2363 | auto childPrivate = QQuickItemPrivate::get(child); | - |
2364 | if (!child->isVisible() || !child->isEnabled() || childPrivate->culled)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
|
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
|
TRUE | 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 |
2365 | 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 |
2366 | targets << pointerTargets(child, point, checkMouseButtons, checkAcceptsTouch); | - |
2367 | }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 |
2368 | | - |
2369 | bool relevant = item->contains(itemPos); | - |
2370 | 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 |
2371 | if (!relevant)TRUE | 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 |
2372 | 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 |
2373 | relevant = true;executed 952 times by 2 tests: relevant = true; Executed by:- tst_flickableinterop
- tst_qquickdraghandler
| 952 |
2374 | } else {executed 5826 times by 5 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 5826 |
2375 | if (relevant && checkMouseButtons && item->acceptedMouseButtons() == Qt::NoButton)TRUE | 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
|
TRUE | 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
|
TRUE | 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 |
2376 | 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 |
2377 | if (relevant && checkAcceptsTouch && !(item->acceptTouchEvents() || item->acceptedMouseButtons()))TRUE | 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
|
TRUE | 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
|
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
|
| 1334-33357 |
2378 | 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 |
2379 | }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 |
2380 | if (relevant)TRUE | 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 |
2381 | 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 |
2382 | return 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 |
2383 | } | - |
2384 | | - |
2385 | | - |
2386 | | - |
2387 | QVector<QQuickItem *> QQuickWindowPrivate::mergePointerTargets(const QVector<QQuickItem *> &list1, const QVector<QQuickItem *> &list2) const | - |
2388 | { | - |
2389 | QVector<QQuickItem *> targets = list1; | - |
2390 | | - |
2391 | | - |
2392 | | - |
2393 | int insertPosition = targets.length(); | - |
2394 | for (int i = list2.length() - 1; i >= 0; --i) {TRUE | 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
|
| 460-1830 |
2395 | int newInsertPosition = targets.lastIndexOf(list2.at(i), insertPosition); | - |
2396 | if (newInsertPosition >= 0) {TRUE | 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 |
2397 | Q_ASSERT(newInsertPosition <= insertPosition); | - |
2398 | insertPosition = newInsertPosition; | - |
2399 | }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 |
2400 | | - |
2401 | if (insertPosition == targets.size() || list2.at(i) != targets.at(insertPosition))TRUE | never evaluated | FALSE | evaluated 1830 times by 6 testsEvaluated by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
|
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 |
2402 | 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 |
2403 | }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 |
2404 | return 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 |
2405 | } | - |
2406 | | - |
2407 | void QQuickWindowPrivate::deliverTouchEvent(QQuickPointerTouchEvent *event) | - |
2408 | { | - |
2409 | qCDebug(DBG_TOUCH) << " - delivering" << event->asTouchEvent(); never executed: QMessageLogger(__FILE__, 2409, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - delivering" << event->asTouchEvent(); TRUE | 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
|
| 0-1220 |
2410 | | - |
2411 | 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 |
2412 | 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 |
2413 | 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 |
2414 | 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 |
2415 | 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 |
2416 | 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 |
2417 | | - |
2418 | | - |
2419 | bool allReleased = true; | - |
2420 | int pointCount = event->pointCount(); | - |
2421 | for (int i = 0; i < pointCount; ++i) {TRUE | 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
|
| 1220-1938 |
2422 | QQuickEventPoint *point = event->point(i); | - |
2423 | if (point->state() == QQuickEventPoint::Released) {TRUE | 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 |
2424 | int id = point->pointId(); | - |
2425 | qCDebug(DBG_TOUCH_TARGET) << "TP" << hex << id << "released"; never executed: QMessageLogger(__FILE__, 2425, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << id << "released"; TRUE | 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 |
2426 | point->setGrabberItem(nullptr); | - |
2427 | if (id == touchMouseId) {TRUE | 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 |
2428 | touchMouseId = -1; | - |
2429 | touchMouseDevice = nullptr; | - |
2430 | } never executed: end of block | 0 |
2431 | } else {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
| 290 |
2432 | allReleased = false; | - |
2433 | }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 |
2434 | } | - |
2435 | | - |
2436 | if (allReleased) {TRUE | 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 |
2437 | if (Q_UNLIKELY(!event->exclusiveGrabbers().isEmpty()))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 |
2438 | qWarning() << "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 |
2439 | event->clearGrabbers(); | - |
2440 | }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 |
2441 | }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 |
2442 | | - |
2443 | | - |
2444 | void QQuickWindowPrivate::deliverUpdatedTouchPoints(QQuickPointerTouchEvent *event) | - |
2445 | { | - |
2446 | bool done = false; | - |
2447 | const auto grabbers = event->exclusiveGrabbers(); | - |
2448 | for (auto grabber : grabbers) { | - |
2449 | | - |
2450 | QQuickItem *receiver = qmlobject_cast<QQuickItem *>(grabber); | - |
2451 | if (!receiver) {TRUE | 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 |
2452 | | - |
2453 | QQuickPointerHandler *handler = static_cast<QQuickPointerHandler *>(grabber); | - |
2454 | receiver = static_cast<QQuickPointerHandler *>(grabber)->parentItem(); | - |
2455 | 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 |
2456 | done = true;executed 4 times by 1 test: done = true; | 4 |
2457 | event->localize(receiver); | - |
2458 | handler->handlePointerEvent(event); | - |
2459 | }executed 547 times by 5 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 547 |
2460 | if (done)TRUE | 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 |
2461 | break;executed 4 times by 1 test: break; | 4 |
2462 | | - |
2463 | | - |
2464 | deliverMatchingPointsToItem(receiver, event); | - |
2465 | }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 |
2466 | | - |
2467 | | - |
2468 | int pointCount = event->pointCount(); | - |
2469 | for (int i = 0; i < pointCount; ++i) {TRUE | 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
|
| 956-1554 |
2470 | QQuickEventPoint *point = event->point(i); | - |
2471 | deliverToPassiveGrabbers(point->passiveGrabbers(), event); | - |
2472 | }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 |
2473 | | - |
2474 | if (done)TRUE | 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 |
2475 | return;executed 4 times by 1 test: return; | 4 |
2476 | | - |
2477 | | - |
2478 | 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 |
2479 | QVector<QQuickItem *> targetItems; | - |
2480 | for (int i = 0; i < pointCount; ++i) {TRUE | 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
|
| 324-508 |
2481 | QQuickEventPoint *point = event->point(i); | - |
2482 | if (point->state() == QQuickEventPoint::Pressed)TRUE | 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 |
2483 | continue; executed 38 times by 3 tests: continue; Executed by:- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 38 |
2484 | QVector<QQuickItem *> targetItemsForPoint = pointerTargets(contentItem, point, false, false); | - |
2485 | 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 |
2486 | targetItems = mergePointerTargets(targetItems, targetItemsForPoint); | - |
2487 | } else {executed 144 times by 5 tests: end of block Executed by:- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 144 |
2488 | targetItems = targetItemsForPoint; | - |
2489 | }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 |
2490 | } | - |
2491 | for (QQuickItem *item : targetItems) { | - |
2492 | 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 |
2493 | continue;executed 28 times by 3 tests: continue; Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
| 28 |
2494 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
2495 | event->localize(item); | - |
2496 | itemPrivate->handlePointerEvent(event, true); | - |
2497 | 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 |
2498 | break;executed 2 times by 1 test: break; Executed by:- tst_multipointtoucharea_interop
| 2 |
2499 | }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 |
2500 | }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 |
2501 | }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 |
2502 | | - |
2503 | | - |
2504 | bool QQuickWindowPrivate::deliverPressOrReleaseEvent(QQuickPointerEvent *event, bool handlersOnly) | - |
2505 | { | - |
2506 | int pointCount = event->pointCount(); | - |
2507 | QVector<QQuickItem *> targetItems; | - |
2508 | bool isTouchEvent = (event->asPointerTouchEvent() != nullptr); | - |
2509 | for (int i = 0; i < pointCount; ++i) {TRUE | 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
|
| 2280-2598 |
2510 | auto point = event->point(i); | - |
2511 | point->setAccepted(false); | - |
2512 | if (point->grabberPointerHandler() && point->state() == QQuickEventPoint::Released)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
|
TRUE | 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 |
2513 | point->setGrabberPointerHandler(nullptr, true);executed 6 times by 1 test: point->setGrabberPointerHandler(nullptr, true); | 6 |
2514 | QVector<QQuickItem *> targetItemsForPoint = pointerTargets(contentItem, point, !isTouchEvent, isTouchEvent); | - |
2515 | 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 |
2516 | targetItems = mergePointerTargets(targetItems, targetItemsForPoint); | - |
2517 | } else {executed 316 times by 6 tests: end of block Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickmultipointtoucharea
- tst_qquickpincharea
- tst_qquicktaphandler
| 316 |
2518 | targetItems = targetItemsForPoint; | - |
2519 | }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 |
2520 | } | - |
2521 | | - |
2522 | for (QQuickItem *item : targetItems) { | - |
2523 | if (!handlersOnly && sendFilteredPointerEvent(event, item)) {TRUE | 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
|
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 |
2524 | if (event->isAccepted()) {TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | never evaluated |
| 0-19 |
2525 | for (int i = 0; i < event->pointCount(); ++i)TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
|
| 19 |
2526 | event->point(i)->setAccepted();executed 19 times by 2 tests: event->point(i)->setAccepted(); Executed by:- tst_qquickflickable
- tst_qquickgridview
| 19 |
2527 | return true;executed 19 times by 2 tests: return true; Executed by:- tst_qquickflickable
- tst_qquickgridview
| 19 |
2528 | } | - |
2529 | skipDelivery.append(item); | - |
2530 | } never executed: end of block | 0 |
2531 | | - |
2532 | | - |
2533 | | - |
2534 | 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 |
2535 | continue; never executed: continue; | 0 |
2536 | deliverMatchingPointsToItem(item, event, handlersOnly); | - |
2537 | 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 |
2538 | 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 |
2539 | }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 |
2540 | | - |
2541 | return 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 |
2542 | } | - |
2543 | | - |
2544 | void QQuickWindowPrivate::deliverMatchingPointsToItem(QQuickItem *item, QQuickPointerEvent *pointerEvent, bool handlersOnly) | - |
2545 | { | - |
2546 | Q_Q(QQuickWindow); | - |
2547 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
2548 | pointerEvent->localize(item); | - |
2549 | | - |
2550 | | - |
2551 | | - |
2552 | 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 |
2553 | bool wasAccepted = pointerEvent->allPointsAccepted(); | - |
2554 | itemPrivate->handlePointerEvent(pointerEvent); | - |
2555 | allowDoubleClick = wasAccepted || !(pointerEvent->asPointerMouseEvent() && pointerEvent->isPressEvent() && pointerEvent->allPointsAccepted());TRUE | 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
|
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
|
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 |
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 |
2556 | }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 |
2557 | if (handlersOnly)TRUE | 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 |
2558 | 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 |
2559 | | - |
2560 | | - |
2561 | | - |
2562 | if (pointerEvent->isReleaseEvent() && !pointerEvent->isUpdateEvent()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
|
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 |
2563 | && !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 |
2564 | return;executed 82 times by 5 tests: return; Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qquickdraghandler
- tst_qquickpointerhandler
- tst_qquicktaphandler
| 82 |
2565 | | - |
2566 | | - |
2567 | auto event = pointerEvent->asPointerMouseEvent(); | - |
2568 | if (event && item->acceptedMouseButtons() & event->button()) {TRUE | 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
|
| 1286-1995 |
2569 | auto point = event->point(0); | - |
2570 | | - |
2571 | | - |
2572 | auto oldMouseGrabber = q->mouseGrabberItem(); | - |
2573 | QPointF localPos = item->mapFromScene(point->scenePosition()); | - |
2574 | QMouseEvent *me = event->asMouseEvent(localPos); | - |
2575 | me->accept(); | - |
2576 | QCoreApplication::sendEvent(item, me); | - |
2577 | 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 |
2578 | auto mouseGrabber = q->mouseGrabberItem(); | - |
2579 | if (mouseGrabber && mouseGrabber != item && mouseGrabber != oldMouseGrabber) {TRUE | 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
|
TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-1555 |
2580 | item->mouseUngrabEvent(); | - |
2581 | } else {executed 2 times by 1 test: end of block | 2 |
2582 | item->grabMouse(); | - |
2583 | }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 |
2584 | point->setAccepted(true); | - |
2585 | }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 |
2586 | 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 |
2587 | } | - |
2588 | | - |
2589 | QQuickPointerTouchEvent *ptEvent = pointerEvent->asPointerTouchEvent(); | - |
2590 | if (!ptEvent)TRUE | 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 |
2591 | return;executed 36 times by 3 tests: return; Executed by:- tst_qquickitem
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 36 |
2592 | | - |
2593 | QScopedPointer<QTouchEvent> touchEvent(ptEvent->touchEventForItem(item)); | - |
2594 | if (!touchEvent)TRUE | 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 |
2595 | 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 |
2596 | | - |
2597 | qCDebug(DBG_TOUCH) << "considering delivering " << touchEvent.data() << " to " << item; never executed: QMessageLogger(__FILE__, 2597, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << "considering delivering " << touchEvent.data() << " to " << item; TRUE | 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
|
| 0-579 |
2598 | bool eventAccepted = false; | - |
2599 | | - |
2600 | | - |
2601 | 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 |
2602 | return;executed 6 times by 1 test: return; Executed by:- tst_qquickmultipointtoucharea
| 6 |
2603 | | - |
2604 | | - |
2605 | qCDebug(DBG_TOUCH) << " - actually delivering " << touchEvent.data() << " to " << item; never executed: QMessageLogger(__FILE__, 2605, __PRETTY_FUNCTION__, DBG_TOUCH().categoryName()).debug() << " - actually delivering " << touchEvent.data() << " to " << item; TRUE | 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
|
| 0-573 |
2606 | QCoreApplication::sendEvent(item, touchEvent.data()); | - |
2607 | eventAccepted = touchEvent->isAccepted(); | - |
2608 | | - |
2609 | | - |
2610 | if (!eventAccepted && (itemPrivate->acceptedMouseButtons() & Qt::LeftButton)) {TRUE | 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
|
| 261-312 |
2611 | | - |
2612 | 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 |
2613 | eventAccepted = true;executed 169 times by 5 tests: eventAccepted = true; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpointerhandler
| 169 |
2614 | }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 |
2615 | | - |
2616 | if (eventAccepted) {TRUE | 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 |
2617 | | - |
2618 | | - |
2619 | bool isPressOrRelease = pointerEvent->isPressEvent() || pointerEvent->isReleaseEvent();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
|
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 |
2620 | for (auto point: qAsConst(touchEvent->touchPoints())) { | - |
2621 | auto pointerEventPoint = ptEvent->pointById(point.id()); | - |
2622 | pointerEventPoint->setAccepted(); | - |
2623 | if (isPressOrRelease)TRUE | 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 |
2624 | 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 |
2625 | }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 |
2626 | } else {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
| 481 |
2627 | | - |
2628 | | - |
2629 | for (auto point: qAsConst(touchEvent->touchPoints())) { | - |
2630 | if (point.state() == Qt::TouchPointPressed) {TRUE | 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 |
2631 | if (ptEvent->pointById(point.id())->exclusiveGrabber() == item) {TRUE | 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 |
2632 | qCDebug(DBG_TOUCH_TARGET) << "TP" << hex << point.id() << "disassociated"; never executed: QMessageLogger(__FILE__, 2632, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP" << hex << point.id() << "disassociated"; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2633 | ptEvent->pointById(point.id())->setGrabberItem(nullptr); | - |
2634 | } never executed: end of block | 0 |
2635 | }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 |
2636 | }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 |
2637 | }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 |
2638 | } | - |
2639 | | - |
2640 | #if QT_CONFIG(draganddrop) | - |
2641 | void QQuickWindowPrivate::deliverDragEvent(QQuickDragGrabber *grabber, QEvent *event) | - |
2642 | { | - |
2643 | grabber->resetTarget(); | - |
2644 | QQuickDragGrabber::iterator grabItem = grabber->begin(); | - |
2645 | 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 |
2646 | Q_ASSERT(event->type() != QEvent::DragEnter); | - |
2647 | if (event->type() == QEvent::Drop) {TRUE | 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 |
2648 | QDropEvent *e = static_cast<QDropEvent *>(event); | - |
2649 | for (e->setAccepted(false); !e->isAccepted() && grabItem != grabber->end(); grabItem = grabber->release(grabItem)) {TRUE | evaluated 62 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
| FALSE | evaluated 38 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
TRUE | evaluated 50 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
| FALSE | evaluated 12 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
| 12-62 |
2650 | QPointF p = (**grabItem)->mapFromScene(e->pos()); | - |
2651 | QDropEvent translatedEvent( | - |
2652 | p.toPoint(), | - |
2653 | e->possibleActions(), | - |
2654 | e->mimeData(), | - |
2655 | e->mouseButtons(), | - |
2656 | e->keyboardModifiers()); | - |
2657 | QQuickDropEventEx::copyActions(&translatedEvent, *e); | - |
2658 | QCoreApplication::sendEvent(**grabItem, &translatedEvent); | - |
2659 | e->setAccepted(translatedEvent.isAccepted()); | - |
2660 | e->setDropAction(translatedEvent.dropAction()); | - |
2661 | grabber->setTarget(**grabItem); | - |
2662 | }executed 50 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 50 |
2663 | }executed 50 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 50 |
2664 | if (event->type() != QEvent::DragMove) { TRUE | 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 |
2665 | QDragLeaveEvent leaveEvent; | - |
2666 | for (; grabItem != grabber->end(); grabItem = grabber->release(grabItem))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
|
| 140-190 |
2667 | QCoreApplication::sendEvent(**grabItem, &leaveEvent);executed 140 times by 3 tests: QCoreApplication::sendEvent(**grabItem, &leaveEvent); Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 140 |
2668 | return;executed 190 times by 3 tests: return; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 190 |
2669 | } else for (; grabItem != grabber->end(); grabItem = grabber->release(grabItem)) {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
|
| 6-228 |
2670 | QDragMoveEvent *moveEvent = static_cast<QDragMoveEvent *>(event); | - |
2671 | 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 |
2672 | 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 |
2673 | QPointF p = (**grabItem)->mapFromScene(moveEvent->pos()); | - |
2674 | if ((**grabItem)->contains(p)) {TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
2675 | QDragMoveEvent translatedEvent( | - |
2676 | p.toPoint(), | - |
2677 | moveEvent->possibleActions(), | - |
2678 | moveEvent->mimeData(), | - |
2679 | moveEvent->mouseButtons(), | - |
2680 | moveEvent->keyboardModifiers()); | - |
2681 | QQuickDropEventEx::copyActions(&translatedEvent, *moveEvent); | - |
2682 | QCoreApplication::sendEvent(**grabItem, &translatedEvent); | - |
2683 | ++grabItem; | - |
2684 | } else {executed 2 times by 1 test: end of block | 2 |
2685 | QDragLeaveEvent leaveEvent; | - |
2686 | QCoreApplication::sendEvent(**grabItem, &leaveEvent); | - |
2687 | grabItem = grabber->release(grabItem); | - |
2688 | } never executed: end of block | 0 |
2689 | } | - |
2690 | return;executed 218 times by 3 tests: return; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 218 |
2691 | } else { | - |
2692 | QDragLeaveEvent leaveEvent; | - |
2693 | QCoreApplication::sendEvent(**grabItem, &leaveEvent); | - |
2694 | }executed 10 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 10 |
2695 | } | - |
2696 | }executed 6 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 6 |
2697 | if (event->type() == QEvent::DragEnter || event->type() == QEvent::DragMove) {TRUE | 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
|
TRUE | 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 |
2698 | QDragMoveEvent *e = static_cast<QDragMoveEvent *>(event); | - |
2699 | QDragEnterEvent enterEvent( | - |
2700 | e->pos(), | - |
2701 | e->possibleActions(), | - |
2702 | e->mimeData(), | - |
2703 | e->mouseButtons(), | - |
2704 | e->keyboardModifiers()); | - |
2705 | QQuickDropEventEx::copyActions(&enterEvent, *e); | - |
2706 | event->setAccepted(deliverDragEvent(grabber, contentItem, &enterEvent)); | - |
2707 | }executed 298 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 298 |
2708 | }executed 344 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 344 |
2709 | | - |
2710 | bool QQuickWindowPrivate::deliverDragEvent(QQuickDragGrabber *grabber, QQuickItem *item, QDragMoveEvent *event) | - |
2711 | { | - |
2712 | bool accepted = false; | - |
2713 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
2714 | if (!item->isVisible() || !item->isEnabled() || QQuickItemPrivate::get(item)->culled)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1134 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1132 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
TRUE | never evaluated | FALSE | evaluated 1132 times by 3 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
|
| 0-1134 |
2715 | return false;executed 4 times by 1 test: return false; | 4 |
2716 | QPointF p = item->mapFromScene(event->pos()); | - |
2717 | bool itemContained = item->contains(p); | - |
2718 | | - |
2719 | if (!itemContained && itemPrivate->flags & QQuickItem::ItemClipsChildrenToShape) {TRUE | 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
|
TRUE | never evaluated | FALSE | evaluated 350 times by 2 testsEvaluated by:- tst_qquickdrag
- tst_qquickdroparea
|
| 0-782 |
2720 | return false; never executed: return false; | 0 |
2721 | } | - |
2722 | | - |
2723 | QDragEnterEvent enterEvent( | - |
2724 | event->pos(), | - |
2725 | event->possibleActions(), | - |
2726 | event->mimeData(), | - |
2727 | event->mouseButtons(), | - |
2728 | event->keyboardModifiers()); | - |
2729 | QQuickDropEventEx::copyActions(&enterEvent, *event); | - |
2730 | QList<QQuickItem *> children = itemPrivate->paintOrderChildItems(); | - |
2731 | for (int ii = children.count() - 1; ii >= 0; --ii) {TRUE | 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
|
| 610-890 |
2732 | 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 |
2733 | return true;executed 242 times by 3 tests: return true; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 242 |
2734 | }executed 368 times by 2 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
| 368 |
2735 | | - |
2736 | if (itemContained) {TRUE | 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 |
2737 | if (event->type() == QEvent::DragMove || itemPrivate->flags & QQuickItem::ItemAcceptsDrops) {TRUE | 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
|
TRUE | 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 |
2738 | QDragMoveEvent translatedEvent( | - |
2739 | p.toPoint(), | - |
2740 | event->possibleActions(), | - |
2741 | event->mimeData(), | - |
2742 | event->mouseButtons(), | - |
2743 | event->keyboardModifiers(), | - |
2744 | event->type()); | - |
2745 | QQuickDropEventEx::copyActions(&translatedEvent, *event); | - |
2746 | translatedEvent.setAccepted(event->isAccepted()); | - |
2747 | QCoreApplication::sendEvent(item, &translatedEvent); | - |
2748 | event->setAccepted(translatedEvent.isAccepted()); | - |
2749 | event->setDropAction(translatedEvent.dropAction()); | - |
2750 | if (event->type() == QEvent::DragEnter) {TRUE | 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 |
2751 | 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 |
2752 | grabber->grab(item); | - |
2753 | accepted = true; | - |
2754 | }executed 218 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 218 |
2755 | } else {executed 256 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 256 |
2756 | accepted = true; | - |
2757 | }executed 214 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 214 |
2758 | } | - |
2759 | }executed 750 times by 3 tests: end of block Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 750 |
2760 | | - |
2761 | return accepted;executed 890 times by 3 tests: return accepted; Executed by:- tst_qquickdrag
- tst_qquickdroparea
- tst_qquicklistview
| 890 |
2762 | } | - |
2763 | #endif // draganddrop | - |
2764 | | - |
2765 | #if QT_CONFIG(cursor) | - |
2766 | void QQuickWindowPrivate::updateCursor(const QPointF &scenePos) | - |
2767 | { | - |
2768 | Q_Q(QQuickWindow); | - |
2769 | | - |
2770 | QQuickItem *oldCursorItem = cursorItem; | - |
2771 | cursorItem = findCursorItem(contentItem, scenePos); | - |
2772 | | - |
2773 | if (cursorItem != oldCursorItem) {TRUE | 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 |
2774 | QWindow *renderWindow = QQuickRenderControl::renderWindowFor(q); | - |
2775 | QWindow *window = renderWindow ? renderWindow : q;TRUE | 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
|
| 2-184 |
2776 | if (cursorItem)TRUE | 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 |
2777 | 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 |
2778 | else | - |
2779 | window->unsetCursor();executed 26 times by 3 tests: window->unsetCursor(); Executed by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 26 |
2780 | } | - |
2781 | }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 |
2782 | | - |
2783 | QQuickItem *QQuickWindowPrivate::findCursorItem(QQuickItem *item, const QPointF &scenePos) | - |
2784 | { | - |
2785 | QQuickItemPrivate *itemPrivate = QQuickItemPrivate::get(item); | - |
2786 | if (itemPrivate->flags & QQuickItem::ItemClipsChildrenToShape) {TRUE | 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 |
2787 | QPointF p = item->mapFromScene(scenePos); | - |
2788 | if (!item->contains(p))TRUE | evaluated 28 times by 1 test | FALSE | evaluated 28 times by 1 test |
| 28 |
2789 | return nullptr;executed 28 times by 1 test: return nullptr; | 28 |
2790 | }executed 28 times by 1 test: end of block | 28 |
2791 | | - |
2792 | if (itemPrivate->subtreeCursorEnabled) {TRUE | 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 |
2793 | QList<QQuickItem *> children = itemPrivate->paintOrderChildItems(); | - |
2794 | for (int ii = children.count() - 1; ii >= 0; --ii) {TRUE | 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
|
| 2120-6124 |
2795 | QQuickItem *child = children.at(ii); | - |
2796 | if (!child->isVisible() || !child->isEnabled() || QQuickItemPrivate::get(child)->culled)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
|
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
|
TRUE | 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 |
2797 | continue;executed 106 times by 2 tests: continue; Executed by:- tst_qquicklistview
- tst_qquickmousearea
| 106 |
2798 | 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 |
2799 | return 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 |
2800 | }executed 2280 times by 5 tests: end of block Executed by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
- tst_qquicktext
| 2280 |
2801 | }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 |
2802 | | - |
2803 | if (itemPrivate->hasCursor) {TRUE | 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 |
2804 | QPointF p = item->mapFromScene(scenePos); | - |
2805 | 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 |
2806 | return 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 |
2807 | }executed 828 times by 3 tests: end of block Executed by:- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
| 828 |
2808 | return 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 |
2809 | } | - |
2810 | #endif | - |
2811 | | - |
2812 | bool QQuickWindowPrivate::sendFilteredPointerEvent(QQuickPointerEvent *event, QQuickItem *receiver, QQuickItem *filteringParent) | - |
2813 | { | - |
2814 | hasFiltered.clear(); | - |
2815 | return 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 |
2816 | } | - |
2817 | | - |
2818 | bool QQuickWindowPrivate::sendFilteredPointerEventImpl(QQuickPointerEvent *event, QQuickItem *receiver, QQuickItem *filteringParent) | - |
2819 | { | - |
2820 | if (!allowChildEventFiltering)TRUE | 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 |
2821 | return false;executed 2 times by 1 test: return false; | 2 |
2822 | if (!filteringParent)TRUE | 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 |
2823 | return 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 |
2824 | bool filtered = false; | - |
2825 | if (filteringParent->filtersChildMouseEvents() && !hasFiltered.contains(filteringParent)) {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
|
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 |
2826 | hasFiltered.append(filteringParent); | - |
2827 | 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 |
2828 | 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 |
2829 | QPointF localPos = receiver->mapFromScene(pme->point(0)->scenePosition()); | - |
2830 | QMouseEvent *me = pme->asMouseEvent(localPos); | - |
2831 | const bool wasAccepted = me->isAccepted(); | - |
2832 | me->setAccepted(true); | - |
2833 | auto oldMouseGrabber = pme->point(0)->grabberItem(); | - |
2834 | 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 |
2835 | qCDebug(DBG_MOUSE) << "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; TRUE | never evaluated | FALSE | evaluated 151 times by 7 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
| 0-151 |
2836 | skipDelivery.append(filteringParent); | - |
2837 | filtered = true; | - |
2838 | if (me->isAccepted() && pme->isPressEvent()) {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 |
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 |
2839 | auto mouseGrabber = pme->point(0)->grabberItem(); | - |
2840 | if (mouseGrabber && mouseGrabber != receiver && mouseGrabber != oldMouseGrabber) {TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | never evaluated |
TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | never evaluated |
TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_qquickflickable
- tst_qquickgridview
| FALSE | never evaluated |
| 0-19 |
2841 | receiver->mouseUngrabEvent(); | - |
2842 | } else {executed 19 times by 2 tests: end of block Executed by:- tst_qquickflickable
- tst_qquickgridview
| 19 |
2843 | pme->point(0)->setGrabberItem(receiver); | - |
2844 | } never executed: end of block | 0 |
2845 | } | - |
2846 | } else {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
| 151 |
2847 | | - |
2848 | me->setAccepted(wasAccepted); | - |
2849 | }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 |
2850 | } | - |
2851 | } else if (QQuickPointerTouchEvent *pte = event->asPointerTouchEvent()) {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
TRUE | evaluated 538 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| FALSE | never evaluated |
| 0-1413 |
2852 | #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) | - |
2853 | bool acceptsTouchEvents = receiver->acceptTouchEvents(); | - |
2854 | #else | - |
2855 | | - |
2856 | bool acceptsTouchEvents = false; | - |
2857 | #endif | - |
2858 | auto device = pte->device(); | - |
2859 | if (device->type() == QQuickPointerDevice::TouchPad &&TRUE | never evaluated | FALSE | evaluated 538 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
| 0-538 |
2860 | device->capabilities().testFlag(QQuickPointerDevice::MouseEmulation)) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2861 | qCDebug(DBG_TOUCH_TARGET) << "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; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2862 | } else if (acceptsTouchEvents || receiver->acceptedMouseButtons()) { never executed: end of block TRUE | never evaluated | FALSE | evaluated 538 times by 4 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
|
| 0-538 |
2863 | | - |
2864 | QScopedPointer<QTouchEvent> filteringParentTouchEvent(pte->touchEventForItem(receiver, true)); | - |
2865 | if (filteringParentTouchEvent) {TRUE | evaluated 438 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| FALSE | evaluated 70 times by 1 test |
| 70-438 |
2866 | 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 |
2867 | qCDebug(DBG_TOUCH) << "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; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2868 | skipDelivery.append(filteringParent); | - |
2869 | for (auto point: qAsConst(filteringParentTouchEvent->touchPoints())) { | - |
2870 | QQuickEventPoint *pt = event->pointById(point.id()); | - |
2871 | pt->setAccepted(); | - |
2872 | pt->setGrabberItem(filteringParent); | - |
2873 | } never executed: end of block | 0 |
2874 | return true; never executed: return true; | 0 |
2875 | } else { | - |
2876 | | - |
2877 | for (int i = 0; i < filteringParentTouchEvent->touchPoints().size(); ++i) {TRUE | evaluated 468 times by 3 testsEvaluated by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| FALSE | evaluated 2 times by 1 test |
| 2-468 |
2878 | const QTouchEvent::TouchPoint &tp = filteringParentTouchEvent->touchPoints().at(i); | - |
2879 | | - |
2880 | QEvent::Type t; | - |
2881 | switch (tp.state()) { | - |
2882 | case Qt::TouchPointPressed:executed 96 times by 3 tests: case Qt::TouchPointPressed: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 96 |
2883 | t = QEvent::MouseButtonPress; | - |
2884 | break;executed 96 times by 3 tests: break; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 96 |
2885 | case Qt::TouchPointReleased:executed 42 times by 3 tests: case Qt::TouchPointReleased: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 42 |
2886 | t = QEvent::MouseButtonRelease; | - |
2887 | break;executed 42 times by 3 tests: break; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 42 |
2888 | case Qt::TouchPointStationary:executed 30 times by 1 test: case Qt::TouchPointStationary: Executed by:- tst_qquickmultipointtoucharea
| 30 |
2889 | continue;executed 30 times by 1 test: continue; Executed by:- tst_qquickmultipointtoucharea
| 30 |
2890 | default:executed 300 times by 3 tests: default: Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 300 |
2891 | t = QEvent::MouseMove; | - |
2892 | break;executed 300 times by 3 tests: break; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 300 |
2893 | } | - |
2894 | | - |
2895 | bool touchMouseUnset = (touchMouseId == -1); | - |
2896 | | - |
2897 | if (touchMouseUnset || touchMouseId == tp.id()) {TRUE | 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
|
TRUE | evaluated 18 times by 1 test | FALSE | evaluated 2 times by 1 test |
| 2-418 |
2898 | | - |
2899 | | - |
2900 | QScopedPointer<QMouseEvent> mouseEvent(touchToMouseEvent(t, tp, filteringParentTouchEvent.data(), receiver, false)); | - |
2901 | | - |
2902 | | - |
2903 | | - |
2904 | touchMouseId = tp.id(); | - |
2905 | touchMouseDevice = event->device(); | - |
2906 | 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 |
2907 | qCDebug(DBG_TOUCH) << "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; TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
|
| 0-16 |
2908 | skipDelivery.append(filteringParent); | - |
2909 | if (t != QEvent::MouseButtonRelease) {TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| FALSE | never evaluated |
| 0-16 |
2910 | qCDebug(DBG_TOUCH_TARGET) << "TP (mouse)" << hex << tp.id() << "->" << filteringParent; never executed: QMessageLogger(__FILE__, 2910, __PRETTY_FUNCTION__, DBG_TOUCH_TARGET().categoryName()).debug() << "TP (mouse)" << hex << tp.id() << "->" << filteringParent; TRUE | never evaluated | FALSE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
|
| 0-16 |
2911 | pointerEventInstance(touchMouseDevice)->pointById(tp.id())->setGrabberItem(filteringParent); | - |
2912 | touchMouseUnset = false; | - |
2913 | if (mouseEvent->isAccepted())TRUE | evaluated 16 times by 2 testsEvaluated by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| FALSE | never evaluated |
| 0-16 |
2914 | filteringParent->grabMouse();executed 16 times by 2 tests: filteringParent->grabMouse(); Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| 16 |
2915 | }executed 16 times by 2 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| 16 |
2916 | filtered = true; | - |
2917 | }executed 16 times by 2 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickmultipointtoucharea
| 16 |
2918 | if (touchMouseUnset) {TRUE | 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 |
2919 | | - |
2920 | | - |
2921 | touchMouseId = -1; | - |
2922 | touchMouseDevice = nullptr; | - |
2923 | }executed 402 times by 3 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 402 |
2924 | | - |
2925 | | - |
2926 | break;executed 436 times by 3 tests: break; Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 436 |
2927 | } | - |
2928 | }executed 2 times by 1 test: end of block | 2 |
2929 | }executed 438 times by 3 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 438 |
2930 | } | - |
2931 | }executed 508 times by 3 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmultipointtoucharea
| 508 |
2932 | }executed 538 times by 4 tests: end of block Executed by:- tst_flickableinterop
- tst_qquickflickable
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
| 538 |
2933 | }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 |
2934 | return 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 |
2935 | } | - |
2936 | | - |
2937 | bool QQuickWindowPrivate::sendFilteredMouseEvent(QEvent *event, QQuickItem *receiver, QQuickItem *filteringParent) | - |
2938 | { | - |
2939 | if (!filteringParent)TRUE | 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 |
2940 | return 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 |
2941 | | - |
2942 | QQuickItemPrivate *filteringParentPrivate = QQuickItemPrivate::get(filteringParent); | - |
2943 | if (filteringParentPrivate->replayingPressEvent)TRUE | 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 |
2944 | return false; never executed: return false; | 0 |
2945 | | - |
2946 | bool filtered = false; | - |
2947 | if (filteringParentPrivate->filtersChildMouseEvents && !hasFiltered.contains(filteringParent)) {TRUE | 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
|
TRUE | evaluated 208 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| FALSE | never evaluated |
| 0-3864 |
2948 | hasFiltered.append(filteringParent); | - |
2949 | 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 |
2950 | filtered = true; | - |
2951 | skipDelivery.append(filteringParent); | - |
2952 | } never executed: end of block | 0 |
2953 | qCDebug(DBG_MOUSE_TARGET) << "for" << receiver << filteringParent << "childMouseEventFilter ->" << filtered; never executed: QMessageLogger(__FILE__, 2953, __PRETTY_FUNCTION__, DBG_MOUSE_TARGET().categoryName()).debug() << "for" << receiver << filteringParent << "childMouseEventFilter ->" << filtered; TRUE | never evaluated | FALSE | evaluated 208 times by 5 testsEvaluated by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
|
| 0-208 |
2954 | }executed 208 times by 5 tests: end of block Executed by:- tst_qquickflickable
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickmultipointtoucharea
- tst_qquickpathview
| 208 |
2955 | | - |
2956 | return 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 |
2957 | } | - |
2958 | | - |
2959 | bool QQuickWindowPrivate::dragOverThreshold(qreal d, Qt::Axis axis, QMouseEvent *event, int startDragThreshold) | - |
2960 | { | - |
2961 | QStyleHints *styleHints = QGuiApplication::styleHints(); | - |
2962 | int caps = QGuiApplicationPrivate::mouseEventCaps(event); | - |
2963 | bool dragVelocityLimitAvailable = (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 |
2964 | && styleHints->startDragVelocity();TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2965 | bool overThreshold = qAbs(d) > (startDragThreshold >= 0 ? startDragThreshold : styleHints->startDragDistance()); | - |
2966 | if (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
|
| 0-6424 |
2967 | QVector2D velocityVec = QGuiApplicationPrivate::mouseEventVelocity(event); | - |
2968 | qreal velocity = axis == Qt::XAxis ? velocityVec.x() : velocityVec.y();TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2969 | overThreshold |= qAbs(velocity) > styleHints->startDragVelocity(); | - |
2970 | } never executed: end of block | 0 |
2971 | return 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 |
2972 | } | - |
2973 | | - |
2974 | | - |
2975 | | - |
2976 | | - |
2977 | | - |
2978 | | - |
2979 | | - |
2980 | | - |
2981 | | - |
2982 | | - |
2983 | | - |
2984 | | - |
2985 | | - |
2986 | | - |
2987 | | - |
2988 | | - |
2989 | | - |
2990 | | - |
2991 | | - |
2992 | | - |
2993 | | - |
2994 | | - |
2995 | | - |
2996 | | - |
2997 | | - |
2998 | void QQuickWindowPrivate::data_append(QQmlListProperty<QObject> *property, QObject *o) | - |
2999 | { | - |
3000 | if (!o)TRUE | 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 |
3001 | return; never executed: return; | 0 |
3002 | QQuickWindow *that = static_cast<QQuickWindow *>(property->object); | - |
3003 | 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 |
3004 | qCDebug(lcTransient) << window << "is transient for" << that; never executed: QMessageLogger(__FILE__, 3004, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << window << "is transient for" << that; TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-2 |
3005 | window->setTransientParent(that); | - |
3006 | }executed 2 times by 1 test: end of block | 2 |
3007 | QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(that->contentItem())->data(); | - |
3008 | itemProperty.append(&itemProperty, o); | - |
3009 | }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 |
3010 | | - |
3011 | int QQuickWindowPrivate::data_count(QQmlListProperty<QObject> *property) | - |
3012 | { | - |
3013 | QQuickWindow *win = static_cast<QQuickWindow*>(property->object); | - |
3014 | if (!win || !win->contentItem() || !QQuickItemPrivate::get(win->contentItem())->data().count)TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3015 | return 0; never executed: return 0; | 0 |
3016 | QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data(); | - |
3017 | return itemProperty.count(&itemProperty); never executed: return itemProperty.count(&itemProperty); | 0 |
3018 | } | - |
3019 | | - |
3020 | QObject *QQuickWindowPrivate::data_at(QQmlListProperty<QObject> *property, int i) | - |
3021 | { | - |
3022 | QQuickWindow *win = static_cast<QQuickWindow*>(property->object); | - |
3023 | QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data(); | - |
3024 | return itemProperty.at(&itemProperty, i); never executed: return itemProperty.at(&itemProperty, i); | 0 |
3025 | } | - |
3026 | | - |
3027 | void QQuickWindowPrivate::data_clear(QQmlListProperty<QObject> *property) | - |
3028 | { | - |
3029 | QQuickWindow *win = static_cast<QQuickWindow*>(property->object); | - |
3030 | QQmlListProperty<QObject> itemProperty = QQuickItemPrivate::get(win->contentItem())->data(); | - |
3031 | itemProperty.clear(&itemProperty); | - |
3032 | } never executed: end of block | 0 |
3033 | | - |
3034 | bool QQuickWindowPrivate::isRenderable() const | - |
3035 | { | - |
3036 | Q_Q(const QQuickWindow); | - |
3037 | return ((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 |
3038 | } | - |
3039 | | - |
3040 | void QQuickWindowPrivate::contextCreationFailureMessage(const QSurfaceFormat &format, | - |
3041 | QString *translatedMessage, | - |
3042 | QString *untranslatedMessage, | - |
3043 | bool isEs) | - |
3044 | { | - |
3045 | const QString contextType = QLatin1String(isEs ? "EGL" : "OpenGL"); | - |
3046 | QString formatStr; | - |
3047 | QDebug(&formatStr) << format; | - |
3048 | #if defined(Q_OS_WIN32) | - |
3049 | const bool isDebug = QLibraryInfo::isDebugBuild(); | - |
3050 | const QString eglLibName = QLatin1String(isDebug ? "libEGLd.dll" : "libEGL.dll"); | - |
3051 | const QString glesLibName = QLatin1String(isDebug ? "libGLESv2d.dll" : "libGLESv2.dll"); | - |
3052 | | - |
3053 | const char msg[] = QT_TRANSLATE_NOOP("QQuickWindow", | - |
3054 | "Failed to create %1 context for format %2.\n" | - |
3055 | "This is most likely caused by not having the necessary graphics drivers installed.\n\n" | - |
3056 | "Install a driver providing OpenGL 2.0 or higher, or, if this is not possible, " | - |
3057 | "make sure the ANGLE Open GL ES 2.0 emulation libraries (%3, %4 and d3dcompiler_*.dll) " | - |
3058 | "are available in the application executable's directory or in a location listed in PATH."); | - |
3059 | *translatedMessage = QQuickWindow::tr(msg).arg(contextType, formatStr, eglLibName, glesLibName); | - |
3060 | *untranslatedMessage = QString::fromLatin1(msg).arg(contextType, formatStr, eglLibName, glesLibName); | - |
3061 | #else // Q_OS_WIN32 | - |
3062 | | - |
3063 | const char msg[] = QT_TRANSLATE_NOOP("QQuickWindow", | - |
3064 | "Failed to create %1 context for format %2"); | - |
3065 | *translatedMessage = QQuickWindow::tr(msg).arg(contextType, formatStr); | - |
3066 | *untranslatedMessage = QString::fromLatin1(msg).arg(contextType, formatStr); | - |
3067 | #endif // !Q_OS_WIN32 | - |
3068 | } never executed: end of block | 0 |
3069 | | - |
3070 | #if QT_DEPRECATED_SINCE(5, 8) | - |
3071 | | - |
3072 | | - |
3073 | | - |
3074 | | - |
3075 | | - |
3076 | | - |
3077 | | - |
3078 | | - |
3079 | | - |
3080 | | - |
3081 | | - |
3082 | bool QQuickWindow::sendEvent(QQuickItem *item, QEvent *e) | - |
3083 | { | - |
3084 | Q_D(QQuickWindow); | - |
3085 | | - |
3086 | if (!item) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3087 | qWarning("QQuickWindow::sendEvent: Cannot send event to a null item"); | - |
3088 | return false; never executed: return false; | 0 |
3089 | } | - |
3090 | | - |
3091 | Q_ASSERT(e); | - |
3092 | | - |
3093 | switch (e->type()) { | - |
3094 | case QEvent::KeyPress: never executed: case QEvent::KeyPress: | 0 |
3095 | case QEvent::KeyRelease: never executed: case QEvent::KeyRelease: | 0 |
3096 | e->accept(); | - |
3097 | QCoreApplication::sendEvent(item, e); | - |
3098 | while (!e->isAccepted() && (item = item->parentItem())) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3099 | e->accept(); | - |
3100 | QCoreApplication::sendEvent(item, e); | - |
3101 | } never executed: end of block | 0 |
3102 | break; never executed: break; | 0 |
3103 | case QEvent::MouseButtonPress: never executed: case QEvent::MouseButtonPress: | 0 |
3104 | case QEvent::MouseButtonRelease: never executed: case QEvent::MouseButtonRelease: | 0 |
3105 | case QEvent::MouseButtonDblClick: never executed: case QEvent::MouseButtonDblClick: | 0 |
3106 | case QEvent::MouseMove: { never executed: case QEvent::MouseMove: | 0 |
3107 | | - |
3108 | d->hasFiltered.clear(); | - |
3109 | if (!d->sendFilteredMouseEvent(e, item, item->parentItem())) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3110 | | - |
3111 | e->accept(); | - |
3112 | QCoreApplication::sendEvent(item, e); | - |
3113 | } never executed: end of block | 0 |
3114 | } | - |
3115 | break; never executed: break; | 0 |
3116 | default: never executed: default: | 0 |
3117 | QCoreApplication::sendEvent(item, e); | - |
3118 | break; never executed: break; | 0 |
3119 | } | - |
3120 | | - |
3121 | return false; never executed: return false; | 0 |
3122 | } | - |
3123 | | - |
3124 | #endif | - |
3125 | | - |
3126 | void QQuickWindowPrivate::cleanupNodes() | - |
3127 | { | - |
3128 | for (int ii = 0; ii < cleanupNodeList.count(); ++ii)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
- ...
|
| 55981-316588 |
3129 | 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 |
3130 | cleanupNodeList.clear(); | - |
3131 | }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 |
3132 | | - |
3133 | void QQuickWindowPrivate::cleanupNodesOnShutdown(QQuickItem *item) | - |
3134 | { | - |
3135 | QQuickItemPrivate *p = QQuickItemPrivate::get(item); | - |
3136 | if (p->itemNodeInstance) {TRUE | 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 |
3137 | delete p->itemNodeInstance; | - |
3138 | p->itemNodeInstance = nullptr; | - |
3139 | | - |
3140 | 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 |
3141 | p->extra->opacityNode = nullptr; | - |
3142 | p->extra->clipNode = nullptr; | - |
3143 | p->extra->rootNode = nullptr; | - |
3144 | }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 |
3145 | | - |
3146 | p->paintNode = nullptr; | - |
3147 | | - |
3148 | p->dirty(QQuickItemPrivate::Window); | - |
3149 | }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 |
3150 | | - |
3151 | | - |
3152 | if (p->flags & QQuickItem::ItemHasContents) {TRUE | 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 |
3153 | const QMetaObject *mo = item->metaObject(); | - |
3154 | int index = mo->indexOfSlot("invalidateSceneGraph()"); | - |
3155 | if (index >= 0) {TRUE | 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 |
3156 | const QMetaMethod &method = mo->method(index); | - |
3157 | | - |
3158 | if (strstr(method.enclosingMetaObject()->className(), "_QML_") == nullptr)TRUE | evaluated 96 times by 4 testsEvaluated by:- tst_examples
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem
| FALSE | never evaluated |
| 0-96 |
3159 | 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 |
3160 | }executed 96 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickborderimage
- tst_qquickimage
- tst_qquickitem
| 96 |
3161 | }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 |
3162 | | - |
3163 | for (int ii = 0; ii < p->childItems.count(); ++ii)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
- ...
|
| 5168-10530 |
3164 | 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 |
3165 | }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 |
3166 | | - |
3167 | | - |
3168 | void QQuickWindowPrivate::cleanupNodesOnShutdown() | - |
3169 | { | - |
3170 | Q_Q(QQuickWindow); | - |
3171 | cleanupNodes(); | - |
3172 | cleanupNodesOnShutdown(contentItem); | - |
3173 | for (QSet<QQuickItem *>::const_iterator it = parentlessItems.begin(), cend = parentlessItems.end(); it != cend; ++it)TRUE | 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
- ...
|
| 0-5362 |
3174 | cleanupNodesOnShutdown(*it); never executed: cleanupNodesOnShutdown(*it); | 0 |
3175 | animationController->windowNodesDestroyed(); | - |
3176 | q->cleanupSceneGraph(); | - |
3177 | }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 |
3178 | | - |
3179 | void QQuickWindowPrivate::updateDirtyNodes() | - |
3180 | { | - |
3181 | qCDebug(DBG_DIRTY) << "QQuickWindowPrivate::updateDirtyNodes():"; never executed: QMessageLogger(__FILE__, 3181, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << "QQuickWindowPrivate::updateDirtyNodes():"; TRUE | 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 |
3182 | | - |
3183 | cleanupNodes(); | - |
3184 | | - |
3185 | QQuickItem *updateList = dirtyItemList; | - |
3186 | dirtyItemList = nullptr; | - |
3187 | if (updateList) 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
- ...
TRUE | 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
- ...
|
| 8003-42616 |
3188 | | - |
3189 | while (updateList) {TRUE | 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 |
3190 | QQuickItem *item = updateList; | - |
3191 | QQuickItemPrivate *itemPriv = QQuickItemPrivate::get(item); | - |
3192 | itemPriv->removeFromDirtyList(); | - |
3193 | | - |
3194 | qCDebug(DBG_DIRTY) << " QSGNode:" << item << qPrintable(itemPriv->dirtyToString()); never executed: QMessageLogger(__FILE__, 3194, __PRETTY_FUNCTION__, DBG_DIRTY().categoryName()).debug() << " QSGNode:" << item << QtPrivate::asString(itemPriv->dirtyToString()).toLocal8Bit().constData(); TRUE | 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
- ...
|
| 0-548664 |
3195 | updateDirtyNode(item); | - |
3196 | }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 |
3197 | }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 |
3198 | | - |
3199 | static inline QSGNode *qquickitem_before_paintNode(QQuickItemPrivate *d) | - |
3200 | { | - |
3201 | const QList<QQuickItem *> childItems = d->paintOrderChildItems(); | - |
3202 | QQuickItem *before = nullptr; | - |
3203 | for (int i=0; i<childItems.size(); ++i) {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
- ...
|
| 63536-188328 |
3204 | QQuickItemPrivate *dd = QQuickItemPrivate::get(childItems.at(i)); | - |
3205 | | - |
3206 | if (dd->z() < 0 && (dd->explicitVisible || (dd->extra.isAllocated() && dd->extra->effectRefCount)))TRUE | 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
- ...
|
TRUE | evaluated 204 times by 1 test | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-63332 |
3207 | before = childItems.at(i);executed 204 times by 1 test: before = childItems.at(i); | 204 |
3208 | else | - |
3209 | 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 |
3210 | } | - |
3211 | return Q_UNLIKELY(before) ? 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 |
3212 | } | - |
3213 | | - |
3214 | static QSGNode *fetchNextNode(QQuickItemPrivate *itemPriv, int &ii, bool &returnedPaintNode) | - |
3215 | { | - |
3216 | QList<QQuickItem *> orderedChildren = itemPriv->paintOrderChildItems(); | - |
3217 | | - |
3218 | for (; ii < orderedChildren.count() && orderedChildren.at(ii)->z() < 0; ++ii) {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
- ...
|
TRUE | 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
- ...
|
| 252-437732 |
3219 | QQuickItemPrivate *childPrivate = QQuickItemPrivate::get(orderedChildren.at(ii)); | - |
3220 | if (!childPrivate->explicitVisible &&TRUE | evaluated 2 times by 1 test | FALSE | evaluated 250 times by 2 testsEvaluated by:- tst_examples
- tst_qquicklistview
|
| 2-250 |
3221 | (!childPrivate->extra.isAllocated() || !childPrivate->extra->effectRefCount))TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
3222 | continue;executed 2 times by 1 test: continue; | 2 |
3223 | | - |
3224 | ii++; | - |
3225 | return childPrivate->itemNode();executed 250 times by 2 tests: return childPrivate->itemNode(); Executed by:- tst_examples
- tst_qquicklistview
| 250 |
3226 | } | - |
3227 | | - |
3228 | if (itemPriv->paintNode && !returnedPaintNode) {TRUE | 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
- ...
|
TRUE | 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 |
3229 | returnedPaintNode = true; | - |
3230 | return 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 |
3231 | } | - |
3232 | | - |
3233 | for (; ii < orderedChildren.count(); ++ii) {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
- ...
|
| 95850-440871 |
3234 | QQuickItemPrivate *childPrivate = QQuickItemPrivate::get(orderedChildren.at(ii)); | - |
3235 | if (!childPrivate->explicitVisible &&TRUE | 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 |
3236 | (!childPrivate->extra.isAllocated() || !childPrivate->extra->effectRefCount))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
|
TRUE | 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 |
3237 | 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 |
3238 | | - |
3239 | ii++; | - |
3240 | return 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 |
3241 | } | - |
3242 | | - |
3243 | return 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 |
3244 | } | - |
3245 | | - |
3246 | void QQuickWindowPrivate::updateDirtyNode(QQuickItem *item) | - |
3247 | { | - |
3248 | QQuickItemPrivate *itemPriv = QQuickItemPrivate::get(item); | - |
3249 | quint32 dirty = itemPriv->dirtyAttributes; | - |
3250 | itemPriv->dirtyAttributes = 0; | - |
3251 | | - |
3252 | if ((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 |
3253 | (dirty & QQuickItemPrivate::Size && itemPriv->origin() != QQuickItem::TopLeft &&TRUE | 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
- ...
|
TRUE | 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 |
3254 | (itemPriv->scale() != 1. || 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
- ...
|
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 |
3255 | | - |
3256 | QMatrix4x4 matrix; | - |
3257 | | - |
3258 | if (itemPriv->x != 0. || itemPriv->y != 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
- ...
|
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 |
3259 | 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 |
3260 | | - |
3261 | for (int ii = itemPriv->transforms.count() - 1; ii >= 0; --ii)TRUE | 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
- ...
|
| 272-433368 |
3262 | 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 |
3263 | | - |
3264 | if (itemPriv->scale() != 1. || itemPriv->rotation() != 0.) {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
- ...
|
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 |
3265 | QPointF origin = item->transformOriginPoint(); | - |
3266 | matrix.translate(origin.x(), origin.y()); | - |
3267 | 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 |
3268 | 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 |
3269 | 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 |
3270 | 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 |
3271 | matrix.translate(-origin.x(), -origin.y()); | - |
3272 | }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 |
3273 | | - |
3274 | itemPriv->itemNode()->setMatrix(matrix); | - |
3275 | }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 |
3276 | | - |
3277 | bool clipEffectivelyChanged = (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 |
3278 | ((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 |
3279 | int effectRefCount = itemPriv->extra.isAllocated()?itemPriv->extra->effectRefCount:0;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
- ...
|
| 233922-314742 |
3280 | bool effectRefEffectivelyChanged = (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 |
3281 | ((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 |
3282 | | - |
3283 | if (clipEffectivelyChanged) {TRUE | 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 |
3284 | QSGNode *parent = itemPriv->opacityNode() ? (QSGNode *) 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
|
| 0-262 |
3285 | (QSGNode *) itemPriv->itemNode(); | - |
3286 | QSGNode *child = itemPriv->rootNode(); | - |
3287 | | - |
3288 | 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 |
3289 | Q_ASSERT(itemPriv->clipNode() == nullptr); | - |
3290 | QQuickDefaultClipNode *clip = new QQuickDefaultClipNode(item->clipRect()); | - |
3291 | itemPriv->extra.value().clipNode = clip; | - |
3292 | clip->update(); | - |
3293 | | - |
3294 | if (!child) {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 |
3295 | parent->reparentChildNodesTo(clip); | - |
3296 | parent->appendChildNode(clip); | - |
3297 | } else {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
| 262 |
3298 | parent->removeChildNode(child); | - |
3299 | clip->appendChildNode(child); | - |
3300 | parent->appendChildNode(clip); | - |
3301 | } never executed: end of block | 0 |
3302 | | - |
3303 | } else { | - |
3304 | QQuickDefaultClipNode *clip = itemPriv->clipNode(); | - |
3305 | Q_ASSERT(clip); | - |
3306 | parent->removeChildNode(clip); | - |
3307 | if (child) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3308 | clip->removeChildNode(child); | - |
3309 | parent->appendChildNode(child); | - |
3310 | } else { never executed: end of block | 0 |
3311 | clip->reparentChildNodesTo(parent); | - |
3312 | } never executed: end of block | 0 |
3313 | | - |
3314 | delete itemPriv->clipNode(); | - |
3315 | itemPriv->extra->clipNode = nullptr; | - |
3316 | } never executed: end of block | 0 |
3317 | } | - |
3318 | | - |
3319 | if (effectRefEffectivelyChanged) {TRUE | 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 |
3320 | if (dirty & QQuickItemPrivate::ChildrenUpdateMask)TRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
| 0-105 |
3321 | 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 |
3322 | | - |
3323 | QSGNode *parent = itemPriv->clipNode(); | - |
3324 | if (!parent)TRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
| 0-105 |
3325 | 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 |
3326 | if (!parent)TRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
| 0-105 |
3327 | 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 |
3328 | | - |
3329 | if (itemPriv->extra.isAllocated() && itemPriv->extra->effectRefCount) {TRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
TRUE | evaluated 105 times by 6 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| FALSE | never evaluated |
| 0-105 |
3330 | Q_ASSERT(itemPriv->rootNode() == nullptr); | - |
3331 | QSGRootNode *root = new QSGRootNode(); | - |
3332 | itemPriv->extra->rootNode = root; | - |
3333 | parent->reparentChildNodesTo(root); | - |
3334 | parent->appendChildNode(root); | - |
3335 | } else {executed 105 times by 6 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitem2
- tst_qquickitemlayer
- tst_qquickshadereffect
- tst_qquicktext
| 105 |
3336 | Q_ASSERT(itemPriv->rootNode() != nullptr); | - |
3337 | QSGRootNode *root = itemPriv->rootNode(); | - |
3338 | parent->removeChildNode(root); | - |
3339 | root->reparentChildNodesTo(parent); | - |
3340 | delete itemPriv->rootNode(); | - |
3341 | itemPriv->extra->rootNode = nullptr; | - |
3342 | } never executed: end of block | 0 |
3343 | } | - |
3344 | | - |
3345 | if (dirty & QQuickItemPrivate::ChildrenUpdateMask) {TRUE | 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 |
3346 | int ii = 0; | - |
3347 | bool fetchedPaintNode = false; | - |
3348 | QList<QQuickItem *> orderedChildren = itemPriv->paintOrderChildItems(); | - |
3349 | int desiredNodesSize = orderedChildren.size() + (itemPriv->paintNode ? 1 : 0);TRUE | 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
- ...
|
| 150-331490 |
3350 | | - |
3351 | | - |
3352 | | - |
3353 | | - |
3354 | | - |
3355 | | - |
3356 | | - |
3357 | int desiredNodesProcessed = 0; | - |
3358 | | - |
3359 | | - |
3360 | | - |
3361 | | - |
3362 | QSGNode *groupNode = itemPriv->childContainerNode(); | - |
3363 | QSGNode *currentNode = groupNode->firstChild(); | - |
3364 | int added = 0; | - |
3365 | int removed = 0; | - |
3366 | int replaced = 0; | - |
3367 | QSGNode *desiredNode = nullptr; | - |
3368 | | - |
3369 | while (currentNode && (desiredNode = fetchNextNode(itemPriv, ii, fetchedPaintNode))) {TRUE | 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
|
| 64-331576 |
3370 | | - |
3371 | | - |
3372 | if (currentNode != desiredNode) {TRUE | 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 |
3373 | | - |
3374 | | - |
3375 | 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 |
3376 | 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 |
3377 | groupNode->insertChildNodeAfter(desiredNode, currentNode); | - |
3378 | groupNode->removeChildNode(currentNode); | - |
3379 | replaced++; | - |
3380 | | - |
3381 | | - |
3382 | | - |
3383 | currentNode = desiredNode; | - |
3384 | }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 |
3385 | | - |
3386 | currentNode = currentNode->nextSibling(); | - |
3387 | desiredNodesProcessed++; | - |
3388 | }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 |
3389 | | - |
3390 | | - |
3391 | | - |
3392 | | - |
3393 | if (desiredNodesProcessed < desiredNodesSize) {TRUE | 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 |
3394 | while ((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 |
3395 | 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 |
3396 | desiredNode->parent()->removeChildNode(desiredNode); never executed: desiredNode->parent()->removeChildNode(desiredNode); | 0 |
3397 | groupNode->appendChildNode(desiredNode); | - |
3398 | added++; | - |
3399 | }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 |
3400 | } else if (currentNode) {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
- ...
TRUE | 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 |
3401 | | - |
3402 | | - |
3403 | | - |
3404 | while (currentNode) {TRUE | evaluated 24 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-24 |
3405 | QSGNode *node = currentNode->nextSibling(); | - |
3406 | groupNode->removeChildNode(currentNode); | - |
3407 | currentNode = node; | - |
3408 | removed++; | - |
3409 | }executed 24 times by 1 test: end of block | 24 |
3410 | }executed 4 times by 1 test: end of block | 4 |
3411 | }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 |
3412 | | - |
3413 | if ((dirty & QQuickItemPrivate::Size) && itemPriv->clipNode()) {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
- ...
|
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 |
3414 | itemPriv->clipNode()->setRect(item->clipRect()); | - |
3415 | itemPriv->clipNode()->update(); | - |
3416 | }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 |
3417 | | - |
3418 | 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 |
3419 | | 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 |
3420 | { | - |
3421 | qreal opacity = itemPriv->explicitVisible && (!itemPriv->extra.isAllocated() || itemPriv->extra->hideRefCount == 0)TRUE | 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
|
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
- ...
|
TRUE | 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 |
3422 | ? itemPriv->opacity() : qreal(0); | - |
3423 | | - |
3424 | if (opacity != 1 && !itemPriv->opacityNode()) {TRUE | 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
- ...
|
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 |
3425 | QSGOpacityNode *node = new QSGOpacityNode; | - |
3426 | itemPriv->extra.value().opacityNode = node; | - |
3427 | | - |
3428 | QSGNode *parent = itemPriv->itemNode(); | - |
3429 | QSGNode *child = itemPriv->clipNode(); | - |
3430 | if (!child)TRUE | 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 |
3431 | 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 |
3432 | | - |
3433 | if (child) {TRUE | 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 |
3434 | parent->removeChildNode(child); | - |
3435 | node->appendChildNode(child); | - |
3436 | parent->appendChildNode(node); | - |
3437 | } else {executed 93 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
| 93 |
3438 | parent->reparentChildNodesTo(node); | - |
3439 | parent->appendChildNode(node); | - |
3440 | }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 |
3441 | } | - |
3442 | 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 |
3443 | 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 |
3444 | }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 |
3445 | | - |
3446 | if (dirty & QQuickItemPrivate::ContentUpdateMask) {TRUE | 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 |
3447 | | - |
3448 | if (itemPriv->flags & QQuickItem::ItemHasContents) {TRUE | 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 |
3449 | updatePaintNodeData.transformNode = itemPriv->itemNode(); | - |
3450 | itemPriv->paintNode = item->updatePaintNode(itemPriv->paintNode, &updatePaintNodeData); | - |
3451 | | - |
3452 | Q_ASSERT(itemPriv->paintNode == nullptr || | - |
3453 | itemPriv->paintNode->parent() == nullptr || | - |
3454 | itemPriv->paintNode->parent() == itemPriv->childContainerNode()); | - |
3455 | | - |
3456 | if (itemPriv->paintNode && itemPriv->paintNode->parent() == nullptr) {TRUE | 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
- ...
|
TRUE | 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 |
3457 | QSGNode *before = qquickitem_before_paintNode(itemPriv); | - |
3458 | if (before && before->parent()) {TRUE | 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
- ...
|
TRUE | evaluated 204 times by 1 test | FALSE | never evaluated |
| 0-251456 |
3459 | Q_ASSERT(before->parent() == itemPriv->childContainerNode()); | - |
3460 | itemPriv->childContainerNode()->insertChildNodeAfter(itemPriv->paintNode, before); | - |
3461 | } else {executed 204 times by 1 test: end of block | 204 |
3462 | itemPriv->childContainerNode()->prependChildNode(itemPriv->paintNode); | - |
3463 | }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 |
3464 | } | - |
3465 | } else if (itemPriv->paintNode) {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
- ...
TRUE | 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 |
3466 | delete itemPriv->paintNode; | - |
3467 | itemPriv->paintNode = nullptr; | - |
3468 | } never executed: end of block | 0 |
3469 | }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 |
3470 | | - |
3471 | #ifndef QT_NO_DEBUG | - |
3472 | | - |
3473 | | - |
3474 | QList<QSGNode *> nodes; | - |
3475 | nodes << itemPriv->itemNodeInstance | - |
3476 | << itemPriv->opacityNode() | - |
3477 | << itemPriv->clipNode() | - |
3478 | << itemPriv->rootNode() | - |
3479 | << itemPriv->paintNode; | - |
3480 | nodes.removeAll(0); | - |
3481 | | - |
3482 | Q_ASSERT(nodes.constFirst() == itemPriv->itemNodeInstance); | - |
3483 | for (int i=1; i<nodes.size(); ++i) {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
- ...
|
| 473014-548664 |
3484 | QSGNode *n = nodes.at(i); | - |
3485 | | - |
3486 | Q_ASSERT(n->parent() == nodes.at(i-1)); | - |
3487 | | - |
3488 | Q_ASSERT(n == itemPriv->paintNode || n == itemPriv->childContainerNode() || n->childCount() == 1); | - |
3489 | }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 |
3490 | #endif | - |
3491 | | - |
3492 | }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 |
3493 | | - |
3494 | bool QQuickWindowPrivate::emitError(QQuickWindow::SceneGraphError error, const QString &msg) | - |
3495 | { | - |
3496 | Q_Q(QQuickWindow); | - |
3497 | static const QMetaMethod errorSignal = QMetaMethod::fromSignal(&QQuickWindow::sceneGraphError); | - |
3498 | if (q->isSignalConnected(errorSignal)) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3499 | emit q->sceneGraphError(error, msg); | - |
3500 | return true; never executed: return true; | 0 |
3501 | } | - |
3502 | return false; never executed: return false; | 0 |
3503 | } | - |
3504 | | - |
3505 | void QQuickWindow::maybeUpdate() | - |
3506 | { | - |
3507 | Q_D(QQuickWindow); | - |
3508 | if (d->renderControl)TRUE | 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 |
3509 | QQuickRenderControlPrivate::get(d->renderControl)->maybeUpdate();executed 1290 times by 2 tests: QQuickRenderControlPrivate::get(d->renderControl)->maybeUpdate(); Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 1290 |
3510 | else if (d->windowManager)TRUE | 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 |
3511 | 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 |
3512 | }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 |
3513 | | - |
3514 | void QQuickWindow::cleanupSceneGraph() | - |
3515 | { | - |
3516 | Q_D(QQuickWindow); | - |
3517 | #if QT_CONFIG(opengl) | - |
3518 | delete d->vaoHelper; | - |
3519 | d->vaoHelper = nullptr; | - |
3520 | #endif | - |
3521 | if (!d->renderer)TRUE | 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 |
3522 | 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 |
3523 | | - |
3524 | delete d->renderer->rootNode(); | - |
3525 | delete d->renderer; | - |
3526 | d->renderer = nullptr; | - |
3527 | | - |
3528 | d->runAndClearJobs(&d->beforeSynchronizingJobs); | - |
3529 | d->runAndClearJobs(&d->afterSynchronizingJobs); | - |
3530 | d->runAndClearJobs(&d->beforeRenderingJobs); | - |
3531 | d->runAndClearJobs(&d->afterRenderingJobs); | - |
3532 | d->runAndClearJobs(&d->afterSwapJobs); | - |
3533 | }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 |
3534 | | - |
3535 | void QQuickWindow::setTransientParent_helper(QQuickWindow *window) | - |
3536 | { | - |
3537 | qCDebug(lcTransient) << this << "is transient for" << window; never executed: QMessageLogger(__FILE__, 3537, __PRETTY_FUNCTION__, lcTransient().categoryName()).debug() << this << "is transient for" << window; TRUE | never evaluated | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickloader
- tst_qquickmousearea
|
| 0-6 |
3538 | setTransientParent(window); | - |
3539 | disconnect(sender(), SIGNAL(windowChanged(QQuickWindow*)), | - |
3540 | this, SLOT(setTransientParent_helper(QQuickWindow*))); | - |
3541 | }executed 6 times by 2 tests: end of block Executed by:- tst_qquickloader
- tst_qquickmousearea
| 6 |
3542 | | - |
3543 | | - |
3544 | | - |
3545 | | - |
3546 | | - |
3547 | | - |
3548 | | - |
3549 | | - |
3550 | | - |
3551 | | - |
3552 | | - |
3553 | | - |
3554 | | - |
3555 | QOpenGLContext *QQuickWindow::openglContext() const | - |
3556 | { | - |
3557 | #if QT_CONFIG(opengl) | - |
3558 | Q_D(const QQuickWindow); | - |
3559 | if (d->context && d->context->isValid()) {TRUE | 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 |
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 |
3560 | QSGRendererInterface *rif = d->context->sceneGraphContext()->rendererInterface(d->context); | - |
3561 | if (rif && rif->graphicsApi() == QSGRendererInterface::OpenGL) {TRUE | evaluated 1880 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
| FALSE | never evaluated |
TRUE | evaluated 1880 times by 6 testsEvaluated by:- tst_examples
- tst_qquickanimations
- tst_qquickframebufferobject
- tst_qquickshortcut
- tst_qquickwidget
- tst_scenegraph
| FALSE | never evaluated |
| 0-1880 |
3562 | auto openglRenderContext = static_cast<const QSGDefaultRenderContext *>(d->context); | - |
3563 | return 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 |
3564 | } | - |
3565 | } never executed: end of block | 0 |
3566 | #endif | - |
3567 | return nullptr;executed 118 times by 4 tests: return nullptr; Executed by:- tst_qquickgraphicsinfo
- tst_qquickopenglinfo
- tst_qquickshortcut
- tst_qquickwidget
| 118 |
3568 | } | - |
3569 | | - |
3570 | | - |
3571 | | - |
3572 | | - |
3573 | bool QQuickWindow::isSceneGraphInitialized() const | - |
3574 | { | - |
3575 | Q_D(const QQuickWindow); | - |
3576 | return 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 |
3577 | } | - |
3578 | | - |
3579 | | - |
3580 | | - |
3581 | | - |
3582 | | - |
3583 | | - |
3584 | | - |
3585 | | - |
3586 | | - |
3587 | | - |
3588 | | - |
3589 | | - |
3590 | | - |
3591 | | - |
3592 | | - |
3593 | | - |
3594 | | - |
3595 | | - |
3596 | | - |
3597 | | - |
3598 | | - |
3599 | | - |
3600 | | - |
3601 | | - |
3602 | | - |
3603 | | - |
3604 | | - |
3605 | | - |
3606 | | - |
3607 | | - |
3608 | | - |
3609 | | - |
3610 | | - |
3611 | | - |
3612 | | - |
3613 | | - |
3614 | | - |
3615 | | - |
3616 | | - |
3617 | | - |
3618 | | - |
3619 | | - |
3620 | | - |
3621 | | - |
3622 | | - |
3623 | | - |
3624 | | - |
3625 | | - |
3626 | | - |
3627 | | - |
3628 | | - |
3629 | | - |
3630 | | - |
3631 | | - |
3632 | | - |
3633 | | - |
3634 | | - |
3635 | | - |
3636 | | - |
3637 | | - |
3638 | | - |
3639 | | - |
3640 | | - |
3641 | | - |
3642 | | - |
3643 | | - |
3644 | | - |
3645 | | - |
3646 | | - |
3647 | | - |
3648 | | - |
3649 | | - |
3650 | | - |
3651 | | - |
3652 | | - |
3653 | | - |
3654 | | - |
3655 | | - |
3656 | | - |
3657 | | - |
3658 | | - |
3659 | | - |
3660 | | - |
3661 | | - |
3662 | | - |
3663 | | - |
3664 | | - |
3665 | | - |
3666 | | - |
3667 | | - |
3668 | | - |
3669 | | - |
3670 | | - |
3671 | | - |
3672 | | - |
3673 | | - |
3674 | | - |
3675 | | - |
3676 | | - |
3677 | | - |
3678 | | - |
3679 | | - |
3680 | | - |
3681 | | - |
3682 | | - |
3683 | | - |
3684 | | - |
3685 | #if QT_CONFIG(opengl) | - |
3686 | | - |
3687 | | - |
3688 | | - |
3689 | | - |
3690 | | - |
3691 | | - |
3692 | | - |
3693 | | - |
3694 | | - |
3695 | | - |
3696 | | - |
3697 | | - |
3698 | | - |
3699 | | - |
3700 | | - |
3701 | void QQuickWindow::setRenderTarget(QOpenGLFramebufferObject *fbo) | - |
3702 | { | - |
3703 | Q_D(QQuickWindow); | - |
3704 | if (d->context && QThread::currentThread() != d->context->thread()) {TRUE | evaluated 124 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 124 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
|
| 0-124 |
3705 | qWarning("QQuickWindow::setRenderTarget: Cannot set render target from outside the rendering thread"); | - |
3706 | return; never executed: return; | 0 |
3707 | } | - |
3708 | | - |
3709 | d->renderTarget = fbo; | - |
3710 | if (fbo) {TRUE | evaluated 124 times by 2 testsEvaluated by:- tst_qquickshortcut
- tst_qquickwidget
| FALSE | never evaluated |
| 0-124 |
3711 | d->renderTargetId = fbo->handle(); | - |
3712 | d->renderTargetSize = fbo->size(); | - |
3713 | } else {executed 124 times by 2 tests: end of block Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 124 |
3714 | d->renderTargetId = 0; | - |
3715 | d->renderTargetSize = QSize(); | - |
3716 | } never executed: end of block | 0 |
3717 | } | - |
3718 | #endif | - |
3719 | | - |
3720 | | - |
3721 | | - |
3722 | | - |
3723 | | - |
3724 | | - |
3725 | | - |
3726 | | - |
3727 | | - |
3728 | | - |
3729 | | - |
3730 | | - |
3731 | | - |
3732 | | - |
3733 | | - |
3734 | | - |
3735 | | - |
3736 | | - |
3737 | | - |
3738 | | - |
3739 | | - |
3740 | | - |
3741 | | - |
3742 | void QQuickWindow::setRenderTarget(uint fboId, const QSize &size) | - |
3743 | { | - |
3744 | Q_D(QQuickWindow); | - |
3745 | if (d->context && QThread::currentThread() != d->context->thread()) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
3746 | qWarning("QQuickWindow::setRenderThread: Cannot set render target from outside the rendering thread"); | - |
3747 | return; never executed: return; | 0 |
3748 | } | - |
3749 | | - |
3750 | d->renderTargetId = fboId; | - |
3751 | d->renderTargetSize = size; | - |
3752 | | - |
3753 | | - |
3754 | d->renderTarget = nullptr; | - |
3755 | } never executed: end of block | 0 |
3756 | | - |
3757 | | - |
3758 | | - |
3759 | | - |
3760 | | - |
3761 | uint QQuickWindow::renderTargetId() const | - |
3762 | { | - |
3763 | Q_D(const QQuickWindow); | - |
3764 | return d->renderTargetId; never executed: return d->renderTargetId; | 0 |
3765 | } | - |
3766 | | - |
3767 | | - |
3768 | | - |
3769 | | - |
3770 | QSize QQuickWindow::renderTargetSize() const | - |
3771 | { | - |
3772 | Q_D(const QQuickWindow); | - |
3773 | return d->renderTargetSize; never executed: return d->renderTargetSize; | 0 |
3774 | } | - |
3775 | | - |
3776 | | - |
3777 | | - |
3778 | #if QT_CONFIG(opengl) | - |
3779 | | - |
3780 | | - |
3781 | | - |
3782 | | - |
3783 | | - |
3784 | | - |
3785 | | - |
3786 | | - |
3787 | | - |
3788 | | - |
3789 | QOpenGLFramebufferObject *QQuickWindow::renderTarget() const | - |
3790 | { | - |
3791 | Q_D(const QQuickWindow); | - |
3792 | return d->renderTarget; never executed: return d->renderTarget; | 0 |
3793 | } | - |
3794 | #endif | - |
3795 | | - |
3796 | | - |
3797 | | - |
3798 | | - |
3799 | | - |
3800 | | - |
3801 | | - |
3802 | | - |
3803 | | - |
3804 | | - |
3805 | | - |
3806 | | - |
3807 | | - |
3808 | QImage QQuickWindow::grabWindow() | - |
3809 | { | - |
3810 | Q_D(QQuickWindow); | - |
3811 | | - |
3812 | if (!isVisible() && !d->renderControl) {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
|
TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
| 0-564 |
3813 | if (d->windowManager && (d->windowManager->flags() & QSGRenderLoop::SupportsGrabWithoutExpose))TRUE | 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
|
| 0-6 |
3814 | return d->windowManager->grab(this); never executed: return d->windowManager->grab(this); | 0 |
3815 | }executed 6 times by 2 tests: end of block Executed by:- tst_qquickborderimage
- tst_qquickimage
| 6 |
3816 | | - |
3817 | #if QT_CONFIG(opengl) | - |
3818 | if (!isVisible() && !d->renderControl) {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
|
TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
| 0-564 |
3819 | auto openglRenderContext = static_cast<QSGDefaultRenderContext *>(d->context); | - |
3820 | if (!openglRenderContext->openglContext()) {TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qquickborderimage
- tst_qquickimage
| FALSE | never evaluated |
| 0-6 |
3821 | if (!handle() || !size().isValid()) {TRUE | evaluated 4 times by 1 test | FALSE | evaluated 2 times by 1 test |
TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
| 0-4 |
3822 | qWarning("QQuickWindow::grabWindow: window must be created and have a valid size"); | - |
3823 | return QImage();executed 4 times by 1 test: return QImage(); | 4 |
3824 | } | - |
3825 | | - |
3826 | QOpenGLContext context; | - |
3827 | context.setFormat(requestedFormat()); | - |
3828 | context.setShareContext(qt_gl_global_share_context()); | - |
3829 | context.create(); | - |
3830 | context.makeCurrent(this); | - |
3831 | d->context->initialize(&context); | - |
3832 | | - |
3833 | d->polishItems(); | - |
3834 | d->syncSceneGraph(); | - |
3835 | d->renderSceneGraph(size()); | - |
3836 | | - |
3837 | bool alpha = format().alphaBufferSize() > 0 && color().alpha() < 255;TRUE | never evaluated | FALSE | evaluated 2 times by 1 test |
TRUE | never evaluated | FALSE | never evaluated |
| 0-2 |
3838 | QImage image = qt_gl_read_framebuffer(size() * effectiveDevicePixelRatio(), alpha, alpha); | - |
3839 | image.setDevicePixelRatio(effectiveDevicePixelRatio()); | - |
3840 | d->cleanupNodesOnShutdown(); | - |
3841 | d->context->invalidate(); | - |
3842 | context.doneCurrent(); | - |
3843 | | - |
3844 | return image;executed 2 times by 1 test: return image; | 2 |
3845 | } | - |
3846 | } never executed: end of block | 0 |
3847 | #endif | - |
3848 | if (d->renderControl)TRUE | 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 |
3849 | return d->renderControl->grab(); never executed: return d->renderControl->grab(); | 0 |
3850 | else if (d->windowManager)TRUE | 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 |
3851 | return 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 |
3852 | return QImage(); never executed: return QImage(); | 0 |
3853 | } | - |
3854 | | - |
3855 | | - |
3856 | | - |
3857 | | - |
3858 | | - |
3859 | | - |
3860 | | - |
3861 | | - |
3862 | | - |
3863 | QQmlIncubationController *QQuickWindow::incubationController() const | - |
3864 | { | - |
3865 | Q_D(const QQuickWindow); | - |
3866 | | - |
3867 | if (!d->windowManager)TRUE | 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 |
3868 | return nullptr; executed 108 times by 2 tests: return nullptr; Executed by:- tst_qquickshortcut
- tst_qquickwidget
| 108 |
3869 | | - |
3870 | if (!d->incubationController)TRUE | 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 |
3871 | 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 |
3872 | return 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 |
3873 | } | - |
3874 | | - |
3875 | | - |
3876 | | - |
3877 | | - |
3878 | | - |
3879 | | - |
3880 | | - |
3881 | | - |
3882 | | - |
3883 | | - |
3884 | | - |
3885 | | - |
3886 | | - |
3887 | | - |
3888 | | - |
3889 | | - |
3890 | | - |
3891 | | - |
3892 | | - |
3893 | | - |
3894 | | - |
3895 | | - |
3896 | | - |
3897 | | - |
3898 | | - |
3899 | | - |
3900 | | - |
3901 | | - |
3902 | | - |
3903 | | - |
3904 | | - |
3905 | | - |
3906 | | - |
3907 | | - |
3908 | | - |
3909 | | - |
3910 | | - |
3911 | | - |
3912 | | - |
3913 | | - |
3914 | | - |
3915 | | - |
3916 | | - |
3917 | | - |
3918 | | - |
3919 | | - |
3920 | | - |
3921 | | - |
3922 | | - |
3923 | | - |
3924 | | - |
3925 | | - |
3926 | | - |
3927 | | - |
3928 | | - |
3929 | | - |
3930 | | - |
3931 | | - |
3932 | | - |
3933 | | - |
3934 | | - |
3935 | | - |
3936 | | - |
3937 | | - |
3938 | | - |
3939 | | - |
3940 | | - |
3941 | | - |
3942 | | - |
3943 | | - |
3944 | | - |
3945 | | - |
3946 | | - |
3947 | | - |
3948 | | - |
3949 | | - |
3950 | | - |
3951 | | - |
3952 | | - |
3953 | | - |
3954 | | - |
3955 | | - |
3956 | | - |
3957 | | - |
3958 | | - |
3959 | | - |
3960 | | - |
3961 | | - |
3962 | | - |
3963 | | - |
3964 | | - |
3965 | | - |
3966 | | - |
3967 | | - |
3968 | | - |
3969 | | - |
3970 | | - |
3971 | | - |
3972 | | - |
3973 | | - |
3974 | | - |
3975 | | - |
3976 | | - |
3977 | | - |
3978 | | - |
3979 | | - |
3980 | | - |
3981 | | - |
3982 | | - |
3983 | | - |
3984 | | - |
3985 | | - |
3986 | | - |
3987 | | - |
3988 | | - |
3989 | | - |
3990 | | - |
3991 | | - |
3992 | | - |
3993 | | - |
3994 | | - |
3995 | | - |
3996 | | - |
3997 | | - |
3998 | | - |
3999 | | - |
4000 | | - |
4001 | | - |
4002 | | - |
4003 | | - |
4004 | | - |
4005 | | - |
4006 | | - |
4007 | | - |
4008 | | - |
4009 | | - |
4010 | | - |
4011 | | - |
4012 | | - |
4013 | | - |
4014 | | - |
4015 | | - |
4016 | | - |
4017 | | - |
4018 | | - |
4019 | | - |
4020 | | - |
4021 | | - |
4022 | | - |
4023 | | - |
4024 | | - |
4025 | | - |
4026 | | - |
4027 | | - |
4028 | | - |
4029 | | - |
4030 | | - |
4031 | | - |
4032 | | - |
4033 | | - |
4034 | | - |
4035 | | - |
4036 | | - |
4037 | | - |
4038 | | - |
4039 | | - |
4040 | | - |
4041 | | - |
4042 | | - |
4043 | | - |
4044 | | - |
4045 | | - |
4046 | | - |
4047 | | - |
4048 | | - |
4049 | | - |
4050 | | - |
4051 | | - |
4052 | | - |
4053 | | - |
4054 | | - |
4055 | | - |
4056 | | - |
4057 | | - |
4058 | | - |
4059 | | - |
4060 | | - |
4061 | | - |
4062 | | - |
4063 | | - |
4064 | | - |
4065 | | - |
4066 | | - |
4067 | | - |
4068 | | - |
4069 | | - |
4070 | | - |
4071 | | - |
4072 | | - |
4073 | | - |
4074 | | - |
4075 | | - |
4076 | | - |
4077 | | - |
4078 | | - |
4079 | | - |
4080 | | - |
4081 | | - |
4082 | | - |
4083 | | - |
4084 | | - |
4085 | | - |
4086 | | - |
4087 | | - |
4088 | void QQuickWindow::setClearBeforeRendering(bool enabled) | - |
4089 | { | - |
4090 | Q_D(QQuickWindow); | - |
4091 | d->clearBeforeRendering = enabled; | - |
4092 | } never executed: end of block | 0 |
4093 | | - |
4094 | | - |
4095 | | - |
4096 | | - |
4097 | | - |
4098 | | - |
4099 | | - |
4100 | bool QQuickWindow::clearBeforeRendering() const | - |
4101 | { | - |
4102 | Q_D(const QQuickWindow); | - |
4103 | return d->clearBeforeRendering; never executed: return d->clearBeforeRendering; | 0 |
4104 | } | - |
4105 | | - |
4106 | | - |
4107 | | - |
4108 | | - |
4109 | | - |
4110 | QSGTexture *QQuickWindow::createTextureFromImage(const QImage &image) const | - |
4111 | { | - |
4112 | return createTextureFromImage(image, nullptr);executed 30 times by 2 tests: return createTextureFromImage(image, nullptr); Executed by:- tst_qquickanimatedsprite
- tst_qquickspritesequence
| 30 |
4113 | } | - |
4114 | | - |
4115 | | - |
4116 | | - |
4117 | | - |
4118 | | - |
4119 | | - |
4120 | | - |
4121 | | - |
4122 | | - |
4123 | | - |
4124 | | - |
4125 | | - |
4126 | | - |
4127 | | - |
4128 | | - |
4129 | | - |
4130 | | - |
4131 | | - |
4132 | | - |
4133 | | - |
4134 | | - |
4135 | | - |
4136 | | - |
4137 | | - |
4138 | | - |
4139 | | - |
4140 | | - |
4141 | | - |
4142 | | - |
4143 | | - |
4144 | | - |
4145 | | - |
4146 | | - |
4147 | | - |
4148 | | - |
4149 | | - |
4150 | | - |
4151 | | - |
4152 | | - |
4153 | | - |
4154 | | - |
4155 | | - |
4156 | | - |
4157 | QSGTexture *QQuickWindow::createTextureFromImage(const QImage &image, CreateTextureOptions options) const | - |
4158 | { | - |
4159 | Q_D(const QQuickWindow); | - |
4160 | 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 |
4161 | return nullptr; never executed: return nullptr; | 0 |
4162 | uint flags = 0; | - |
4163 | if (options & TextureCanUseAtlas) 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
TRUE | 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
|
| 30-367 |
4164 | if (options & TextureHasMipmaps) flags |= QSGRenderContext::CreateTexture_Mipmap; never executed: flags |= QSGRenderContext::CreateTexture_Mipmap; 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 |
4165 | if (!(options & TextureIsOpaque)) 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
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 |
| 0-397 |
4166 | return 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 |
4167 | } | - |
4168 | | - |
4169 | | - |
4170 | | - |
4171 | | - |
4172 | | - |
4173 | | - |
4174 | | - |
4175 | | - |
4176 | | - |
4177 | | - |
4178 | | - |
4179 | | - |
4180 | | - |
4181 | | - |
4182 | | - |
4183 | | - |
4184 | | - |
4185 | | - |
4186 | | - |
4187 | | - |
4188 | | - |
4189 | | - |
4190 | | - |
4191 | QSGTexture *QQuickWindow::createTextureFromId(uint id, const QSize &size, CreateTextureOptions options) const | - |
4192 | { | - |
4193 | #if QT_CONFIG(opengl) | - |
4194 | if (openglContext()) {TRUE | evaluated 20 times by 1 testEvaluated by:- tst_qquickframebufferobject
| FALSE | never evaluated |
| 0-20 |
4195 | QSGPlainTexture *texture = new QSGPlainTexture(); | - |
4196 | texture->setTextureId(id); | - |
4197 | texture->setHasAlphaChannel(options & TextureHasAlphaChannel); | - |
4198 | texture->setOwnsTexture(options & TextureOwnsGLTexture); | - |
4199 | texture->setTextureSize(size); | - |
4200 | return texture;executed 20 times by 1 test: return texture; Executed by:- tst_qquickframebufferobject
| 20 |
4201 | } | - |
4202 | #else | - |
4203 | Q_UNUSED(id) | - |
4204 | Q_UNUSED(size) | - |
4205 | Q_UNUSED(options) | - |
4206 | #endif | - |
4207 | return nullptr; never executed: return nullptr; | 0 |
4208 | } | - |
4209 | | - |
4210 | | - |
4211 | | - |
4212 | | - |
4213 | | - |
4214 | | - |
4215 | | - |
4216 | | - |
4217 | | - |
4218 | | - |
4219 | | - |
4220 | | - |
4221 | | - |
4222 | | - |
4223 | | - |
4224 | | - |
4225 | | - |
4226 | | - |
4227 | | - |
4228 | void QQuickWindow::setColor(const QColor &color) | - |
4229 | { | - |
4230 | Q_D(QQuickWindow); | - |
4231 | if (color == d->clearColor)TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qquickloader
|
| 0-8 |
4232 | return; never executed: return; | 0 |
4233 | | - |
4234 | if (color.alpha() != d->clearColor.alpha()) {TRUE | never evaluated | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmlcomponent
- tst_qquickloader
|
| 0-8 |
4235 | QSurfaceFormat fmt = requestedFormat(); | - |
4236 | if (color.alpha() < 255)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4237 | fmt.setAlphaBufferSize(8); never executed: fmt.setAlphaBufferSize(8); | 0 |
4238 | else | - |
4239 | fmt.setAlphaBufferSize(-1); never executed: fmt.setAlphaBufferSize(-1); | 0 |
4240 | setFormat(fmt); | - |
4241 | } never executed: end of block | 0 |
4242 | d->clearColor = color; | - |
4243 | emit colorChanged(color); | - |
4244 | update(); | - |
4245 | }executed 8 times by 2 tests: end of block Executed by:- tst_qqmlcomponent
- tst_qquickloader
| 8 |
4246 | | - |
4247 | QColor QQuickWindow::color() const | - |
4248 | { | - |
4249 | return d_func()->clearColor; never executed: return d_func()->clearColor; | 0 |
4250 | } | - |
4251 | | - |
4252 | | - |
4253 | | - |
4254 | | - |
4255 | | - |
4256 | | - |
4257 | | - |
4258 | bool QQuickWindow::hasDefaultAlphaBuffer() | - |
4259 | { | - |
4260 | return 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 |
4261 | } | - |
4262 | | - |
4263 | | - |
4264 | | - |
4265 | | - |
4266 | | - |
4267 | | - |
4268 | | - |
4269 | | - |
4270 | | - |
4271 | | - |
4272 | void QQuickWindow::setDefaultAlphaBuffer(bool useAlpha) | - |
4273 | { | - |
4274 | QQuickWindowPrivate::defaultAlphaBuffer = useAlpha; | - |
4275 | } never executed: end of block | 0 |
4276 | #if QT_CONFIG(opengl) | - |
4277 | | - |
4278 | | - |
4279 | | - |
4280 | | - |
4281 | | - |
4282 | | - |
4283 | | - |
4284 | | - |
4285 | | - |
4286 | | - |
4287 | | - |
4288 | | - |
4289 | | - |
4290 | | - |
4291 | | - |
4292 | | - |
4293 | | - |
4294 | | - |
4295 | | - |
4296 | | - |
4297 | | - |
4298 | | - |
4299 | void QQuickWindow::resetOpenGLState() | - |
4300 | { | - |
4301 | if (!openglContext())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4302 | return; never executed: return; | 0 |
4303 | | - |
4304 | Q_D(QQuickWindow); | - |
4305 | | - |
4306 | QOpenGLContext *ctx = openglContext(); | - |
4307 | QOpenGLFunctions *gl = ctx->functions(); | - |
4308 | | - |
4309 | gl->glBindBuffer(GL_ARRAY_BUFFER, 0); | - |
4310 | gl->glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); | - |
4311 | | - |
4312 | if (!d->vaoHelper)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4313 | d->vaoHelper = new QOpenGLVertexArrayObjectHelper(ctx); never executed: d->vaoHelper = new QOpenGLVertexArrayObjectHelper(ctx); | 0 |
4314 | if (d->vaoHelper->isValid())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4315 | d->vaoHelper->glBindVertexArray(0); never executed: d->vaoHelper->glBindVertexArray(0); | 0 |
4316 | | - |
4317 | if (ctx->isOpenGLES() || (gl->openGLFeatures() & QOpenGLFunctions::FixedFunctionPipeline)) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4318 | int maxAttribs; | - |
4319 | gl->glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &maxAttribs); | - |
4320 | for (int i=0; i<maxAttribs; ++i) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4321 | gl->glVertexAttribPointer(i, 4, GL_FLOAT, GL_FALSE, 0, nullptr); | - |
4322 | gl->glDisableVertexAttribArray(i); | - |
4323 | } never executed: end of block | 0 |
4324 | } never executed: end of block | 0 |
4325 | | - |
4326 | gl->glActiveTexture(GL_TEXTURE0); | - |
4327 | gl->glBindTexture(GL_TEXTURE_2D, 0); | - |
4328 | | - |
4329 | gl->glDisable(GL_DEPTH_TEST); | - |
4330 | gl->glDisable(GL_STENCIL_TEST); | - |
4331 | gl->glDisable(GL_SCISSOR_TEST); | - |
4332 | | - |
4333 | gl->glColorMask(true, true, true, true); | - |
4334 | gl->glClearColor(0, 0, 0, 0); | - |
4335 | | - |
4336 | gl->glDepthMask(true); | - |
4337 | gl->glDepthFunc(GL_LESS); | - |
4338 | gl->glClearDepthf(1); | - |
4339 | | - |
4340 | gl->glStencilMask(0xff); | - |
4341 | gl->glStencilOp(GL_KEEP, GL_KEEP, GL_KEEP); | - |
4342 | gl->glStencilFunc(GL_ALWAYS, 0, 0xff); | - |
4343 | | - |
4344 | gl->glDisable(GL_BLEND); | - |
4345 | gl->glBlendFunc(GL_ONE, GL_ZERO); | - |
4346 | | - |
4347 | gl->glUseProgram(0); | - |
4348 | | - |
4349 | QOpenGLFramebufferObject::bindDefault(); | - |
4350 | } never executed: end of block | 0 |
4351 | #endif | - |
4352 | | - |
4353 | | - |
4354 | | - |
4355 | | - |
4356 | | - |
4357 | | - |
4358 | | - |
4359 | | - |
4360 | | - |
4361 | | - |
4362 | | - |
4363 | | - |
4364 | | - |
4365 | | - |
4366 | | - |
4367 | | - |
4368 | | - |
4369 | | - |
4370 | | - |
4371 | | - |
4372 | | - |
4373 | | - |
4374 | | - |
4375 | | - |
4376 | | - |
4377 | | - |
4378 | | - |
4379 | | - |
4380 | | - |
4381 | | - |
4382 | | - |
4383 | | - |
4384 | | - |
4385 | | - |
4386 | | - |
4387 | | - |
4388 | | - |
4389 | | - |
4390 | | - |
4391 | | - |
4392 | | - |
4393 | | - |
4394 | | - |
4395 | | - |
4396 | | - |
4397 | | - |
4398 | | - |
4399 | | - |
4400 | | - |
4401 | | - |
4402 | | - |
4403 | | - |
4404 | | - |
4405 | | - |
4406 | | - |
4407 | | - |
4408 | | - |
4409 | | - |
4410 | | - |
4411 | | - |
4412 | | - |
4413 | | - |
4414 | | - |
4415 | | - |
4416 | | - |
4417 | | - |
4418 | | - |
4419 | | - |
4420 | | - |
4421 | | - |
4422 | | - |
4423 | | - |
4424 | | - |
4425 | | - |
4426 | | - |
4427 | | - |
4428 | | - |
4429 | | - |
4430 | | - |
4431 | | - |
4432 | | - |
4433 | | - |
4434 | | - |
4435 | | - |
4436 | | - |
4437 | | - |
4438 | | - |
4439 | | - |
4440 | | - |
4441 | | - |
4442 | | - |
4443 | | - |
4444 | | - |
4445 | | - |
4446 | | - |
4447 | | - |
4448 | | - |
4449 | | - |
4450 | | - |
4451 | | - |
4452 | | - |
4453 | | - |
4454 | | - |
4455 | | - |
4456 | | - |
4457 | | - |
4458 | | - |
4459 | | - |
4460 | | - |
4461 | | - |
4462 | | - |
4463 | | - |
4464 | | - |
4465 | | - |
4466 | | - |
4467 | | - |
4468 | | - |
4469 | | - |
4470 | | - |
4471 | | - |
4472 | | - |
4473 | | - |
4474 | | - |
4475 | | - |
4476 | | - |
4477 | | - |
4478 | | - |
4479 | | - |
4480 | | - |
4481 | | - |
4482 | | - |
4483 | | - |
4484 | | - |
4485 | | - |
4486 | | - |
4487 | | - |
4488 | | - |
4489 | | - |
4490 | | - |
4491 | | - |
4492 | | - |
4493 | | - |
4494 | | - |
4495 | | - |
4496 | | - |
4497 | | - |
4498 | | - |
4499 | | - |
4500 | | - |
4501 | | - |
4502 | | - |
4503 | | - |
4504 | | - |
4505 | | - |
4506 | | - |
4507 | | - |
4508 | | - |
4509 | | - |
4510 | | - |
4511 | | - |
4512 | | - |
4513 | | - |
4514 | | - |
4515 | | - |
4516 | | - |
4517 | | - |
4518 | | - |
4519 | | - |
4520 | | - |
4521 | | - |
4522 | | - |
4523 | | - |
4524 | | - |
4525 | | - |
4526 | | - |
4527 | | - |
4528 | | - |
4529 | | - |
4530 | | - |
4531 | | - |
4532 | | - |
4533 | | - |
4534 | | - |
4535 | | - |
4536 | | - |
4537 | | - |
4538 | | - |
4539 | | - |
4540 | | - |
4541 | | - |
4542 | | - |
4543 | | - |
4544 | | - |
4545 | | - |
4546 | | - |
4547 | | - |
4548 | | - |
4549 | | - |
4550 | | - |
4551 | | - |
4552 | | - |
4553 | | - |
4554 | | - |
4555 | | - |
4556 | | - |
4557 | | - |
4558 | | - |
4559 | | - |
4560 | | - |
4561 | | - |
4562 | | - |
4563 | | - |
4564 | | - |
4565 | | - |
4566 | | - |
4567 | | - |
4568 | | - |
4569 | | - |
4570 | | - |
4571 | | - |
4572 | | - |
4573 | | - |
4574 | | - |
4575 | | - |
4576 | | - |
4577 | | - |
4578 | | - |
4579 | | - |
4580 | | - |
4581 | | - |
4582 | | - |
4583 | | - |
4584 | | - |
4585 | | - |
4586 | | - |
4587 | | - |
4588 | | - |
4589 | | - |
4590 | | - |
4591 | | - |
4592 | | - |
4593 | | - |
4594 | | - |
4595 | | - |
4596 | | - |
4597 | | - |
4598 | | - |
4599 | | - |
4600 | | - |
4601 | | - |
4602 | | - |
4603 | | - |
4604 | | - |
4605 | | - |
4606 | | - |
4607 | | - |
4608 | | - |
4609 | | - |
4610 | | - |
4611 | | - |
4612 | | - |
4613 | | - |
4614 | | - |
4615 | | - |
4616 | | - |
4617 | | - |
4618 | | - |
4619 | | - |
4620 | | - |
4621 | | - |
4622 | | - |
4623 | | - |
4624 | | - |
4625 | | - |
4626 | | - |
4627 | | - |
4628 | | - |
4629 | | - |
4630 | | - |
4631 | | - |
4632 | | - |
4633 | | - |
4634 | | - |
4635 | | - |
4636 | | - |
4637 | | - |
4638 | | - |
4639 | | - |
4640 | | - |
4641 | | - |
4642 | | - |
4643 | | - |
4644 | | - |
4645 | | - |
4646 | | - |
4647 | | - |
4648 | | - |
4649 | | - |
4650 | | - |
4651 | | - |
4652 | | - |
4653 | | - |
4654 | | - |
4655 | | - |
4656 | | - |
4657 | | - |
4658 | | - |
4659 | | - |
4660 | | - |
4661 | | - |
4662 | | - |
4663 | | - |
4664 | | - |
4665 | | - |
4666 | | - |
4667 | | - |
4668 | | - |
4669 | | - |
4670 | | - |
4671 | | - |
4672 | | - |
4673 | | - |
4674 | | - |
4675 | | - |
4676 | | - |
4677 | | - |
4678 | | - |
4679 | | - |
4680 | | - |
4681 | | - |
4682 | | - |
4683 | | - |
4684 | | - |
4685 | | - |
4686 | | - |
4687 | | - |
4688 | | - |
4689 | | - |
4690 | | - |
4691 | | - |
4692 | | - |
4693 | | - |
4694 | | - |
4695 | | - |
4696 | | - |
4697 | | - |
4698 | | - |
4699 | | - |
4700 | | - |
4701 | | - |
4702 | | - |
4703 | | - |
4704 | | - |
4705 | | - |
4706 | | - |
4707 | | - |
4708 | | - |
4709 | | - |
4710 | | - |
4711 | | - |
4712 | | - |
4713 | | - |
4714 | | - |
4715 | | - |
4716 | | - |
4717 | | - |
4718 | | - |
4719 | | - |
4720 | | - |
4721 | | - |
4722 | | - |
4723 | | - |
4724 | | - |
4725 | | - |
4726 | | - |
4727 | | - |
4728 | | - |
4729 | | - |
4730 | | - |
4731 | | - |
4732 | | - |
4733 | | - |
4734 | | - |
4735 | | - |
4736 | | - |
4737 | | - |
4738 | | - |
4739 | | - |
4740 | | - |
4741 | | - |
4742 | | - |
4743 | | - |
4744 | | - |
4745 | | - |
4746 | | - |
4747 | | - |
4748 | | - |
4749 | | - |
4750 | | - |
4751 | | - |
4752 | | - |
4753 | void QQuickWindow::scheduleRenderJob(QRunnable *job, RenderStage stage) | - |
4754 | { | - |
4755 | Q_D(QQuickWindow); | - |
4756 | | - |
4757 | d->renderJobMutex.lock(); | - |
4758 | if (stage == BeforeSynchronizingStage) {TRUE | never evaluated | FALSE | evaluated 95 times by 4 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
|
| 0-95 |
4759 | d->beforeSynchronizingJobs << job; | - |
4760 | } else if (stage == AfterSynchronizingStage) { never executed: end of block TRUE | evaluated 95 times by 4 testsEvaluated by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
| FALSE | never evaluated |
| 0-95 |
4761 | d->afterSynchronizingJobs << job; | - |
4762 | } else if (stage == BeforeRenderingStage) {executed 95 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
TRUE | never evaluated | FALSE | never evaluated |
| 0-95 |
4763 | d->beforeRenderingJobs << job; | - |
4764 | } else if (stage == AfterRenderingStage) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4765 | d->afterRenderingJobs << job; | - |
4766 | } else if (stage == AfterSwapStage) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4767 | d->afterSwapJobs << job; | - |
4768 | } else if (stage == NoStage) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4769 | if (isExposed())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4770 | d->windowManager->postJob(this, job); never executed: d->windowManager->postJob(this, job); | 0 |
4771 | else | - |
4772 | delete job; never executed: delete job; | 0 |
4773 | } | - |
4774 | d->renderJobMutex.unlock(); | - |
4775 | }executed 95 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
| 95 |
4776 | | - |
4777 | void QQuickWindowPrivate::runAndClearJobs(QList<QRunnable *> *jobs) | - |
4778 | { | - |
4779 | renderJobMutex.lock(); | - |
4780 | QList<QRunnable *> jobList = *jobs; | - |
4781 | jobs->clear(); | - |
4782 | renderJobMutex.unlock(); | - |
4783 | | - |
4784 | for (QRunnable *r : qAsConst(jobList)) { | - |
4785 | r->run(); | - |
4786 | delete r; | - |
4787 | }executed 95 times by 4 tests: end of block Executed by:- tst_examples
- tst_qquickcustomparticle
- tst_qquickitemlayer
- tst_qquickshadereffect
| 95 |
4788 | }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 |
4789 | | - |
4790 | void QQuickWindow::runJobsAfterSwap() | - |
4791 | { | - |
4792 | Q_D(QQuickWindow); | - |
4793 | d->runAndClearJobs(&d->afterSwapJobs); | - |
4794 | }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 |
4795 | | - |
4796 | | - |
4797 | | - |
4798 | | - |
4799 | | - |
4800 | | - |
4801 | | - |
4802 | | - |
4803 | | - |
4804 | | - |
4805 | | - |
4806 | | - |
4807 | | - |
4808 | qreal QQuickWindow::effectiveDevicePixelRatio() const | - |
4809 | { | - |
4810 | QWindow *w = QQuickRenderControl::renderWindowFor(const_cast<QQuickWindow *>(this)); | - |
4811 | return 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 |
4812 | } | - |
4813 | | - |
4814 | | - |
4815 | | - |
4816 | | - |
4817 | | - |
4818 | | - |
4819 | | - |
4820 | | - |
4821 | | - |
4822 | | - |
4823 | | - |
4824 | | - |
4825 | | - |
4826 | | - |
4827 | | - |
4828 | | - |
4829 | | - |
4830 | | - |
4831 | | - |
4832 | | - |
4833 | | - |
4834 | | - |
4835 | QSGRendererInterface *QQuickWindow::rendererInterface() const | - |
4836 | { | - |
4837 | Q_D(const QQuickWindow); | - |
4838 | | - |
4839 | | - |
4840 | | - |
4841 | | - |
4842 | | - |
4843 | | - |
4844 | | - |
4845 | return 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 |
4846 | } | - |
4847 | | - |
4848 | | - |
4849 | | - |
4850 | | - |
4851 | | - |
4852 | | - |
4853 | | - |
4854 | | - |
4855 | | - |
4856 | | - |
4857 | | - |
4858 | | - |
4859 | | - |
4860 | | - |
4861 | void QQuickWindow::setSceneGraphBackend(QSGRendererInterface::GraphicsApi api) | - |
4862 | { | - |
4863 | switch (api) { | - |
4864 | case QSGRendererInterface::Software:executed 2 times by 1 test: case QSGRendererInterface::Software: | 2 |
4865 | setSceneGraphBackend(QStringLiteral("software"));executed 2 times by 1 test: return qstring_literal_temp; | 2 |
4866 | break;executed 2 times by 1 test: break; | 2 |
4867 | case QSGRendererInterface::Direct3D12: never executed: case QSGRendererInterface::Direct3D12: | 0 |
4868 | setSceneGraphBackend(QStringLiteral("d3d12")); never executed: return qstring_literal_temp; | 0 |
4869 | break; never executed: break; | 0 |
4870 | default: never executed: default: | 0 |
4871 | break; never executed: break; | 0 |
4872 | } | - |
4873 | } | - |
4874 | | - |
4875 | | - |
4876 | | - |
4877 | | - |
4878 | | - |
4879 | | - |
4880 | | - |
4881 | | - |
4882 | | - |
4883 | | - |
4884 | | - |
4885 | | - |
4886 | | - |
4887 | | - |
4888 | | - |
4889 | | - |
4890 | | - |
4891 | | - |
4892 | | - |
4893 | | - |
4894 | void QQuickWindow::setSceneGraphBackend(const QString &backend) | - |
4895 | { | - |
4896 | QSGContext::setBackend(backend); | - |
4897 | }executed 2 times by 1 test: end of block | 2 |
4898 | | - |
4899 | | - |
4900 | | - |
4901 | | - |
4902 | | - |
4903 | | - |
4904 | | - |
4905 | | - |
4906 | | - |
4907 | | - |
4908 | QString QQuickWindow::sceneGraphBackend() | - |
4909 | { | - |
4910 | return 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 |
4911 | } | - |
4912 | | - |
4913 | | - |
4914 | | - |
4915 | | - |
4916 | | - |
4917 | | - |
4918 | | - |
4919 | | - |
4920 | | - |
4921 | QSGRectangleNode *QQuickWindow::createRectangleNode() const | - |
4922 | { | - |
4923 | Q_D(const QQuickWindow); | - |
4924 | return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createRectangleNode() : nullptr; never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createRectangleNode() : nullptr; | 0 |
4925 | } | - |
4926 | | - |
4927 | | - |
4928 | | - |
4929 | | - |
4930 | | - |
4931 | | - |
4932 | | - |
4933 | | - |
4934 | | - |
4935 | QSGImageNode *QQuickWindow::createImageNode() const | - |
4936 | { | - |
4937 | Q_D(const QQuickWindow); | - |
4938 | return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createImageNode() : nullptr; never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createImageNode() : nullptr; | 0 |
4939 | } | - |
4940 | | - |
4941 | | - |
4942 | | - |
4943 | | - |
4944 | | - |
4945 | | - |
4946 | QSGNinePatchNode *QQuickWindow::createNinePatchNode() const | - |
4947 | { | - |
4948 | Q_D(const QQuickWindow); | - |
4949 | return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createNinePatchNode() : nullptr; never executed: return isSceneGraphInitialized() ? d->context->sceneGraphContext()->createNinePatchNode() : nullptr; | 0 |
4950 | } | - |
4951 | | - |
4952 | | - |
4953 | | - |
4954 | | - |
4955 | | - |
4956 | | - |
4957 | | - |
4958 | | - |
4959 | | - |
4960 | QQuickWindow::TextRenderType QQuickWindow::textRenderType() | - |
4961 | { | - |
4962 | return 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 |
4963 | } | - |
4964 | | - |
4965 | | - |
4966 | | - |
4967 | | - |
4968 | | - |
4969 | | - |
4970 | | - |
4971 | | - |
4972 | | - |
4973 | | - |
4974 | | - |
4975 | void QQuickWindow::setTextRenderType(QQuickWindow::TextRenderType renderType) | - |
4976 | { | - |
4977 | QQuickWindowPrivate::textRenderType = renderType; | - |
4978 | }executed 14 times by 2 tests: end of block Executed by:- tst_qqmldebugjs
- tst_qqmlprofilerservice
| 14 |
4979 | | - |
4980 | #ifndef QT_NO_DEBUG_STREAM | - |
4981 | QDebug operator<<(QDebug debug, const QQuickWindow *win) | - |
4982 | { | - |
4983 | QDebugStateSaver saver(debug); | - |
4984 | debug.nospace(); | - |
4985 | if (!win) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4986 | debug << "QQuickWindow(0)"; | - |
4987 | return debug; never executed: return debug; | 0 |
4988 | } | - |
4989 | | - |
4990 | debug << win->metaObject()->className() << '(' << static_cast<const void *>(win); | - |
4991 | if (win->isActive())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4992 | debug << " active"; never executed: debug << " active"; | 0 |
4993 | if (win->isExposed())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4994 | debug << " exposed"; never executed: debug << " exposed"; | 0 |
4995 | debug << ", visibility=" << win->visibility() << ", flags=" << win->flags(); | - |
4996 | if (!win->title().isEmpty())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4997 | debug << ", title=" << win->title(); never executed: debug << ", title=" << win->title(); | 0 |
4998 | if (!win->objectName().isEmpty())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
4999 | debug << ", name=" << win->objectName(); never executed: debug << ", name=" << win->objectName(); | 0 |
5000 | if (win->parent())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
5001 | debug << ", parent=" << static_cast<const void *>(win->parent()); never executed: debug << ", parent=" << static_cast<const void *>(win->parent()); | 0 |
5002 | if (win->transientParent())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
5003 | debug << ", transientParent=" << static_cast<const void *>(win->transientParent()); never executed: debug << ", transientParent=" << static_cast<const void *>(win->transientParent()); | 0 |
5004 | debug << ", geometry="; | - |
5005 | QtDebugUtils::formatQRect(debug, win->geometry()); | - |
5006 | debug << ')'; | - |
5007 | return debug; never executed: return debug; | 0 |
5008 | } | - |
5009 | #endif | - |
5010 | | - |
5011 | #include "moc_qquickwindow.cpp" | - |
5012 | | - |
5013 | QT_END_NAMESPACE | - |
| | |