| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | void QQuickViewPrivate::init(QQmlEngine* e) | - |
| 10 | { | - |
| 11 | QQuickView * const q = q_func(); | - |
| 12 | | - |
| 13 | engine = e; | - |
| 14 | | - |
| 15 | if (engine.isNull()| TRUE | evaluated 3158 times by 78 testsEvaluated by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| | FALSE | evaluated 46 times by 6 testsEvaluated by:- tst_qqmldebugjs
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickview
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) | 46-3158 |
| 16 | engine = new QQmlEngine(q);executed 3158 times by 78 tests: engine = new QQmlEngine(q);Executed by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| 3158 |
| 17 | | - |
| 18 | QQmlEngine::setContextForObject(contentItem, engine.data()->rootContext()); | - |
| 19 | | - |
| 20 | if (!engine.data()->incubationController()| TRUE | evaluated 3200 times by 83 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 4 times by 1 test |
) | 4-3200 |
| 21 | engine.data()->setIncubationController(q->incubationController());executed 3200 times by 83 tests: engine.data()->setIncubationController(q->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
- ...
| 3200 |
| 22 | | - |
| 23 | { | - |
| 24 | | - |
| 25 | | - |
| 26 | QV4::ExecutionEngine *v4 = engine.data()->handle(); | - |
| 27 | QV4::QObjectWrapper::wrap(v4, contentItem); | - |
| 28 | } | - |
| 29 | }executed 3204 times by 83 tests: end of blockExecuted 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
- ...
| 3204 |
| 30 | | - |
| 31 | QQuickViewPrivate::QQuickViewPrivate() | - |
| 32 | : root(nullptr), component(nullptr), resizeMode(QQuickView::SizeViewToRootObject), initialSize(0,0) | - |
| 33 | { | - |
| 34 | }executed 3204 times by 83 tests: end of blockExecuted 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
- ...
| 3204 |
| 35 | | - |
| 36 | QQuickViewPrivate::~QQuickViewPrivate() | - |
| 37 | { | - |
| 38 | } | - |
| 39 | | - |
| 40 | void QQuickViewPrivate::execute() | - |
| 41 | { | - |
| 42 | QQuickView * const q = q_func(); | - |
| 43 | if (!engine| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 10688 times by 80 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
|
) { | 2-10688 |
| 44 | QMessageLogger(__FILE__, 91, __PRETTY_FUNCTION__).warning() << "QQuickView: invalid qml engine."; | - |
| 45 | return;executed 2 times by 1 test: return; | 2 |
| 46 | } | - |
| 47 | | - |
| 48 | if (root| TRUE | evaluated 2666 times by 6 testsEvaluated by:- tst_qqmlimport
- tst_qquickborderimage
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktext
| | FALSE | evaluated 8022 times by 80 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
|
) { | 2666-8022 |
| 49 | delete root; | - |
| 50 | root = nullptr; | - |
| 51 | }executed 2666 times by 6 tests: end of blockExecuted by:- tst_qqmlimport
- tst_qquickborderimage
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktext
| 2666 |
| 52 | if (component| TRUE | evaluated 2666 times by 6 testsEvaluated by:- tst_qqmlimport
- tst_qquickborderimage
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktext
| | FALSE | evaluated 8022 times by 80 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
|
) { | 2666-8022 |
| 53 | delete component; | - |
| 54 | component = nullptr; | - |
| 55 | }executed 2666 times by 6 tests: end of blockExecuted by:- tst_qqmlimport
- tst_qquickborderimage
- tst_qquickgridview
- tst_qquickimage
- tst_qquicklistview
- tst_qquicktext
| 2666 |
| 56 | if (!source.isEmpty()| TRUE | evaluated 5628 times by 80 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| | FALSE | evaluated 5060 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) { | 5060-5628 |
| 57 | QQmlMemoryScope _qml_memory_scope(engine.data()->baseUrl().resolved(source)); | - |
| 58 | component = new QQmlComponent(engine.data(), source, q); | - |
| 59 | if (!component->isLoading()| TRUE | evaluated 5622 times by 80 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| | FALSE | evaluated 6 times by 1 test |
) { | 6-5622 |
| 60 | q->continueExecute(); | - |
| 61 | }executed 5622 times by 80 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
else { | 5622 |
| 62 | QObject::connect(component, qFlagLocation("2""statusChanged(QQmlComponent::Status)" "\0" __FILE__ ":" "109"), | - |
| 63 | q, qFlagLocation("1""continueExecute()" "\0" __FILE__ ":" "110")); | - |
| 64 | }executed 6 times by 1 test: end of block | 6 |
| 65 | } | - |
| 66 | }executed 10688 times by 80 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| 10688 |
| 67 | | - |
| 68 | void QQuickViewPrivate::itemGeometryChanged(QQuickItem *resizeItem, QQuickGeometryChange change, | - |
| 69 | const QRectF &oldGeometry) | - |
| 70 | { | - |
| 71 | QQuickView * const q = q_func(); | - |
| 72 | if (resizeItem == root| TRUE | evaluated 188 times by 10 testsEvaluated by:- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| | FALSE | never evaluated |
&& resizeMode == QQuickView::SizeViewToRootObject| TRUE | evaluated 188 times by 10 testsEvaluated by:- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| | FALSE | never evaluated |
) { | 0-188 |
| 73 | | - |
| 74 | resizetimer.start(0,q); | - |
| 75 | }executed 188 times by 10 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| 188 |
| 76 | QQuickItemChangeListener::itemGeometryChanged(resizeItem, change, oldGeometry); | - |
| 77 | }executed 188 times by 10 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| 188 |
| 78 | QQuickView::QQuickView(QWindow *parent) | - |
| 79 | : QQuickWindow(*(new QQuickViewPrivate), parent) | - |
| 80 | { | - |
| 81 | d_func()->init(); | - |
| 82 | }executed 3158 times by 78 tests: end of blockExecuted by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickanimations
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| 3158 |
| 83 | | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | | - |
| 88 | | - |
| 89 | QQuickView::QQuickView(const QUrl &source, QWindow *parent) | - |
| 90 | : QQuickView(parent) | - |
| 91 | { | - |
| 92 | setSource(source); | - |
| 93 | }executed 306 times by 8 tests: end of blockExecuted by:- tst_qquickanchors
- tst_qquickdynamicpropertyanimation
- tst_qquickfontloader
- tst_qquickimage
- tst_qquickspringanimation
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
| 306 |
| 94 | QQuickView::QQuickView(QQmlEngine* engine, QWindow *parent) | - |
| 95 | : QQuickWindow(*(new QQuickViewPrivate), parent) | - |
| 96 | { | - |
| 97 | ((engine) ? static_cast<void>(0) : qt_assert("engine", __FILE__, 192)); | - |
| 98 | d_func()->init(engine); | - |
| 99 | }executed 46 times by 6 tests: end of blockExecuted by:- tst_qqmldebugjs
- tst_qquickanimationcontroller
- tst_qquicklayouts
- tst_qquickview
- tst_quicktestmainwithsetup
- tst_testfiltering
| 46 |
| 100 | | - |
| 101 | | - |
| 102 | | - |
| 103 | | - |
| 104 | QQuickView::QQuickView(const QUrl &source, QQuickRenderControl *control) | - |
| 105 | : QQuickWindow(*(new QQuickViewPrivate), control) | - |
| 106 | { | - |
| 107 | d_func()->init(); | - |
| 108 | setSource(source); | - |
| 109 | } never executed: end of block | 0 |
| 110 | | - |
| 111 | | - |
| 112 | | - |
| 113 | | - |
| 114 | QQuickView::~QQuickView() | - |
| 115 | { | - |
| 116 | | - |
| 117 | | - |
| 118 | QQuickViewPrivate * const d = d_func(); | - |
| 119 | delete d->root; | - |
| 120 | d->root = nullptr; | - |
| 121 | }executed 3192 times by 83 tests: end of blockExecuted 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
- ...
| 3192 |
| 122 | void QQuickView::setSource(const QUrl& url) | - |
| 123 | { | - |
| 124 | QQuickViewPrivate * const d = d_func(); | - |
| 125 | d->source = url; | - |
| 126 | d->execute(); | - |
| 127 | }executed 10690 times by 80 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| 10690 |
| 128 | | - |
| 129 | | - |
| 130 | | - |
| 131 | | - |
| 132 | | - |
| 133 | | - |
| 134 | void QQuickView::setContent(const QUrl& url, QQmlComponent *component, QObject* item) | - |
| 135 | { | - |
| 136 | QQuickViewPrivate * const d = d_func(); | - |
| 137 | d->source = url; | - |
| 138 | d->component = component; | - |
| 139 | | - |
| 140 | if (d->component| TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquickfontloader_static
- tst_qquicklistview
| | FALSE | never evaluated |
&& d->component->isError()| TRUE | never evaluated | | FALSE | evaluated 16 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquickfontloader_static
- tst_qquicklistview
|
) { | 0-16 |
| 141 | const QList<QQmlError> errorList = d->component->errors(); | - |
| 142 | for (const QQmlError &error : errorList) { | - |
| 143 | QMessageLogger(error.url().toString().toLatin1().constData(), error.line(), nullptr).warning() | - |
| 144 | << error; | - |
| 145 | } never executed: end of block | 0 |
| 146 | statusChanged(status()); | - |
| 147 | return; never executed: return; | 0 |
| 148 | } | - |
| 149 | | - |
| 150 | d->setRootObject(item); | - |
| 151 | statusChanged(status()); | - |
| 152 | }executed 16 times by 3 tests: end of blockExecuted by:- tst_qqmldebugjs
- tst_qquickfontloader_static
- tst_qquicklistview
| 16 |
| 153 | | - |
| 154 | | - |
| 155 | | - |
| 156 | | - |
| 157 | | - |
| 158 | | - |
| 159 | QUrl QQuickView::source() const | - |
| 160 | { | - |
| 161 | const QQuickViewPrivate * const d = d_func(); | - |
| 162 | return never executed: return d->source; d->source;never executed: return d->source; | 0 |
| 163 | } | - |
| 164 | | - |
| 165 | | - |
| 166 | | - |
| 167 | | - |
| 168 | | - |
| 169 | QQmlEngine* QQuickView::engine() const | - |
| 170 | { | - |
| 171 | const QQuickViewPrivate * const d = d_func(); | - |
| 172 | returnexecuted 200 times by 16 tests: return d->engine ? const_cast<QQmlEngine *>(d->engine.data()) : nullptr;Executed by:- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_quicktestmainwithsetup
- tst_testfiltering
d->engine ? const_cast<QQmlEngine *>(d->engine.data()) : nullptr;executed 200 times by 16 tests: return d->engine ? const_cast<QQmlEngine *>(d->engine.data()) : nullptr;Executed by:- tst_qqmlimport
- tst_qqmltypeloader
- tst_qquickanimatedsprite
- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickfontloader_static
- tst_qquickgridview
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
- tst_quicktestmainwithsetup
- tst_testfiltering
| 200 |
| 173 | } | - |
| 174 | QQmlContext* QQuickView::rootContext() const | - |
| 175 | { | - |
| 176 | const QQuickViewPrivate * const d = d_func(); | - |
| 177 | returnexecuted 3666 times by 19 tests: return d->engine ? d->engine.data()->rootContext() : nullptr;Executed by:- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
d->engine ? d->engine.data()->rootContext() : nullptr;executed 3666 times by 19 tests: return d->engine ? d->engine.data()->rootContext() : nullptr;Executed by:- tst_qquickanimationcontroller
- tst_qquickdesignersupport
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquicktext
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_scenegraph
- tst_testfiltering
| 3666 |
| 178 | } | - |
| 179 | QQuickView::Status QQuickView::status() const | - |
| 180 | { | - |
| 181 | const QQuickViewPrivate * const d = d_func(); | - |
| 182 | if (!d->engine| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 7124 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
|
) | 2-7124 |
| 183 | returnexecuted 2 times by 1 test: return QQuickView::Error; QQuickView::Error;executed 2 times by 1 test: return QQuickView::Error; | 2 |
| 184 | | - |
| 185 | if (!d->component| TRUE | never evaluated | | FALSE | evaluated 7124 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
|
) | 0-7124 |
| 186 | return never executed: return QQuickView::Null; QQuickView::Null;never executed: return QQuickView::Null; | 0 |
| 187 | | - |
| 188 | if (d->component->status() == QQmlComponent::Ready| TRUE | evaluated 7054 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| | FALSE | evaluated 70 times by 3 testsEvaluated by:- tst_qqmlimport
- tst_qquicktextedit
- tst_qquickview
|
&& !d->root| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 7050 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
|
) | 4-7054 |
| 189 | returnexecuted 4 times by 1 test: return QQuickView::Error; QQuickView::Error;executed 4 times by 1 test: return QQuickView::Error; | 4 |
| 190 | | - |
| 191 | returnexecuted 7120 times by 82 tests: return QQuickView::Status(d->component->status());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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
QQuickView::Status(d->component->status());executed 7120 times by 82 tests: return QQuickView::Status(d->component->status());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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| 7120 |
| 192 | } | - |
| 193 | | - |
| 194 | | - |
| 195 | | - |
| 196 | | - |
| 197 | | - |
| 198 | QList<QQmlError> QQuickView::errors() const | - |
| 199 | { | - |
| 200 | const QQuickViewPrivate * const d = d_func(); | - |
| 201 | QList<QQmlError> errs; | - |
| 202 | | - |
| 203 | if (d->component| TRUE | evaluated 30 times by 3 testsEvaluated by:- tst_qqmlimport
- tst_qquickdesignersupport
- tst_qquickview
| | FALSE | evaluated 6 times by 1 test |
) | 6-30 |
| 204 | errs = d->component->errors();executed 30 times by 3 tests: errs = d->component->errors();Executed by:- tst_qqmlimport
- tst_qquickdesignersupport
- tst_qquickview
| 30 |
| 205 | | - |
| 206 | if (!d->engine| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 32 times by 3 testsEvaluated by:- tst_qqmlimport
- tst_qquickdesignersupport
- tst_qquickview
|
) { | 4-32 |
| 207 | QQmlError error; | - |
| 208 | error.setDescription(QLatin1String("QQuickView: invalid qml engine.")); | - |
| 209 | errs << error; | - |
| 210 | }executed 4 times by 1 test: end of block else if (d->component| TRUE | evaluated 30 times by 3 testsEvaluated by:- tst_qqmlimport
- tst_qquickdesignersupport
- tst_qquickview
| | FALSE | evaluated 2 times by 1 test |
&& d->component->status() == QQmlComponent::Ready| TRUE | evaluated 26 times by 3 testsEvaluated by:- tst_qqmlimport
- tst_qquickdesignersupport
- tst_qquickview
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qqmlimport
- tst_qquickview
|
&& !d->root| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 24 times by 2 testsEvaluated by:- tst_qqmlimport
- tst_qquickdesignersupport
|
) { | 2-30 |
| 211 | QQmlError error; | - |
| 212 | error.setDescription(QLatin1String("QQuickView: invalid root object.")); | - |
| 213 | errs << error; | - |
| 214 | }executed 2 times by 1 test: end of block | 2 |
| 215 | | - |
| 216 | returnexecuted 36 times by 3 tests: return errs;Executed by:- tst_qqmlimport
- tst_qquickdesignersupport
- tst_qquickview
errs;executed 36 times by 3 tests: return errs;Executed by:- tst_qqmlimport
- tst_qquickdesignersupport
- tst_qquickview
| 36 |
| 217 | } | - |
| 218 | void QQuickView::setResizeMode(ResizeMode mode) | - |
| 219 | { | - |
| 220 | QQuickViewPrivate * const d = d_func(); | - |
| 221 | if (d->resizeMode == mode| TRUE | evaluated 44 times by 4 testsEvaluated by:- tst_drawingmodes
- tst_qquickview
- tst_rendernode
- tst_scenegraph
| | FALSE | evaluated 18 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
) | 18-44 |
| 222 | return;executed 44 times by 4 tests: return;Executed by:- tst_drawingmodes
- tst_qquickview
- tst_rendernode
- tst_scenegraph
| 44 |
| 223 | | - |
| 224 | if (d->root| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
) { | 4-14 |
| 225 | if (d->resizeMode == SizeViewToRootObject| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 2 times by 1 test |
) { | 2 |
| 226 | QQuickItemPrivate *p = QQuickItemPrivate::get(d->root); | - |
| 227 | p->removeItemChangeListener(d, QQuickItemPrivate::Geometry); | - |
| 228 | }executed 2 times by 1 test: end of block | 2 |
| 229 | }executed 4 times by 1 test: end of block | 4 |
| 230 | | - |
| 231 | d->resizeMode = mode; | - |
| 232 | if (d->root| TRUE | evaluated 4 times by 1 test | | FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
) { | 4-14 |
| 233 | d->initResize(); | - |
| 234 | }executed 4 times by 1 test: end of block | 4 |
| 235 | }executed 18 times by 3 tests: end of blockExecuted by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
| 18 |
| 236 | | - |
| 237 | void QQuickViewPrivate::initResize() | - |
| 238 | { | - |
| 239 | if (root| TRUE | evaluated 5638 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| | FALSE | never evaluated |
) { | 0-5638 |
| 240 | if (resizeMode == QQuickView::SizeViewToRootObject| TRUE | evaluated 5622 times by 81 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| | FALSE | evaluated 16 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
) { | 16-5622 |
| 241 | QQuickItemPrivate *p = QQuickItemPrivate::get(root); | - |
| 242 | p->addItemChangeListener(this, QQuickItemPrivate::Geometry); | - |
| 243 | }executed 5622 times by 81 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| 5622 |
| 244 | }executed 5638 times by 82 tests: end of blockExecuted 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| 5638 |
| 245 | updateSize(); | - |
| 246 | }executed 5638 times by 82 tests: end of blockExecuted 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| 5638 |
| 247 | | - |
| 248 | void QQuickViewPrivate::updateSize() | - |
| 249 | { | - |
| 250 | QQuickView * const q = q_func(); | - |
| 251 | if (!root| TRUE | never evaluated | | FALSE | evaluated 5711 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
|
) | 0-5711 |
| 252 | return; never executed: return; | 0 |
| 253 | | - |
| 254 | if (resizeMode == QQuickView::SizeViewToRootObject| TRUE | evaluated 5674 times by 81 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| | FALSE | evaluated 37 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
) { | 37-5674 |
| 255 | QSize newSize = QSize(root->width(), root->height()); | - |
| 256 | if (newSize.isValid()| TRUE | evaluated 5674 times by 81 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| | FALSE | never evaluated |
&& newSize != q->size()| TRUE | evaluated 44 times by 5 testsEvaluated by:- tst_qquickgridview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| | FALSE | evaluated 5630 times by 81 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
|
) { | 0-5674 |
| 257 | q->resize(newSize); | - |
| 258 | }executed 44 times by 5 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| 44 |
| 259 | }executed 5674 times by 81 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
else if (resizeMode == QQuickView::SizeRootObjectToView| TRUE | evaluated 37 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
| | FALSE | never evaluated |
) { | 0-5674 |
| 260 | bool needToUpdateWidth = !qFuzzyCompare(q->width(), root->width()); | - |
| 261 | bool needToUpdateHeight = !qFuzzyCompare(q->height(), root->height()); | - |
| 262 | | - |
| 263 | if (needToUpdateWidth| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qquicklistview
- tst_qquickview
| | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
&& needToUpdateHeight| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qquicklistview
- tst_qquickview
| | FALSE | evaluated 2 times by 1 test |
) | 2-25 |
| 264 | root->setSize(QSizeF(q->width(), q->height()));executed 10 times by 2 tests: root->setSize(QSizeF(q->width(), q->height()));Executed by:- tst_qquicklistview
- tst_qquickview
| 10 |
| 265 | else if (needToUpdateWidth| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
) | 2-25 |
| 266 | root->setWidth(q->width());executed 2 times by 1 test: root->setWidth(q->width()); | 2 |
| 267 | else if (needToUpdateHeight| TRUE | never evaluated | | FALSE | evaluated 25 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
) | 0-25 |
| 268 | root->setHeight(q->height()); never executed: root->setHeight(q->height()); | 0 |
| 269 | }executed 37 times by 3 tests: end of blockExecuted by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
| 37 |
| 270 | }executed 5711 times by 82 tests: end of blockExecuted 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| 5711 |
| 271 | | - |
| 272 | QSize QQuickViewPrivate::rootObjectSize() const | - |
| 273 | { | - |
| 274 | QSize rootObjectSize(0,0); | - |
| 275 | int widthCandidate = -1; | - |
| 276 | int heightCandidate = -1; | - |
| 277 | if (root| TRUE | evaluated 5650 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| | FALSE | never evaluated |
) { | 0-5650 |
| 278 | widthCandidate = root->width(); | - |
| 279 | heightCandidate = root->height(); | - |
| 280 | }executed 5650 times by 82 tests: end of blockExecuted 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| 5650 |
| 281 | if (widthCandidate > 0| TRUE | evaluated 5460 times by 75 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| | FALSE | evaluated 190 times by 19 testsEvaluated by:- tst_qqmldebugjs
- tst_qquickaccessible
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickopenglinfo
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickrectangle
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 190-5460 |
| 282 | rootObjectSize.setWidth(widthCandidate); | - |
| 283 | }executed 5460 times by 75 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 5460 |
| 284 | if (heightCandidate > 0| TRUE | evaluated 5460 times by 75 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| | FALSE | evaluated 190 times by 19 testsEvaluated by:- tst_qqmldebugjs
- tst_qquickaccessible
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickopenglinfo
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickrectangle
- tst_qquickrepeater
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_testfiltering
|
) { | 190-5460 |
| 285 | rootObjectSize.setHeight(heightCandidate); | - |
| 286 | }executed 5460 times by 75 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 5460 |
| 287 | returnexecuted 5650 times by 82 tests: return rootObjectSize;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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
rootObjectSize;executed 5650 times by 82 tests: return rootObjectSize;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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| 5650 |
| 288 | } | - |
| 289 | | - |
| 290 | QQuickView::ResizeMode QQuickView::resizeMode() const | - |
| 291 | { | - |
| 292 | const QQuickViewPrivate * const d = d_func(); | - |
| 293 | return never executed: return d->resizeMode; d->resizeMode;never executed: return d->resizeMode; | 0 |
| 294 | } | - |
| 295 | | - |
| 296 | | - |
| 297 | | - |
| 298 | | - |
| 299 | void QQuickView::continueExecute() | - |
| 300 | { | - |
| 301 | QQuickViewPrivate * const d = d_func(); | - |
| 302 | disconnect(d->component, qFlagLocation("2""statusChanged(QQmlComponent::Status)" "\0" __FILE__ ":" "465"), this, qFlagLocation("1""continueExecute()" "\0" __FILE__ ":" "465")); | - |
| 303 | | - |
| 304 | if (d->component->isError()| TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_qqmlimport
- tst_qquicktextedit
- tst_qquickview
| | FALSE | evaluated 5620 times by 80 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
|
) { | 8-5620 |
| 305 | const QList<QQmlError> errorList = d->component->errors(); | - |
| 306 | for (const QQmlError &error : errorList) { | - |
| 307 | QMessageLogger(error.url().toString().toLatin1().constData(), error.line(), nullptr).warning() | - |
| 308 | << error; | - |
| 309 | }executed 12 times by 3 tests: end of blockExecuted by:- tst_qqmlimport
- tst_qquicktextedit
- tst_qquickview
| 12 |
| 310 | statusChanged(status()); | - |
| 311 | return;executed 8 times by 3 tests: return;Executed by:- tst_qqmlimport
- tst_qquicktextedit
- tst_qquickview
| 8 |
| 312 | } | - |
| 313 | | - |
| 314 | QObject *obj = d->component->create(); | - |
| 315 | | - |
| 316 | if (d->component->isError()| TRUE | never evaluated | | FALSE | evaluated 5620 times by 80 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
|
) { | 0-5620 |
| 317 | const QList<QQmlError> errorList = d->component->errors(); | - |
| 318 | for (const QQmlError &error : errorList) { | - |
| 319 | QMessageLogger(error.url().toString().toLatin1().constData(), error.line(), nullptr).warning() | - |
| 320 | << error; | - |
| 321 | } never executed: end of block | 0 |
| 322 | statusChanged(status()); | - |
| 323 | return; never executed: return; | 0 |
| 324 | } | - |
| 325 | | - |
| 326 | d->setRootObject(obj); | - |
| 327 | statusChanged(status()); | - |
| 328 | }executed 5620 times by 80 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| 5620 |
| 329 | | - |
| 330 | | - |
| 331 | | - |
| 332 | | - |
| 333 | | - |
| 334 | void QQuickViewPrivate::setRootObject(QObject *obj) | - |
| 335 | { | - |
| 336 | QQuickView * const q = q_func(); | - |
| 337 | if (root == obj| TRUE | never evaluated | | FALSE | evaluated 5636 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
|
) | 0-5636 |
| 338 | return; never executed: return; | 0 |
| 339 | if (QQuickItem *sgItem = qobject_cast<QQuickItem *>(obj)| TRUE | evaluated 5634 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| | FALSE | evaluated 2 times by 1 test |
) { | 2-5634 |
| 340 | root = sgItem; | - |
| 341 | sgItem->setParentItem(q->QQuickWindow::contentItem()); | - |
| 342 | QQml_setParent_noEvent(sgItem, q->QQuickWindow::contentItem()); | - |
| 343 | }executed 5634 times by 82 tests: end of blockExecuted 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
else if (qobject_cast<QWindow *>(obj)| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-5634 |
| 344 | QMessageLogger(__FILE__, 507, __PRETTY_FUNCTION__).warning() << "QQuickView does not support using windows as a root item." << endl | - |
| 345 | << endl | - |
| 346 | << "If you wish to create your root window from QML, consider using QQmlApplicationEngine instead." << endl; | - |
| 347 | }executed 2 times by 1 test: end of block else { | 2 |
| 348 | QMessageLogger(__FILE__, 511, __PRETTY_FUNCTION__).warning() << "QQuickView only supports loading of root objects that derive from QQuickItem." << endl | - |
| 349 | << endl | - |
| 350 | << "Ensure your QML code is written for QtQuick 2, and uses a root that is or" << endl | - |
| 351 | << "inherits from QtQuick's Item (not a Timer, QtObject, etc)." << endl; | - |
| 352 | delete obj; | - |
| 353 | root = nullptr; | - |
| 354 | } never executed: end of block | 0 |
| 355 | if (root| TRUE | evaluated 5634 times by 82 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| | FALSE | evaluated 2 times by 1 test |
) { | 2-5634 |
| 356 | initialSize = rootObjectSize(); | - |
| 357 | if ((resizeMode == QQuickView::SizeViewToRootObject| TRUE | evaluated 5620 times by 81 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- ...
| | FALSE | evaluated 14 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
|
|| q->width() <= 1| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmldebugjs
- tst_qquickview
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qquicklistview
- tst_qquickview
|
|| q->height() <= 1| TRUE | never evaluated | | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_qquicklistview
- tst_qquickview
|
) && | 0-5620 |
| 358 | initialSize != q->size()| TRUE | evaluated 2578 times by 75 testsEvaluated by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| | FALSE | evaluated 3052 times by 25 testsEvaluated by:- tst_qqmldebugjs
- tst_qqmlimport
- tst_qquickaccessible
- tst_qquickborderimage
- tst_qquickdynamicpropertyanimation
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickgraphicsinfo
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickopenglinfo
- tst_qquickparticlesystem
- tst_qquickpathview
- tst_qquickpincharea
- tst_qquickrectangle
- tst_qquickrepeater
- tst_qquicktext
- tst_qquickvisualdatamodel
- tst_quicktestmainwithsetup
- tst_signalspy
- tst_testfiltering
|
) { | 2578-3052 |
| 359 | q->resize(initialSize); | - |
| 360 | }executed 2578 times by 75 tests: end of blockExecuted by:- tst_drawingmodes
- 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickfontloader_static
- tst_qquickframebufferobject
- ...
| 2578 |
| 361 | initResize(); | - |
| 362 | }executed 5634 times by 82 tests: end of blockExecuted 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| 5634 |
| 363 | }executed 5636 times by 82 tests: end of blockExecuted 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_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- ...
| 5636 |
| 364 | | - |
| 365 | | - |
| 366 | | - |
| 367 | | - |
| 368 | | - |
| 369 | | - |
| 370 | void QQuickView::timerEvent(QTimerEvent* e) | - |
| 371 | { | - |
| 372 | QQuickViewPrivate * const d = d_func(); | - |
| 373 | if (!e| TRUE | never evaluated | | FALSE | evaluated 52 times by 6 testsEvaluated by:- tst_qquickgridview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
|
|| e->timerId() == d->resizetimer.timerId()| TRUE | evaluated 52 times by 6 testsEvaluated by:- tst_qquickgridview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| | FALSE | never evaluated |
) { | 0-52 |
| 374 | d->updateSize(); | - |
| 375 | d->resizetimer.stop(); | - |
| 376 | }executed 52 times by 6 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| 52 |
| 377 | }executed 52 times by 6 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquicktextedit
- tst_qquicktextinput
- tst_qquickview
| 52 |
| 378 | | - |
| 379 | | - |
| 380 | | - |
| 381 | | - |
| 382 | | - |
| 383 | QSize QQuickView::sizeHint() const | - |
| 384 | { | - |
| 385 | const QQuickViewPrivate * const d = d_func(); | - |
| 386 | QSize rootObjectSize = d->rootObjectSize(); | - |
| 387 | if (rootObjectSize.isEmpty()| TRUE | never evaluated | | FALSE | evaluated 16 times by 1 test |
) { | 0-16 |
| 388 | return never executed: return size(); size();never executed: return size(); | 0 |
| 389 | } else { | - |
| 390 | returnexecuted 16 times by 1 test: return rootObjectSize; rootObjectSize;executed 16 times by 1 test: return rootObjectSize; | 16 |
| 391 | } | - |
| 392 | } | - |
| 393 | QSize QQuickView::initialSize() const | - |
| 394 | { | - |
| 395 | const QQuickViewPrivate * const d = d_func(); | - |
| 396 | returnexecuted 10 times by 1 test: return d->initialSize; d->initialSize;executed 10 times by 1 test: return d->initialSize; | 10 |
| 397 | } | - |
| 398 | | - |
| 399 | | - |
| 400 | | - |
| 401 | | - |
| 402 | QQuickItem *QQuickView::rootObject() const | - |
| 403 | { | - |
| 404 | const QQuickViewPrivate * const d = d_func(); | - |
| 405 | returnexecuted 16939 times by 68 tests: return d->root;Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgraphicsinfo
- ...
d->root;executed 16939 times by 68 tests: return d->root;Executed by:- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmltypeloader
- tst_qquickaccessible
- tst_qquickage
- tst_qquickanchors
- tst_qquickangleddirection
- tst_qquickanimatedimage
- tst_qquickanimatedsprite
- tst_qquickapplication
- tst_qquickborderimage
- tst_qquickcumulativedirection
- tst_qquickcustomaffector
- tst_qquickcustomparticle
- tst_qquickdesignersupport
- tst_qquickdraghandler
- tst_qquickdynamicpropertyanimation
- tst_qquickellipseextruder
- tst_qquickflickable
- tst_qquickflipable
- tst_qquickfocusscope
- tst_qquickfontloader
- tst_qquickframebufferobject
- tst_qquickfriction
- tst_qquickgraphicsinfo
- ...
| 16939 |
| 406 | } | - |
| 407 | | - |
| 408 | | - |
| 409 | | - |
| 410 | | - |
| 411 | | - |
| 412 | | - |
| 413 | void QQuickView::resizeEvent(QResizeEvent *e) | - |
| 414 | { | - |
| 415 | QQuickViewPrivate * const d = d_func(); | - |
| 416 | if (d->resizeMode == SizeRootObjectToView| TRUE | evaluated 21 times by 3 testsEvaluated by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
| | FALSE | evaluated 2765 times by 72 testsEvaluated by:- tst_drawingmodes
- 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_qquickgraphicsinfo
- tst_qquickgravity
- tst_qquickgridview
- tst_qquickgroupgoal
- ...
|
) | 21-2765 |
| 417 | d->updateSize();executed 21 times by 3 tests: d->updateSize();Executed by:- tst_qqmldebugjs
- tst_qquicklistview
- tst_qquickview
| 21 |
| 418 | | - |
| 419 | QQuickWindow::resizeEvent(e); | - |
| 420 | }executed 2786 times by 73 tests: end of blockExecuted by:- tst_drawingmodes
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmldebugjs
- 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_qquickgraphicsinfo
- tst_qquickgravity
- tst_qquickgridview
- ...
| 2786 |
| 421 | | - |
| 422 | | - |
| 423 | void QQuickView::keyPressEvent(QKeyEvent *e) | - |
| 424 | { | - |
| 425 | QQuickWindow::keyPressEvent(e); | - |
| 426 | }executed 1072 times by 7 tests: end of blockExecuted by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| 1072 |
| 427 | | - |
| 428 | | - |
| 429 | void QQuickView::keyReleaseEvent(QKeyEvent *e) | - |
| 430 | { | - |
| 431 | QQuickWindow::keyReleaseEvent(e); | - |
| 432 | }executed 786 times by 7 tests: end of blockExecuted by:- tst_qquickfocusscope
- tst_qquickgridview
- tst_qquickitem
- tst_qquickitem2
- tst_qquicklistview
- tst_qquicktextedit
- tst_qquicktextinput
| 786 |
| 433 | | - |
| 434 | | - |
| 435 | void QQuickView::mouseMoveEvent(QMouseEvent *e) | - |
| 436 | { | - |
| 437 | QQuickWindow::mouseMoveEvent(e); | - |
| 438 | }executed 6326 times by 14 tests: end of blockExecuted 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
| 6326 |
| 439 | | - |
| 440 | | - |
| 441 | void QQuickView::mousePressEvent(QMouseEvent *e) | - |
| 442 | { | - |
| 443 | QQuickWindow::mousePressEvent(e); | - |
| 444 | }executed 1752 times by 14 tests: end of blockExecuted 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
| 1752 |
| 445 | | - |
| 446 | | - |
| 447 | void QQuickView::mouseReleaseEvent(QMouseEvent *e) | - |
| 448 | { | - |
| 449 | QQuickWindow::mouseReleaseEvent(e); | - |
| 450 | }executed 1740 times by 14 tests: end of blockExecuted 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
| 1740 |
| 451 | | - |
| 452 | | - |
| 453 | | - |
| 454 | | - |
| | |