| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | void QPropertyAnimationPrivate::updateMetaProperty() | - |
| 8 | { | - |
| 9 | if (!target| TRUE | never evaluated | | FALSE | evaluated 3142 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
|| propertyName.isEmpty()| TRUE | evaluated 1034 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 2108 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 0-3142 |
| 10 | propertyType = QVariant::Invalid; | - |
| 11 | propertyIndex = -1; | - |
| 12 | return;executed 1034 times by 23 tests: return;Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1034 |
| 13 | } | - |
| 14 | | - |
| 15 | | - |
| 16 | | - |
| 17 | propertyType = targetValue->property(propertyName).userType(); | - |
| 18 | propertyIndex = targetValue->metaObject()->indexOfProperty(propertyName); | - |
| 19 | | - |
| 20 | if (propertyType != QVariant::Invalid| TRUE | evaluated 2108 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | never evaluated |
) | 0-2108 |
| 21 | convertValues(propertyType);executed 2108 times by 23 tests: convertValues(propertyType);Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 2108 |
| 22 | if (propertyIndex == -1| TRUE | evaluated 181 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 1927 times by 21 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 181-1927 |
| 23 | | - |
| 24 | propertyType = QVariant::Invalid; | - |
| 25 | if (!targetValue->dynamicPropertyNames().contains(propertyName)| TRUE | never evaluated | | FALSE | evaluated 181 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
) | 0-181 |
| 26 | QMessageLogger(__FILE__, 113, __PRETTY_FUNCTION__).warning("QPropertyAnimation: you're trying to animate a non-existing property %s of your QObject", propertyName.constData()); never executed: QMessageLogger(__FILE__, 113, __PRETTY_FUNCTION__).warning("QPropertyAnimation: you're trying to animate a non-existing property %s of your QObject", propertyName.constData()); | 0 |
| 27 | }executed 181 times by 6 tests: end of blockExecuted by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
else if (!targetValue->metaObject()->property(propertyIndex).isWritable()| TRUE | never evaluated | | FALSE | evaluated 1927 times by 21 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 0-1927 |
| 28 | QMessageLogger(__FILE__, 115, __PRETTY_FUNCTION__).warning("QPropertyAnimation: you're trying to animate the non-writable property %s of your QObject", propertyName.constData()); | - |
| 29 | } never executed: end of block | 0 |
| 30 | }executed 2108 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 2108 |
| 31 | | - |
| 32 | void QPropertyAnimationPrivate::updateProperty(const QVariant &newValue) | - |
| 33 | { | - |
| 34 | if (state == QAbstractAnimation::Stopped| TRUE | evaluated 101 times by 4 testsEvaluated by:- tst_QColumnView
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 4012 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) | 101-4012 |
| 35 | return;executed 101 times by 4 tests: return;Executed by:- tst_QColumnView
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 101 |
| 36 | | - |
| 37 | if (!target| TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QLineEdit
- tst_QPropertyAnimation
| | FALSE | evaluated 4010 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 2-4010 |
| 38 | q_func()->stop(); | - |
| 39 | return;executed 2 times by 2 tests: return;Executed by:- tst_QLineEdit
- tst_QPropertyAnimation
| 2 |
| 40 | } | - |
| 41 | | - |
| 42 | if (newValue.userType() == propertyType| TRUE | evaluated 2915 times by 20 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 1095 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
) { | 1095-2915 |
| 43 | | - |
| 44 | | - |
| 45 | int status = -1; | - |
| 46 | int flags = 0; | - |
| 47 | void *argv[] = { const_cast<void *>(newValue.constData()), const_cast<QVariant *>(&newValue), &status, &flags }; | - |
| 48 | QMetaObject::metacall(targetValue, QMetaObject::WriteProperty, propertyIndex, argv); | - |
| 49 | }executed 2915 times by 20 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
else { | 2915 |
| 50 | targetValue->setProperty(propertyName.constData(), newValue); | - |
| 51 | }executed 1095 times by 6 tests: end of blockExecuted by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 1095 |
| 52 | } | - |
| 53 | | - |
| 54 | | - |
| 55 | | - |
| 56 | | - |
| 57 | | - |
| 58 | QPropertyAnimation::QPropertyAnimation(QObject *parent) | - |
| 59 | : QVariantAnimation(*new QPropertyAnimationPrivate, parent) | - |
| 60 | { | - |
| 61 | }executed 111 times by 4 tests: end of blockExecuted by:- tst_QAnimationGroup
- tst_QColumnView
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 111 |
| 62 | QPropertyAnimation::QPropertyAnimation(QObject *target, const QByteArray &propertyName, QObject *parent) | - |
| 63 | : QVariantAnimation(*new QPropertyAnimationPrivate, parent) | - |
| 64 | { | - |
| 65 | setTargetObject(target); | - |
| 66 | setPropertyName(propertyName); | - |
| 67 | }executed 963 times by 22 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 963 |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | QPropertyAnimation::~QPropertyAnimation() | - |
| 73 | { | - |
| 74 | stop(); | - |
| 75 | }executed 1070 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1070 |
| 76 | | - |
| 77 | | - |
| 78 | | - |
| 79 | | - |
| 80 | | - |
| 81 | | - |
| 82 | | - |
| 83 | QObject *QPropertyAnimation::targetObject() const | - |
| 84 | { | - |
| 85 | returnexecuted 898 times by 17 tests: return d_func()->target.data();Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
d_func()->target.data();executed 898 times by 17 tests: return d_func()->target.data();Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 898 |
| 86 | } | - |
| 87 | | - |
| 88 | void QPropertyAnimation::setTargetObject(QObject *target) | - |
| 89 | { | - |
| 90 | QPropertyAnimationPrivate * const d = d_func(); | - |
| 91 | if (d->target.data() == target| TRUE | never evaluated | | FALSE | evaluated 1034 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) | 0-1034 |
| 92 | return; never executed: return; | 0 |
| 93 | | - |
| 94 | if (d->state != QAbstractAnimation::Stopped| TRUE | never evaluated | | FALSE | evaluated 1034 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 0-1034 |
| 95 | QMessageLogger(__FILE__, 190, __PRETTY_FUNCTION__).warning("QPropertyAnimation::setTargetObject: you can't change the target of a running animation"); | - |
| 96 | return; never executed: return; | 0 |
| 97 | } | - |
| 98 | | - |
| 99 | d->target = d->targetValue = target; | - |
| 100 | d->updateMetaProperty(); | - |
| 101 | }executed 1034 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1034 |
| 102 | QByteArray QPropertyAnimation::propertyName() const | - |
| 103 | { | - |
| 104 | const QPropertyAnimationPrivate * const d = d_func(); | - |
| 105 | returnexecuted 46 times by 1 test: return d->propertyName; d->propertyName;executed 46 times by 1 test: return d->propertyName; | 46 |
| 106 | } | - |
| 107 | | - |
| 108 | void QPropertyAnimation::setPropertyName(const QByteArray &propertyName) | - |
| 109 | { | - |
| 110 | QPropertyAnimationPrivate * const d = d_func(); | - |
| 111 | if (d->state != QAbstractAnimation::Stopped| TRUE | never evaluated | | FALSE | evaluated 1034 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 0-1034 |
| 112 | QMessageLogger(__FILE__, 215, __PRETTY_FUNCTION__).warning("QPropertyAnimation::setPropertyName: you can't change the property name of a running animation"); | - |
| 113 | return; never executed: return; | 0 |
| 114 | } | - |
| 115 | | - |
| 116 | d->propertyName = propertyName; | - |
| 117 | d->updateMetaProperty(); | - |
| 118 | }executed 1034 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1034 |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | | - |
| 123 | | - |
| 124 | bool QPropertyAnimation::event(QEvent *event) | - |
| 125 | { | - |
| 126 | returnexecuted 448 times by 17 tests: return QVariantAnimation::event(event);Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
QVariantAnimation::event(event);executed 448 times by 17 tests: return QVariantAnimation::event(event);Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 448 |
| 127 | } | - |
| 128 | void QPropertyAnimation::updateCurrentValue(const QVariant &value) | - |
| 129 | { | - |
| 130 | QPropertyAnimationPrivate * const d = d_func(); | - |
| 131 | d->updateProperty(value); | - |
| 132 | }executed 4113 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 4113 |
| 133 | | - |
| 134 | | - |
| 135 | | - |
| 136 | | - |
| 137 | | - |
| 138 | | - |
| 139 | | - |
| 140 | void QPropertyAnimation::updateState(QAbstractAnimation::State newState, | - |
| 141 | QAbstractAnimation::State oldState) | - |
| 142 | { | - |
| 143 | QPropertyAnimationPrivate * const d = d_func(); | - |
| 144 | | - |
| 145 | if (!d->target| TRUE | evaluated 7 times by 4 testsEvaluated by:- tst_QLineEdit
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| | FALSE | evaluated 2166 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
&& oldState == Stopped| TRUE | never evaluated | | FALSE | evaluated 7 times by 4 testsEvaluated by:- tst_QLineEdit
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
) { | 0-2166 |
| 146 | QMessageLogger(__FILE__, 257, __PRETTY_FUNCTION__).warning("QPropertyAnimation::updateState (%s): Changing state of an animation without target", | - |
| 147 | d->propertyName.constData()); | - |
| 148 | return; never executed: return; | 0 |
| 149 | } | - |
| 150 | | - |
| 151 | QVariantAnimation::updateState(newState, oldState); | - |
| 152 | | - |
| 153 | QPropertyAnimation *animToStop = 0; | - |
| 154 | { | - |
| 155 | | - |
| 156 | static QBasicMutex mutex; | - |
| 157 | QMutexLocker locker(&mutex); | - |
| 158 | | - |
| 159 | typedef QPair<QObject *, QByteArray> QPropertyAnimationPair; | - |
| 160 | typedef QHash<QPropertyAnimationPair, QPropertyAnimation*> QPropertyAnimationHash; | - |
| 161 | static QPropertyAnimationHash hash; | - |
| 162 | | - |
| 163 | | - |
| 164 | QPropertyAnimationPair key(d->targetValue, d->propertyName); | - |
| 165 | if (newState == Running| TRUE | evaluated 1074 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 1099 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 1074-1099 |
| 166 | d->updateMetaProperty(); | - |
| 167 | animToStop = hash.value(key, 0); | - |
| 168 | hash.insert(key, this); | - |
| 169 | locker.unlock(); | - |
| 170 | | - |
| 171 | if (oldState == Stopped| TRUE | evaluated 1070 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
) { | 4-1070 |
| 172 | d->setDefaultStartEndValue(d->targetValue->property(d->propertyName.constData())); | - |
| 173 | | - |
| 174 | if (!startValue().isValid()| TRUE | evaluated 1034 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 36 times by 1 test |
&& (d->direction == Backward| TRUE | never evaluated | | FALSE | evaluated 1034 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
|| !d->defaultStartEndValue.isValid()| TRUE | never evaluated | | FALSE | evaluated 1034 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
)) { | 0-1034 |
| 175 | QMessageLogger(__FILE__, 286, __PRETTY_FUNCTION__).warning("QPropertyAnimation::updateState (%s, %s, %s): starting an animation without start value", | - |
| 176 | d->propertyName.constData(), d->target.data()->metaObject()->className(), | - |
| 177 | QString(d->target.data()->objectName()).toLocal8Bit().constData()); | - |
| 178 | } never executed: end of block | 0 |
| 179 | if (!endValue().isValid()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 1068 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
&& (d->direction == Forward| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
|| !d->defaultStartEndValue.isValid()| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
)) { | 0-1068 |
| 180 | QMessageLogger(__FILE__, 291, __PRETTY_FUNCTION__).warning("QPropertyAnimation::updateState (%s, %s, %s): starting an animation without end value", | - |
| 181 | d->propertyName.constData(), d->target.data()->metaObject()->className(), | - |
| 182 | QString(d->target.data()->objectName()).toLocal8Bit().constData()); | - |
| 183 | } never executed: end of block | 0 |
| 184 | }executed 1070 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1070 |
| 185 | }executed 1074 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
else if (hash.value(key) == this| TRUE | evaluated 1073 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| | FALSE | evaluated 26 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
) { | 26-1074 |
| 186 | hash.remove(key); | - |
| 187 | }executed 1073 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1073 |
| 188 | } | - |
| 189 | | - |
| 190 | | - |
| 191 | if (animToStop| TRUE | evaluated 1 time by 1 test | | FALSE | evaluated 2172 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
) { | 1-2172 |
| 192 | | - |
| 193 | QAbstractAnimation *current = animToStop; | - |
| 194 | while (current->group()| TRUE | never evaluated | | FALSE | evaluated 1 time by 1 test |
&& current->state() != Stopped| TRUE | never evaluated | | FALSE | never evaluated |
) | 0-1 |
| 195 | current = current->group(); never executed: current = current->group(); | 0 |
| 196 | current->stop(); | - |
| 197 | }executed 1 time by 1 test: end of block | 1 |
| 198 | }executed 2173 times by 23 tests: end of blockExecuted by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 2173 |
| 199 | | - |
| 200 | | - |
| 201 | | - |
| | |