Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
66 | | - |
67 | | - |
68 | | - |
69 | | - |
70 | | - |
71 | | - |
72 | | - |
73 | | - |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
93 | | - |
94 | | - |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | | - |
103 | | - |
104 | | - |
105 | | - |
106 | | - |
107 | | - |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
122 | | - |
123 | | - |
124 | | - |
125 | | - |
126 | | - |
127 | | - |
128 | | - |
129 | | - |
130 | | - |
131 | | - |
132 | | - |
133 | | - |
134 | | - |
135 | | - |
136 | | - |
137 | | - |
138 | #include "qabstractanimation.h" | - |
139 | #include "qanimationgroup.h" | - |
140 | | - |
141 | #include <QtCore/qdebug.h> | - |
142 | | - |
143 | #include "qabstractanimation_p.h" | - |
144 | | - |
145 | #include <QtCore/qmath.h> | - |
146 | #include <QtCore/qthreadstorage.h> | - |
147 | #include <QtCore/qcoreevent.h> | - |
148 | #include <QtCore/qpointer.h> | - |
149 | | - |
150 | #ifndef QT_NO_ANIMATION | - |
151 | | - |
152 | #define DEFAULT_TIMER_INTERVAL 16 | - |
153 | #define PAUSE_TIMER_COARSE_THRESHOLD 2000 | - |
154 | | - |
155 | QT_BEGIN_NAMESPACE | - |
156 | | - |
157 | typedef QList<QAbstractAnimationTimer*>::ConstIterator TimerListConstIt; | - |
158 | typedef QList<QAbstractAnimation*>::ConstIterator AnimationListConstIt; | - |
159 | | - |
160 | | - |
161 | | - |
162 | | - |
163 | | - |
164 | | - |
165 | | - |
166 | | - |
167 | | - |
168 | | - |
169 | | - |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
176 | | - |
177 | | - |
178 | | - |
179 | | - |
180 | | - |
181 | | - |
182 | | - |
183 | | - |
184 | | - |
185 | | - |
186 | | - |
187 | | - |
188 | | - |
189 | | - |
190 | | - |
191 | | - |
192 | | - |
193 | | - |
194 | | - |
195 | | - |
196 | | - |
197 | | - |
198 | | - |
199 | | - |
200 | | - |
201 | | - |
202 | | - |
203 | | - |
204 | | - |
205 | | - |
206 | | - |
207 | | - |
208 | | - |
209 | | - |
210 | | - |
211 | | - |
212 | #ifndef QT_NO_THREAD | - |
213 | Q_GLOBAL_STATIC(QThreadStorage<QUnifiedTimer *>, unifiedTimer)executed 28 times by 28 tests: end of block Executed by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
executed 28 times by 28 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
executed 9634 times by 54 tests: return &holder.value; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
TRUE | evaluated 28 times by 28 testsEvaluated by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
| FALSE | never evaluated |
| 0-9634 |
214 | #endif | - |
215 | | - |
216 | QUnifiedTimer::QUnifiedTimer() : | - |
217 | QObject(), defaultDriver(this), lastTick(0), timingInterval(DEFAULT_TIMER_INTERVAL), | - |
218 | currentAnimationIdx(0), insideTick(false), insideRestart(false), consistentTiming(false), slowMode(false), | - |
219 | startTimersPending(false), stopTimerPending(false), | - |
220 | slowdownFactor(5.0f), profilerCallback(0), | - |
221 | driverStartTime(0), temporalDrift(0) | - |
222 | { | - |
223 | time.invalidate(); | - |
224 | driver = &defaultDriver; | - |
225 | }executed 26 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 26 |
226 | | - |
227 | | - |
228 | QUnifiedTimer *QUnifiedTimer::instance(bool create) | - |
229 | { | - |
230 | QUnifiedTimer *inst; | - |
231 | #ifndef QT_NO_THREAD | - |
232 | if (create && !unifiedTimer()->hasLocalData()) {TRUE | evaluated 2356 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 1296 times by 54 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
TRUE | evaluated 26 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 2330 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWindowContainer
|
| 26-2356 |
233 | inst = new QUnifiedTimer; | - |
234 | unifiedTimer()->setLocalData(inst); | - |
235 | } else {executed 26 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 26 |
236 | inst = unifiedTimer() ? unifiedTimer()->localData() : 0;TRUE | evaluated 3626 times by 54 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | never evaluated |
| 0-3626 |
237 | }executed 3626 times by 54 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 3626 |
238 | #else | - |
239 | static QUnifiedTimer unifiedTimer; | - |
240 | inst = &unifiedTimer; | - |
241 | #endif | - |
242 | return inst;executed 3652 times by 54 tests: return inst; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 3652 |
243 | } | - |
244 | | - |
245 | QUnifiedTimer *QUnifiedTimer::instance() | - |
246 | { | - |
247 | return instance(true);executed 2235 times by 26 tests: return instance(true); Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 2235 |
248 | } | - |
249 | | - |
250 | void QUnifiedTimer::maybeUpdateAnimationsToCurrentTime() | - |
251 | { | - |
252 | if (elapsed() - lastTick > 50)TRUE | evaluated 2 times by 1 test | FALSE | evaluated 283 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
| 2-283 |
253 | updateAnimationTimers(-1);executed 2 times by 1 test: updateAnimationTimers(-1); | 2 |
254 | }executed 285 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 285 |
255 | | - |
256 | qint64 QUnifiedTimer::elapsed() const | - |
257 | { | - |
258 | if (driver->isRunning())TRUE | evaluated 2054 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 397 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
| 397-2054 |
259 | return driverStartTime + driver->elapsed();executed 2054 times by 12 tests: return driverStartTime + driver->elapsed(); Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 2054 |
260 | else if (time.isValid())TRUE | evaluated 147 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 250 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
| 147-250 |
261 | return time.elapsed() + temporalDrift;executed 147 times by 12 tests: return time.elapsed() + temporalDrift; Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 147 |
262 | | - |
263 | | - |
264 | | - |
265 | | - |
266 | return 0;executed 250 times by 26 tests: return 0; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 250 |
267 | } | - |
268 | | - |
269 | void QUnifiedTimer::startAnimationDriver() | - |
270 | { | - |
271 | if (driver->isRunning()) {TRUE | never evaluated | FALSE | evaluated 123 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 0-123 |
272 | qWarning("QUnifiedTimer::startAnimationDriver: driver is already running..."); | - |
273 | return; never executed: return; | 0 |
274 | } | - |
275 | | - |
276 | | - |
277 | | - |
278 | driverStartTime = elapsed(); | - |
279 | driver->start(); | - |
280 | }executed 123 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
281 | | - |
282 | void QUnifiedTimer::stopAnimationDriver() | - |
283 | { | - |
284 | if (!driver->isRunning()) {TRUE | never evaluated | FALSE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 0-118 |
285 | qWarning("QUnifiedTimer::stopAnimationDriver: driver is not running"); | - |
286 | return; never executed: return; | 0 |
287 | } | - |
288 | | - |
289 | | - |
290 | | - |
291 | temporalDrift = elapsed() - time.elapsed(); | - |
292 | driver->stop(); | - |
293 | }executed 118 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
294 | | - |
295 | void QUnifiedTimer::updateAnimationTimers(qint64) | - |
296 | { | - |
297 | | - |
298 | if(insideTick)TRUE | never evaluated | FALSE | evaluated 1925 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 0-1925 |
299 | return; never executed: return; | 0 |
300 | | - |
301 | qint64 totalElapsed = elapsed(); | - |
302 | | - |
303 | | - |
304 | qint64 delta = (consistentTiming && !pauseTimer.isActive()) ?TRUE | evaluated 96 times by 1 test | FALSE | evaluated 1829 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
TRUE | evaluated 78 times by 1 test | FALSE | evaluated 18 times by 1 test |
| 18-1829 |
305 | timingInterval : totalElapsed - lastTick; | - |
306 | if (slowMode) {TRUE | never evaluated | FALSE | evaluated 1925 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 0-1925 |
307 | if (slowdownFactor > 0)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
308 | delta = qRound(delta / slowdownFactor); never executed: delta = qRound(delta / slowdownFactor); | 0 |
309 | else | - |
310 | delta = 0; never executed: delta = 0; | 0 |
311 | } | - |
312 | | - |
313 | lastTick = totalElapsed; | - |
314 | | - |
315 | | - |
316 | | - |
317 | | - |
318 | | - |
319 | | - |
320 | if (delta > 0) {TRUE | evaluated 1923 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 2 times by 1 test |
| 2-1923 |
321 | insideTick = true; | - |
322 | if (profilerCallback)TRUE | never evaluated | FALSE | evaluated 1923 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 0-1923 |
323 | profilerCallback(delta); never executed: profilerCallback(delta); | 0 |
324 | for (currentAnimationIdx = 0; currentAnimationIdx < animationTimers.count(); ++currentAnimationIdx) {TRUE | evaluated 1905 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1923 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 1905-1923 |
325 | QAbstractAnimationTimer *animation = animationTimers.at(currentAnimationIdx); | - |
326 | animation->updateAnimationsTime(delta); | - |
327 | }executed 1905 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1905 |
328 | insideTick = false; | - |
329 | currentAnimationIdx = 0; | - |
330 | }executed 1923 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1923 |
331 | }executed 1925 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1925 |
332 | | - |
333 | int QUnifiedTimer::runningAnimationCount() | - |
334 | { | - |
335 | int count = 0; | - |
336 | for (int i = 0; i < animationTimers.count(); ++i)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
337 | count += animationTimers.at(i)->runningAnimationCount(); never executed: count += animationTimers.at(i)->runningAnimationCount(); | 0 |
338 | return count; never executed: return count; | 0 |
339 | } | - |
340 | | - |
341 | void QUnifiedTimer::registerProfilerCallback(void (*cb)(qint64)) | - |
342 | { | - |
343 | profilerCallback = cb; | - |
344 | } never executed: end of block | 0 |
345 | | - |
346 | void QUnifiedTimer::localRestart() | - |
347 | { | - |
348 | if (insideRestart)TRUE | evaluated 21 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 2053 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 21-2053 |
349 | return;executed 21 times by 2 tests: return; Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 21 |
350 | | - |
351 | if (!pausedAnimationTimers.isEmpty() && (animationTimers.count() + animationTimersToStart.count() == pausedAnimationTimers.count())) {TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 2022 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | never evaluated |
| 0-2022 |
352 | driver->stop(); | - |
353 | int closestTimeToFinish = closestPausedAnimationTimerTimeToFinish(); | - |
354 | | - |
355 | Qt::TimerType timerType = closestTimeToFinish < PAUSE_TIMER_COARSE_THRESHOLD ? Qt::PreciseTimer : Qt::CoarseTimer;TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | never evaluated |
| 0-31 |
356 | pauseTimer.start(closestTimeToFinish, timerType, this); | - |
357 | } else if (!driver->isRunning()) {executed 31 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
TRUE | evaluated 123 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1899 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 31-1899 |
358 | if (pauseTimer.isActive())TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 112 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 11-112 |
359 | pauseTimer.stop();executed 11 times by 2 tests: pauseTimer.stop(); Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
360 | startAnimationDriver(); | - |
361 | }executed 123 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
362 | | - |
363 | }executed 2053 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 2053 |
364 | | - |
365 | void QUnifiedTimer::restart() | - |
366 | { | - |
367 | insideRestart = true; | - |
368 | for (int i = 0; i < animationTimers.count(); ++i)TRUE | evaluated 1902 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1920 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 1902-1920 |
369 | animationTimers.at(i)->restartAnimationTimer();executed 1902 times by 12 tests: animationTimers.at(i)->restartAnimationTimer(); Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1902 |
370 | insideRestart = false; | - |
371 | | - |
372 | localRestart(); | - |
373 | }executed 1920 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1920 |
374 | | - |
375 | void QUnifiedTimer::setTimingInterval(int interval) | - |
376 | { | - |
377 | timingInterval = interval; | - |
378 | | - |
379 | if (driver->isRunning() && !pauseTimer.isActive()) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
380 | | - |
381 | stopAnimationDriver(); | - |
382 | startAnimationDriver(); | - |
383 | } never executed: end of block | 0 |
384 | } never executed: end of block | 0 |
385 | | - |
386 | void QUnifiedTimer::startTimers() | - |
387 | { | - |
388 | startTimersPending = false; | - |
389 | | - |
390 | | - |
391 | animationTimers += animationTimersToStart; | - |
392 | animationTimersToStart.clear(); | - |
393 | if (!animationTimers.isEmpty()) {TRUE | evaluated 121 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-121 |
394 | if (!time.isValid()) {TRUE | evaluated 121 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-121 |
395 | lastTick = 0; | - |
396 | time.start(); | - |
397 | temporalDrift = 0; | - |
398 | driverStartTime = 0; | - |
399 | }executed 121 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
400 | localRestart(); | - |
401 | }executed 121 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
402 | }executed 121 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
403 | | - |
404 | void QUnifiedTimer::stopTimer() | - |
405 | { | - |
406 | stopTimerPending = false; | - |
407 | if (animationTimers.isEmpty()) {TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-118 |
408 | stopAnimationDriver(); | - |
409 | pauseTimer.stop(); | - |
410 | | - |
411 | time.invalidate(); | - |
412 | }executed 118 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
413 | }executed 118 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
414 | | - |
415 | void QUnifiedTimer::timerEvent(QTimerEvent *event) | - |
416 | { | - |
417 | | - |
418 | | - |
419 | if (consistentTiming) {TRUE | evaluated 16 times by 1 test | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
| 3-16 |
420 | if (stopTimerPending)TRUE | never evaluated | FALSE | evaluated 16 times by 1 test |
| 0-16 |
421 | stopTimer(); never executed: stopTimer(); | 0 |
422 | if (startTimersPending)TRUE | never evaluated | FALSE | evaluated 16 times by 1 test |
| 0-16 |
423 | startTimers(); never executed: startTimers(); | 0 |
424 | }executed 16 times by 1 test: end of block | 16 |
425 | | - |
426 | if (event->timerId() == pauseTimer.timerId()) {TRUE | evaluated 19 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | never evaluated |
| 0-19 |
427 | | - |
428 | updateAnimationTimers(-1); | - |
429 | restart(); | - |
430 | }executed 19 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 19 |
431 | }executed 19 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 19 |
432 | | - |
433 | void QUnifiedTimer::startAnimationTimer(QAbstractAnimationTimer *timer) | - |
434 | { | - |
435 | if (timer->isRegistered)TRUE | never evaluated | FALSE | evaluated 121 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 0-121 |
436 | return; never executed: return; | 0 |
437 | timer->isRegistered = true; | - |
438 | | - |
439 | QUnifiedTimer *inst = instance(true); | - |
440 | inst->animationTimersToStart << timer; | - |
441 | if (!inst->startTimersPending) {TRUE | evaluated 121 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-121 |
442 | inst->startTimersPending = true; | - |
443 | QMetaObject::invokeMethod(inst, "startTimers", Qt::QueuedConnection); | - |
444 | }executed 121 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
445 | }executed 121 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 121 |
446 | | - |
447 | void QUnifiedTimer::stopAnimationTimer(QAbstractAnimationTimer *timer) | - |
448 | { | - |
449 | QUnifiedTimer *inst = QUnifiedTimer::instance(false); | - |
450 | if (inst) {TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-118 |
451 | | - |
452 | | - |
453 | | - |
454 | if (!timer->isRegistered)TRUE | never evaluated | FALSE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 0-118 |
455 | return; never executed: return; | 0 |
456 | timer->isRegistered = false; | - |
457 | | - |
458 | int idx = inst->animationTimers.indexOf(timer); | - |
459 | if (idx != -1) {TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-118 |
460 | inst->animationTimers.removeAt(idx); | - |
461 | | - |
462 | if (idx <= inst->currentAnimationIdx)TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-118 |
463 | --inst->currentAnimationIdx;executed 118 times by 10 tests: --inst->currentAnimationIdx; Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
464 | | - |
465 | if (inst->animationTimers.isEmpty() && !inst->stopTimerPending) {TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-118 |
466 | inst->stopTimerPending = true; | - |
467 | QMetaObject::invokeMethod(inst, "stopTimer", Qt::QueuedConnection); | - |
468 | }executed 118 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
469 | } else {executed 118 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
470 | inst->animationTimersToStart.removeOne(timer); | - |
471 | } never executed: end of block | 0 |
472 | } | - |
473 | }executed 118 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
474 | | - |
475 | void QUnifiedTimer::pauseAnimationTimer(QAbstractAnimationTimer *timer, int duration) | - |
476 | { | - |
477 | QUnifiedTimer *inst = QUnifiedTimer::instance(); | - |
478 | if (!timer->isRegistered)TRUE | evaluated 9 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
| 9-13 |
479 | inst->startAnimationTimer(timer);executed 9 times by 2 tests: inst->startAnimationTimer(timer); Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 9 |
480 | | - |
481 | bool timerWasPaused = timer->isPaused; | - |
482 | timer->isPaused = true; | - |
483 | timer->pauseDuration = duration; | - |
484 | if (!timerWasPaused)TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
| 11 |
485 | inst->pausedAnimationTimers << timer;executed 11 times by 2 tests: inst->pausedAnimationTimers << timer; Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
486 | inst->localRestart(); | - |
487 | }executed 22 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 22 |
488 | | - |
489 | void QUnifiedTimer::resumeAnimationTimer(QAbstractAnimationTimer *timer) | - |
490 | { | - |
491 | if (!timer->isPaused)TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
| 11-118 |
492 | return;executed 118 times by 10 tests: return; Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
493 | | - |
494 | timer->isPaused = false; | - |
495 | QUnifiedTimer *inst = QUnifiedTimer::instance(); | - |
496 | inst->pausedAnimationTimers.removeOne(timer); | - |
497 | inst->localRestart(); | - |
498 | }executed 11 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
499 | | - |
500 | int QUnifiedTimer::closestPausedAnimationTimerTimeToFinish() | - |
501 | { | - |
502 | int closestTimeToFinish = INT_MAX; | - |
503 | for (TimerListConstIt it = pausedAnimationTimers.constBegin(), cend = pausedAnimationTimers.constEnd(); it != cend; ++it) {TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
| 31 |
504 | const int timeToFinish = (*it)->pauseDuration; | - |
505 | if (timeToFinish < closestTimeToFinish)TRUE | evaluated 31 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | never evaluated |
| 0-31 |
506 | closestTimeToFinish = timeToFinish;executed 31 times by 2 tests: closestTimeToFinish = timeToFinish; Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 31 |
507 | }executed 31 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 31 |
508 | return closestTimeToFinish;executed 31 times by 2 tests: return closestTimeToFinish; Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 31 |
509 | } | - |
510 | | - |
511 | void QUnifiedTimer::installAnimationDriver(QAnimationDriver *d) | - |
512 | { | - |
513 | if (driver != &defaultDriver) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
514 | qWarning("QUnifiedTimer: animation driver already installed..."); | - |
515 | return; never executed: return; | 0 |
516 | } | - |
517 | | - |
518 | bool running = driver->isRunning(); | - |
519 | if (running)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
520 | stopAnimationDriver(); never executed: stopAnimationDriver(); | 0 |
521 | driver = d; | - |
522 | if (running)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
523 | startAnimationDriver(); never executed: startAnimationDriver(); | 0 |
524 | } never executed: end of block | 0 |
525 | | - |
526 | void QUnifiedTimer::uninstallAnimationDriver(QAnimationDriver *d) | - |
527 | { | - |
528 | if (driver != d) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
529 | qWarning("QUnifiedTimer: trying to uninstall a driver that is not installed..."); | - |
530 | return; never executed: return; | 0 |
531 | } | - |
532 | | - |
533 | bool running = driver->isRunning(); | - |
534 | if (running)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
535 | stopAnimationDriver(); never executed: stopAnimationDriver(); | 0 |
536 | driver = &defaultDriver; | - |
537 | if (running)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
538 | startAnimationDriver(); never executed: startAnimationDriver(); | 0 |
539 | } never executed: end of block | 0 |
540 | | - |
541 | | - |
542 | | - |
543 | | - |
544 | | - |
545 | bool QUnifiedTimer::canUninstallAnimationDriver(QAnimationDriver *d) | - |
546 | { | - |
547 | return d == driver && driver != &defaultDriver; never executed: return d == driver && driver != &defaultDriver; TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
548 | } | - |
549 | | - |
550 | #ifndef QT_NO_THREAD | - |
551 | Q_GLOBAL_STATIC(QThreadStorage<QAnimationTimer *>, animationTimer)executed 28 times by 28 tests: end of block Executed by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
executed 28 times by 28 tests: guard.store(QtGlobalStatic::Destroyed); Executed by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
executed 9981 times by 28 tests: return &holder.value; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
TRUE | evaluated 28 times by 28 testsEvaluated by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qanimationgroup - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qtreewidget - unknown status
- ...
| FALSE | never evaluated |
| 0-9981 |
552 | #endif | - |
553 | | - |
554 | QAnimationTimer::QAnimationTimer() : | - |
555 | QAbstractAnimationTimer(), lastTick(0), | - |
556 | currentAnimationIdx(0), insideTick(false), | - |
557 | startAnimationPending(false), stopTimerPending(false), | - |
558 | runningLeafAnimations(0) | - |
559 | { | - |
560 | }executed 28 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 28 |
561 | | - |
562 | QAnimationTimer *QAnimationTimer::instance(bool create) | - |
563 | { | - |
564 | QAnimationTimer *inst; | - |
565 | #ifndef QT_NO_THREAD | - |
566 | if (create && !animationTimer()->hasLocalData()) {TRUE | evaluated 1537 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 2699 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
TRUE | evaluated 28 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 1509 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
|
| 28-2699 |
567 | inst = new QAnimationTimer; | - |
568 | animationTimer()->setLocalData(inst); | - |
569 | } else {executed 28 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 28 |
570 | inst = animationTimer() ? animationTimer()->localData() : 0;TRUE | evaluated 4208 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | never evaluated |
| 0-4208 |
571 | }executed 4208 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 4208 |
572 | #else | - |
573 | static QAnimationTimer animationTimer; | - |
574 | inst = &animationTimer; | - |
575 | #endif | - |
576 | return inst;executed 4236 times by 28 tests: return inst; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 4236 |
577 | } | - |
578 | | - |
579 | QAnimationTimer *QAnimationTimer::instance() | - |
580 | { | - |
581 | return instance(true); never executed: return instance(true); | 0 |
582 | } | - |
583 | | - |
584 | void QAnimationTimer::ensureTimerUpdate() | - |
585 | { | - |
586 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - |
587 | QUnifiedTimer *instU = QUnifiedTimer::instance(false); | - |
588 | if (instU && inst && inst->isPaused)TRUE | evaluated 759 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWindowContainer
| FALSE | evaluated 393 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- tst_QWidget
- ...
|
TRUE | evaluated 759 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWindowContainer
| FALSE | never evaluated |
TRUE | evaluated 3 times by 1 test | FALSE | evaluated 756 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWindowContainer
|
| 0-759 |
589 | instU->updateAnimationTimers(-1);executed 3 times by 1 test: instU->updateAnimationTimers(-1); | 3 |
590 | }executed 1152 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1152 |
591 | | - |
592 | void QAnimationTimer::updateAnimationsTime(qint64 delta) | - |
593 | { | - |
594 | | - |
595 | if (insideTick)TRUE | never evaluated | FALSE | evaluated 1905 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 0-1905 |
596 | return; never executed: return; | 0 |
597 | | - |
598 | lastTick += delta; | - |
599 | | - |
600 | | - |
601 | | - |
602 | | - |
603 | if (delta) {TRUE | evaluated 1905 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-1905 |
604 | insideTick = true; | - |
605 | for (currentAnimationIdx = 0; currentAnimationIdx < animations.count(); ++currentAnimationIdx) {TRUE | evaluated 2091 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1905 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 1905-2091 |
606 | QAbstractAnimation *animation = animations.at(currentAnimationIdx); | - |
607 | int elapsed = QAbstractAnimationPrivate::get(animation)->totalCurrentTime | - |
608 | + (animation->direction() == QAbstractAnimation::Forward ? delta : -delta);TRUE | evaluated 2036 times by 11 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 55 times by 3 testsEvaluated by:- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
|
| 55-2036 |
609 | animation->setCurrentTime(elapsed); | - |
610 | }executed 2091 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 2091 |
611 | insideTick = false; | - |
612 | currentAnimationIdx = 0; | - |
613 | }executed 1905 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1905 |
614 | }executed 1905 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1905 |
615 | | - |
616 | void QAnimationTimer::updateAnimationTimer() | - |
617 | { | - |
618 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - |
619 | if (inst)TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QTreeView
| FALSE | never evaluated |
| 0-10 |
620 | inst->restartAnimationTimer();executed 10 times by 2 tests: inst->restartAnimationTimer(); Executed by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
621 | }executed 10 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
622 | | - |
623 | void QAnimationTimer::restartAnimationTimer() | - |
624 | { | - |
625 | if (runningLeafAnimations == 0 && !runningPauseAnimations.isEmpty())TRUE | evaluated 138 times by 9 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1916 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 116 times by 9 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 22-1916 |
626 | QUnifiedTimer::pauseAnimationTimer(this, closestPauseAnimationTimeToFinish());executed 22 times by 2 tests: QUnifiedTimer::pauseAnimationTimer(this, closestPauseAnimationTimeToFinish()); Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 22 |
627 | else if (isPaused)TRUE | evaluated 11 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 2021 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 11-2021 |
628 | QUnifiedTimer::resumeAnimationTimer(this);executed 11 times by 2 tests: QUnifiedTimer::resumeAnimationTimer(this); Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 11 |
629 | else if (!isRegistered)TRUE | evaluated 112 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1909 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 112-1909 |
630 | QUnifiedTimer::startAnimationTimer(this);executed 112 times by 12 tests: QUnifiedTimer::startAnimationTimer(this); Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 112 |
631 | }executed 2054 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 2054 |
632 | | - |
633 | void QAnimationTimer::startAnimations() | - |
634 | { | - |
635 | if (!startAnimationPending)TRUE | never evaluated | FALSE | evaluated 285 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
| 0-285 |
636 | return; never executed: return; | 0 |
637 | startAnimationPending = false; | - |
638 | | - |
639 | | - |
640 | QUnifiedTimer::instance()->maybeUpdateAnimationsToCurrentTime(); | - |
641 | | - |
642 | | - |
643 | animations += animationsToStart; | - |
644 | animationsToStart.clear(); | - |
645 | if (!animations.isEmpty())TRUE | evaluated 142 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 143 times by 18 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPauseAnimation
- tst_QPrinter
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
| 142-143 |
646 | restartAnimationTimer();executed 142 times by 12 tests: restartAnimationTimer(); Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 142 |
647 | }executed 285 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 285 |
648 | | - |
649 | void QAnimationTimer::stopTimer() | - |
650 | { | - |
651 | stopTimerPending = false; | - |
652 | bool pendingStart = startAnimationPending && animationsToStart.size() > 0;TRUE | evaluated 31 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 106 times by 9 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
TRUE | evaluated 18 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 13 times by 2 testsEvaluated by:- tst_QMainWindow
- tst_QStateMachine
|
| 13-106 |
653 | if (animations.isEmpty() && !pendingStart) {TRUE | evaluated 136 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1 time by 1 test |
TRUE | evaluated 118 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 18 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
| 1-136 |
654 | QUnifiedTimer::resumeAnimationTimer(this); | - |
655 | QUnifiedTimer::stopAnimationTimer(this); | - |
656 | | - |
657 | lastTick = 0; | - |
658 | }executed 118 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 118 |
659 | }executed 137 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 137 |
660 | | - |
661 | void QAnimationTimer::registerAnimation(QAbstractAnimation *animation, bool isTopLevel) | - |
662 | { | - |
663 | QAnimationTimer *inst = instance(true); | - |
664 | inst->registerRunningAnimation(animation); | - |
665 | if (isTopLevel) {TRUE | evaluated 1120 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 417 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
| 417-1120 |
666 | Q_ASSERT(!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer); | - |
667 | QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer = true; | - |
668 | inst->animationsToStart << animation; | - |
669 | if (!inst->startAnimationPending) {TRUE | evaluated 290 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 830 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- 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
|
| 290-830 |
670 | inst->startAnimationPending = true; | - |
671 | QMetaObject::invokeMethod(inst, "startAnimations", Qt::QueuedConnection); | - |
672 | }executed 290 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 290 |
673 | }executed 1120 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1120 |
674 | }executed 1537 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1537 |
675 | | - |
676 | void QAnimationTimer::unregisterAnimation(QAbstractAnimation *animation) | - |
677 | { | - |
678 | QAnimationTimer *inst = QAnimationTimer::instance(false); | - |
679 | if (inst) {TRUE | evaluated 1537 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | never evaluated |
| 0-1537 |
680 | | - |
681 | | - |
682 | | - |
683 | inst->unregisterRunningAnimation(animation); | - |
684 | | - |
685 | if (!QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer)TRUE | evaluated 417 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 1120 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 417-1120 |
686 | return;executed 417 times by 6 tests: return; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 417 |
687 | | - |
688 | int idx = inst->animations.indexOf(animation); | - |
689 | if (idx != -1) {TRUE | evaluated 156 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 964 times by 23 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- 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_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
| 156-964 |
690 | inst->animations.removeAt(idx); | - |
691 | | - |
692 | if (idx <= inst->currentAnimationIdx)TRUE | evaluated 149 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 7 times by 3 testsEvaluated by:- tst_QAbstractAnimation
- tst_QPropertyAnimation
- tst_QStateMachine
|
| 7-149 |
693 | --inst->currentAnimationIdx;executed 149 times by 12 tests: --inst->currentAnimationIdx; Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 149 |
694 | | - |
695 | if (inst->animations.isEmpty() && !inst->stopTimerPending) {TRUE | evaluated 140 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 16 times by 4 testsEvaluated by:- tst_QAbstractAnimation
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QStateMachine
|
TRUE | evaluated 140 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-140 |
696 | inst->stopTimerPending = true; | - |
697 | QMetaObject::invokeMethod(inst, "stopTimer", Qt::QueuedConnection); | - |
698 | }executed 140 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 140 |
699 | } else {executed 156 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 156 |
700 | inst->animationsToStart.removeOne(animation); | - |
701 | }executed 964 times by 23 tests: end of block Executed by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- 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_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 964 |
702 | } | - |
703 | QAbstractAnimationPrivate::get(animation)->hasRegisteredTimer = false; | - |
704 | }executed 1120 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1120 |
705 | | - |
706 | void QAnimationTimer::registerRunningAnimation(QAbstractAnimation *animation) | - |
707 | { | - |
708 | if (QAbstractAnimationPrivate::get(animation)->isGroup)TRUE | evaluated 112 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 1425 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 112-1425 |
709 | return;executed 112 times by 6 tests: return; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 112 |
710 | | - |
711 | if (QAbstractAnimationPrivate::get(animation)->isPause) {TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1398 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 27-1398 |
712 | runningPauseAnimations << animation; | - |
713 | } elseexecuted 27 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 27 |
714 | runningLeafAnimations++;executed 1398 times by 28 tests: runningLeafAnimations++; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1398 |
715 | } | - |
716 | | - |
717 | void QAnimationTimer::unregisterRunningAnimation(QAbstractAnimation *animation) | - |
718 | { | - |
719 | if (QAbstractAnimationPrivate::get(animation)->isGroup)TRUE | evaluated 112 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| FALSE | evaluated 1425 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 112-1425 |
720 | return;executed 112 times by 6 tests: return; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 112 |
721 | | - |
722 | if (QAbstractAnimationPrivate::get(animation)->isPause)TRUE | evaluated 27 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1398 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 27-1398 |
723 | runningPauseAnimations.removeOne(animation);executed 27 times by 2 tests: runningPauseAnimations.removeOne(animation); Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 27 |
724 | else | - |
725 | runningLeafAnimations--;executed 1398 times by 28 tests: runningLeafAnimations--; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1398 |
726 | Q_ASSERT(runningLeafAnimations >= 0); | - |
727 | }executed 1425 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1425 |
728 | | - |
729 | int QAnimationTimer::closestPauseAnimationTimeToFinish() | - |
730 | { | - |
731 | int closestTimeToFinish = INT_MAX; | - |
732 | for (AnimationListConstIt it = runningPauseAnimations.constBegin(), cend = runningPauseAnimations.constEnd(); it != cend; ++it) {TRUE | evaluated 39 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 22 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
| 22-39 |
733 | const QAbstractAnimation *animation = *it; | - |
734 | int timeToFinish; | - |
735 | | - |
736 | if (animation->direction() == QAbstractAnimation::Forward)TRUE | evaluated 38 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1 time by 1 test |
| 1-38 |
737 | timeToFinish = animation->duration() - animation->currentLoopTime();executed 38 times by 2 tests: timeToFinish = animation->duration() - animation->currentLoopTime(); Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 38 |
738 | else | - |
739 | timeToFinish = animation->currentLoopTime();executed 1 time by 1 test: timeToFinish = animation->currentLoopTime(); | 1 |
740 | | - |
741 | if (timeToFinish < closestTimeToFinish)TRUE | evaluated 26 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 13 times by 1 test |
| 13-26 |
742 | closestTimeToFinish = timeToFinish;executed 26 times by 2 tests: closestTimeToFinish = timeToFinish; Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 26 |
743 | }executed 39 times by 2 tests: end of block Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 39 |
744 | return closestTimeToFinish;executed 22 times by 2 tests: return closestTimeToFinish; Executed by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
| 22 |
745 | } | - |
746 | | - |
747 | | - |
748 | | - |
749 | | - |
750 | | - |
751 | | - |
752 | | - |
753 | | - |
754 | | - |
755 | | - |
756 | | - |
757 | | - |
758 | | - |
759 | | - |
760 | QAnimationDriver::QAnimationDriver(QObject *parent) | - |
761 | : QObject(*(new QAnimationDriverPrivate), parent) | - |
762 | { | - |
763 | }executed 26 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 26 |
764 | | - |
765 | QAnimationDriver::QAnimationDriver(QAnimationDriverPrivate &dd, QObject *parent) | - |
766 | : QObject(dd, parent) | - |
767 | { | - |
768 | } never executed: end of block | 0 |
769 | | - |
770 | QAnimationDriver::~QAnimationDriver() | - |
771 | { | - |
772 | QUnifiedTimer *timer = QUnifiedTimer::instance(false); | - |
773 | if (timer && timer->canUninstallAnimationDriver(this))TRUE | never evaluated | FALSE | evaluated 26 times by 26 testsEvaluated by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qwidget - unknown status
- tst_qwidget_window - unknown status
- ...
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-26 |
774 | uninstall(); never executed: uninstall(); | 0 |
775 | }executed 26 times by 26 tests: end of block Executed by:- tst_gestures - unknown status
- tst_qabstractanimation - unknown status
- tst_qaccessibility - unknown status
- tst_qcolumnview - unknown status
- tst_qdockwidget - unknown status
- tst_qgraphicsproxywidget - unknown status
- tst_qlineedit - unknown status
- tst_qmainwindow - unknown status
- tst_qmdiarea - unknown status
- tst_qmdisubwindow - unknown status
- tst_qmenu - unknown status
- tst_qparallelanimationgroup - unknown status
- tst_qpauseanimation - unknown status
- tst_qprinter - unknown status
- tst_qprogressbar - unknown status
- tst_qpropertyanimation - unknown status
- tst_qscroller - unknown status
- tst_qsequentialanimationgroup - unknown status
- tst_qshortcut - unknown status
- tst_qstatemachine - unknown status
- tst_qstylesheetstyle - unknown status
- tst_qtoolbar - unknown status
- tst_qtreeview - unknown status
- tst_qwidget - unknown status
- tst_qwidget_window - unknown status
- ...
| 26 |
776 | | - |
777 | | - |
778 | | - |
779 | | - |
780 | | - |
781 | | - |
782 | | - |
783 | | - |
784 | | - |
785 | | - |
786 | | - |
787 | | - |
788 | | - |
789 | void QAnimationDriver::setStartTime(qint64) | - |
790 | { | - |
791 | } | - |
792 | | - |
793 | | - |
794 | | - |
795 | | - |
796 | | - |
797 | | - |
798 | | - |
799 | | - |
800 | qint64 QAnimationDriver::startTime() const | - |
801 | { | - |
802 | return 0; never executed: return 0; | 0 |
803 | } | - |
804 | | - |
805 | | - |
806 | | - |
807 | | - |
808 | | - |
809 | | - |
810 | | - |
811 | | - |
812 | | - |
813 | | - |
814 | | - |
815 | | - |
816 | | - |
817 | | - |
818 | void QAnimationDriver::advanceAnimation(qint64 timeStep) | - |
819 | { | - |
820 | QUnifiedTimer *instance = QUnifiedTimer::instance(); | - |
821 | | - |
822 | | - |
823 | instance->updateAnimationTimers(timeStep); | - |
824 | instance->restart(); | - |
825 | }executed 1901 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1901 |
826 | | - |
827 | | - |
828 | | - |
829 | | - |
830 | | - |
831 | | - |
832 | | - |
833 | | - |
834 | void QAnimationDriver::advance() | - |
835 | { | - |
836 | advanceAnimation(-1); | - |
837 | }executed 1901 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1901 |
838 | | - |
839 | | - |
840 | | - |
841 | | - |
842 | | - |
843 | | - |
844 | | - |
845 | | - |
846 | void QAnimationDriver::install() | - |
847 | { | - |
848 | QUnifiedTimer *timer = QUnifiedTimer::instance(true); | - |
849 | timer->installAnimationDriver(this); | - |
850 | } never executed: end of block | 0 |
851 | | - |
852 | | - |
853 | | - |
854 | | - |
855 | | - |
856 | | - |
857 | | - |
858 | void QAnimationDriver::uninstall() | - |
859 | { | - |
860 | QUnifiedTimer *timer = QUnifiedTimer::instance(true); | - |
861 | timer->uninstallAnimationDriver(this); | - |
862 | } never executed: end of block | 0 |
863 | | - |
864 | bool QAnimationDriver::isRunning() const | - |
865 | { | - |
866 | return d_func()->running;executed 4714 times by 26 tests: return d_func()->running; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 4714 |
867 | } | - |
868 | | - |
869 | | - |
870 | void QAnimationDriver::start() | - |
871 | { | - |
872 | Q_D(QAnimationDriver); | - |
873 | if (!d->running) {TRUE | evaluated 123 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-123 |
874 | d->running = true; | - |
875 | d->timer.start(); | - |
876 | emit started(); | - |
877 | }executed 123 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
878 | }executed 123 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
879 | | - |
880 | | - |
881 | void QAnimationDriver::stop() | - |
882 | { | - |
883 | Q_D(QAnimationDriver); | - |
884 | if (d->running) {TRUE | evaluated 120 times by 10 testsEvaluated by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 29 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QSequentialAnimationGroup
|
| 29-120 |
885 | d->running = false; | - |
886 | emit stopped(); | - |
887 | }executed 120 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 120 |
888 | }executed 149 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 149 |
889 | | - |
890 | | - |
891 | | - |
892 | | - |
893 | | - |
894 | | - |
895 | | - |
896 | | - |
897 | qint64 QAnimationDriver::elapsed() const | - |
898 | { | - |
899 | Q_D(const QAnimationDriver); | - |
900 | return d->running ? d->timer.elapsed() : 0;executed 2054 times by 12 tests: return d->running ? d->timer.elapsed() : 0; Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
TRUE | evaluated 2054 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | never evaluated |
| 0-2054 |
901 | } | - |
902 | | - |
903 | | - |
904 | | - |
905 | | - |
906 | | - |
907 | | - |
908 | | - |
909 | | - |
910 | | - |
911 | | - |
912 | | - |
913 | | - |
914 | | - |
915 | | - |
916 | | - |
917 | | - |
918 | | - |
919 | | - |
920 | | - |
921 | | - |
922 | | - |
923 | | - |
924 | QDefaultAnimationDriver::QDefaultAnimationDriver(QUnifiedTimer *timer) | - |
925 | : QAnimationDriver(0), m_unified_timer(timer) | - |
926 | { | - |
927 | connect(this, SIGNAL(started()), this, SLOT(startTimer())); | - |
928 | connect(this, SIGNAL(stopped()), this, SLOT(stopTimer())); | - |
929 | }executed 26 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- tst_QAccessibility
- tst_QColumnView
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 26 |
930 | | - |
931 | void QDefaultAnimationDriver::timerEvent(QTimerEvent *e) | - |
932 | { | - |
933 | Q_ASSERT(e->timerId() == m_timer.timerId()); | - |
934 | Q_UNUSED(e); | - |
935 | advance(); | - |
936 | }executed 1901 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 1901 |
937 | | - |
938 | void QDefaultAnimationDriver::startTimer() | - |
939 | { | - |
940 | | - |
941 | m_timer.start(m_unified_timer->timingInterval, Qt::PreciseTimer, this); | - |
942 | }executed 123 times by 12 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 123 |
943 | | - |
944 | void QDefaultAnimationDriver::stopTimer() | - |
945 | { | - |
946 | m_timer.stop(); | - |
947 | }executed 120 times by 10 tests: end of block Executed by:- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 120 |
948 | | - |
949 | | - |
950 | | - |
951 | void QAbstractAnimationPrivate::setState(QAbstractAnimation::State newState) | - |
952 | { | - |
953 | Q_Q(QAbstractAnimation); | - |
954 | if (state == newState)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3035 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 1-3035 |
955 | return;executed 1 time by 1 test: return; | 1 |
956 | | - |
957 | if (loopCount == 0)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 1-3034 |
958 | return;executed 1 time by 1 test: return; | 1 |
959 | | - |
960 | QAbstractAnimation::State oldState = state; | - |
961 | int oldCurrentTime = currentTime; | - |
962 | int oldCurrentLoop = currentLoop; | - |
963 | QAbstractAnimation::Direction oldDirection = direction; | - |
964 | | - |
965 | | - |
966 | if ((newState == QAbstractAnimation::Paused || newState == QAbstractAnimation::Running)TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 2976 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
TRUE | evaluated 1537 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 1439 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
| 58-2976 |
967 | && oldState == QAbstractAnimation::Stopped) {TRUE | evaluated 1525 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 70 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
| 70-1525 |
968 | | - |
969 | | - |
970 | | - |
971 | totalCurrentTime = currentTime = (direction == QAbstractAnimation::Forward) ?TRUE | evaluated 1406 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
| FALSE | evaluated 119 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QTreeWidget
|
| 119-1406 |
972 | 0 : (loopCount == -1 ? q->duration() : q->totalDuration());TRUE | evaluated 3 times by 1 testEvaluated by:- tst_QParallelAnimationGroup
| FALSE | evaluated 116 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QTreeWidget
|
| 3-116 |
973 | }executed 1525 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1525 |
974 | | - |
975 | state = newState; | - |
976 | QPointer<QAbstractAnimation> guard(q); | - |
977 | | - |
978 | | - |
979 | | - |
980 | bool isTopLevel = !group || group->state() == QAbstractAnimation::Stopped;TRUE | evaluated 2216 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 818 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
TRUE | evaluated 37 times by 3 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
| FALSE | evaluated 781 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
| 37-2216 |
981 | if (oldState == QAbstractAnimation::Running) {TRUE | evaluated 1455 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 1579 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 1455-1579 |
982 | if (newState == QAbstractAnimation::Paused && hasRegisteredTimer)TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1397 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
TRUE | evaluated 29 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 29 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
|
| 29-1397 |
983 | QAnimationTimer::ensureTimerUpdate();executed 29 times by 4 tests: QAnimationTimer::ensureTimerUpdate(); Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 29 |
984 | | - |
985 | QAnimationTimer::unregisterAnimation(q); | - |
986 | } else if (newState == QAbstractAnimation::Running) {executed 1455 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
TRUE | evaluated 1537 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 42 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
| 42-1537 |
987 | QAnimationTimer::registerAnimation(q, isTopLevel); | - |
988 | }executed 1537 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1537 |
989 | | - |
990 | q->updateState(newState, oldState); | - |
991 | if (!guard || newState != state) TRUE | never evaluated | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
TRUE | never evaluated | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 0-3034 |
992 | return; never executed: return; | 0 |
993 | | - |
994 | | - |
995 | emit q->stateChanged(newState, oldState); | - |
996 | if (!guard || newState != state) TRUE | never evaluated | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
TRUE | never evaluated | FALSE | evaluated 3034 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 0-3034 |
997 | return; never executed: return; | 0 |
998 | | - |
999 | switch (state) { | - |
1000 | case QAbstractAnimation::Paused:executed 58 times by 4 tests: case QAbstractAnimation::Paused: Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 58 |
1001 | break;executed 58 times by 4 tests: break; Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 58 |
1002 | case QAbstractAnimation::Running:executed 1537 times by 28 tests: case QAbstractAnimation::Running: Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1537 |
1003 | { | - |
1004 | | - |
1005 | | - |
1006 | if (oldState == QAbstractAnimation::Stopped) {TRUE | evaluated 1525 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 12 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
| 12-1525 |
1007 | if (isTopLevel) {TRUE | evaluated 1113 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| FALSE | evaluated 412 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
| 412-1113 |
1008 | | - |
1009 | QAnimationTimer::ensureTimerUpdate(); | - |
1010 | q->setCurrentTime(totalCurrentTime); | - |
1011 | }executed 1113 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1113 |
1012 | }executed 1525 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1525 |
1013 | } | - |
1014 | break;executed 1537 times by 28 tests: break; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1537 |
1015 | case QAbstractAnimation::Stopped:executed 1439 times by 26 tests: case QAbstractAnimation::Stopped: Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 1439 |
1016 | | - |
1017 | int dura = q->duration(); | - |
1018 | | - |
1019 | if (deleteWhenStopped)TRUE | evaluated 854 times by 17 testsEvaluated 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
| FALSE | evaluated 585 times by 10 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 585-854 |
1020 | q->deleteLater();executed 854 times by 17 tests: q->deleteLater(); 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
| 854 |
1021 | | - |
1022 | if (dura == -1 || loopCount < 0TRUE | evaluated 16 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QScroller
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1423 times by 25 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
TRUE | evaluated 9 times by 3 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
| FALSE | evaluated 1414 times by 25 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
| 9-1423 |
1023 | || (oldDirection == QAbstractAnimation::Forward && (oldCurrentTime * (oldCurrentLoop + 1)) == (dura * loopCount))TRUE | evaluated 1322 times by 24 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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 92 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
|
TRUE | evaluated 1222 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 100 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QLineEdit
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
| 92-1322 |
1024 | || (oldDirection == QAbstractAnimation::Backward && oldCurrentTime == 0)) {TRUE | evaluated 92 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
| FALSE | evaluated 100 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QLineEdit
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
|
TRUE | evaluated 87 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
| FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
|
| 5-100 |
1025 | emit q->finished(); | - |
1026 | }executed 1334 times by 25 tests: end of block 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1334 |
1027 | break;executed 1439 times by 26 tests: break; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 1439 |
1028 | } | - |
1029 | }executed 3034 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 3034 |
1030 | | - |
1031 | | - |
1032 | | - |
1033 | | - |
1034 | | - |
1035 | | - |
1036 | | - |
1037 | QAbstractAnimation::QAbstractAnimation(QObject *parent) | - |
1038 | : QObject(*new QAbstractAnimationPrivate, 0) | - |
1039 | { | - |
1040 | | - |
1041 | setParent(parent); | - |
1042 | }executed 27 times by 3 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QProgressBar
- tst_QScroller
| 27 |
1043 | | - |
1044 | | - |
1045 | | - |
1046 | | - |
1047 | QAbstractAnimation::QAbstractAnimation(QAbstractAnimationPrivate &dd, QObject *parent) | - |
1048 | : QObject(dd, 0) | - |
1049 | { | - |
1050 | | - |
1051 | setParent(parent); | - |
1052 | }executed 2163 times by 43 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemModel
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- ...
| 2163 |
1053 | | - |
1054 | | - |
1055 | | - |
1056 | | - |
1057 | | - |
1058 | | - |
1059 | QAbstractAnimation::~QAbstractAnimation() | - |
1060 | { | - |
1061 | Q_D(QAbstractAnimation); | - |
1062 | | - |
1063 | if (d->state != Stopped) {TRUE | evaluated 86 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| FALSE | evaluated 1979 times by 44 testsEvaluated by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QPropertyAnimation
- ...
|
| 86-1979 |
1064 | QAbstractAnimation::State oldState = d->state; | - |
1065 | d->state = Stopped; | - |
1066 | emit stateChanged(oldState, d->state); | - |
1067 | if (oldState == QAbstractAnimation::Running)TRUE | evaluated 82 times by 6 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QSequentialAnimationGroup
|
| 4-82 |
1068 | QAnimationTimer::unregisterAnimation(this);executed 82 times by 6 tests: QAnimationTimer::unregisterAnimation(this); Executed by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| 82 |
1069 | }executed 86 times by 6 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| 86 |
1070 | }executed 2065 times by 45 tests: end of block Executed by:- tst_Gestures
- tst_ModelTest
- tst_QAbstractAnimation
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QColumnView
- tst_QComboBox
- tst_QDirModel
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QHeaderView
- tst_QItemView
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- ...
| 2065 |
1071 | | - |
1072 | | - |
1073 | | - |
1074 | | - |
1075 | | - |
1076 | | - |
1077 | | - |
1078 | | - |
1079 | | - |
1080 | QAbstractAnimation::State QAbstractAnimation::state() const | - |
1081 | { | - |
1082 | Q_D(const QAbstractAnimation); | - |
1083 | return d->state;executed 3985 times by 10 tests: return d->state; Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
| 3985 |
1084 | } | - |
1085 | | - |
1086 | | - |
1087 | | - |
1088 | | - |
1089 | | - |
1090 | | - |
1091 | | - |
1092 | QAnimationGroup *QAbstractAnimation::group() const | - |
1093 | { | - |
1094 | Q_D(const QAbstractAnimation); | - |
1095 | return d->group;executed 701 times by 7 tests: return d->group; Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 701 |
1096 | } | - |
1097 | | - |
1098 | | - |
1099 | | - |
1100 | | - |
1101 | | - |
1102 | | - |
1103 | | - |
1104 | | - |
1105 | | - |
1106 | | - |
1107 | | - |
1108 | | - |
1109 | | - |
1110 | | - |
1111 | | - |
1112 | | - |
1113 | | - |
1114 | | - |
1115 | | - |
1116 | | - |
1117 | | - |
1118 | | - |
1119 | | - |
1120 | | - |
1121 | | - |
1122 | | - |
1123 | | - |
1124 | | - |
1125 | | - |
1126 | | - |
1127 | | - |
1128 | | - |
1129 | | - |
1130 | | - |
1131 | | - |
1132 | | - |
1133 | | - |
1134 | | - |
1135 | | - |
1136 | | - |
1137 | | - |
1138 | | - |
1139 | | - |
1140 | | - |
1141 | | - |
1142 | | - |
1143 | QAbstractAnimation::Direction QAbstractAnimation::direction() const | - |
1144 | { | - |
1145 | Q_D(const QAbstractAnimation); | - |
1146 | return d->direction;executed 2154 times by 13 tests: return d->direction; Executed by:- tst_QAbstractAnimation
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
| 2154 |
1147 | } | - |
1148 | void QAbstractAnimation::setDirection(Direction direction) | - |
1149 | { | - |
1150 | Q_D(QAbstractAnimation); | - |
1151 | if (d->direction == direction)TRUE | evaluated 232 times by 7 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 100 times by 7 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
|
| 100-232 |
1152 | return;executed 232 times by 7 tests: return; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 232 |
1153 | | - |
1154 | if (state() == Stopped) {TRUE | evaluated 90 times by 5 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
| FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QTreeView
|
| 10-90 |
1155 | if (direction == Backward) {TRUE | evaluated 88 times by 5 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
| FALSE | evaluated 2 times by 2 testsEvaluated by:- tst_QAbstractAnimation
- tst_QPropertyAnimation
|
| 2-88 |
1156 | d->currentTime = duration(); | - |
1157 | d->currentLoop = d->loopCount - 1; | - |
1158 | } else {executed 88 times by 5 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
| 88 |
1159 | d->currentTime = 0; | - |
1160 | d->currentLoop = 0; | - |
1161 | }executed 2 times by 2 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QPropertyAnimation
| 2 |
1162 | } | - |
1163 | | - |
1164 | | - |
1165 | | - |
1166 | if (d->hasRegisteredTimer)TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QTreeView
| FALSE | evaluated 90 times by 5 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
|
| 10-90 |
1167 | QAnimationTimer::ensureTimerUpdate();executed 10 times by 2 tests: QAnimationTimer::ensureTimerUpdate(); Executed by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
1168 | | - |
1169 | d->direction = direction; | - |
1170 | updateDirection(direction); | - |
1171 | | - |
1172 | if (d->hasRegisteredTimer)TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QPauseAnimation
- tst_QTreeView
| FALSE | evaluated 90 times by 5 testsEvaluated by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
|
| 10-90 |
1173 | | - |
1174 | QAnimationTimer::updateAnimationTimer();executed 10 times by 2 tests: QAnimationTimer::updateAnimationTimer(); Executed by:- tst_QPauseAnimation
- tst_QTreeView
| 10 |
1175 | | - |
1176 | emit directionChanged(direction); | - |
1177 | }executed 100 times by 7 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| 100 |
1178 | | - |
1179 | | - |
1180 | | - |
1181 | | - |
1182 | | - |
1183 | | - |
1184 | | - |
1185 | | - |
1186 | | - |
1187 | | - |
1188 | | - |
1189 | | - |
1190 | | - |
1191 | | - |
1192 | | - |
1193 | | - |
1194 | | - |
1195 | | - |
1196 | | - |
1197 | | - |
1198 | | - |
1199 | | - |
1200 | int QAbstractAnimation::loopCount() const | - |
1201 | { | - |
1202 | Q_D(const QAbstractAnimation); | - |
1203 | return d->loopCount;executed 8125 times by 8 tests: return d->loopCount; Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
| 8125 |
1204 | } | - |
1205 | void QAbstractAnimation::setLoopCount(int loopCount) | - |
1206 | { | - |
1207 | Q_D(QAbstractAnimation); | - |
1208 | d->loopCount = loopCount; | - |
1209 | }executed 146 times by 6 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 146 |
1210 | | - |
1211 | | - |
1212 | | - |
1213 | | - |
1214 | | - |
1215 | | - |
1216 | | - |
1217 | | - |
1218 | | - |
1219 | | - |
1220 | | - |
1221 | | - |
1222 | | - |
1223 | | - |
1224 | int QAbstractAnimation::currentLoop() const | - |
1225 | { | - |
1226 | Q_D(const QAbstractAnimation); | - |
1227 | return d->currentLoop;executed 138 times by 7 tests: return d->currentLoop; Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 138 |
1228 | } | - |
1229 | | - |
1230 | | - |
1231 | | - |
1232 | | - |
1233 | | - |
1234 | | - |
1235 | | - |
1236 | | - |
1237 | | - |
1238 | | - |
1239 | | - |
1240 | | - |
1241 | | - |
1242 | | - |
1243 | | - |
1244 | | - |
1245 | | - |
1246 | | - |
1247 | | - |
1248 | | - |
1249 | | - |
1250 | | - |
1251 | | - |
1252 | | - |
1253 | | - |
1254 | int QAbstractAnimation::totalDuration() const | - |
1255 | { | - |
1256 | int dura = duration(); | - |
1257 | if (dura <= 0)TRUE | evaluated 1190 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 7955 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
|
| 1190-7955 |
1258 | return dura;executed 1190 times by 5 tests: return dura; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 1190 |
1259 | int loopcount = loopCount(); | - |
1260 | if (loopcount < 0)TRUE | evaluated 32 times by 4 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 7923 times by 8 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
|
| 32-7923 |
1261 | return -1;executed 32 times by 4 tests: return -1; Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 32 |
1262 | return dura * loopcount;executed 7923 times by 8 tests: return dura * loopcount; Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
| 7923 |
1263 | } | - |
1264 | | - |
1265 | | - |
1266 | | - |
1267 | | - |
1268 | | - |
1269 | | - |
1270 | | - |
1271 | int QAbstractAnimation::currentLoopTime() const | - |
1272 | { | - |
1273 | Q_D(const QAbstractAnimation); | - |
1274 | return d->currentTime;executed 483 times by 6 tests: return d->currentTime; Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 483 |
1275 | } | - |
1276 | | - |
1277 | | - |
1278 | | - |
1279 | | - |
1280 | | - |
1281 | | - |
1282 | | - |
1283 | | - |
1284 | | - |
1285 | | - |
1286 | | - |
1287 | | - |
1288 | | - |
1289 | | - |
1290 | int QAbstractAnimation::currentTime() const | - |
1291 | { | - |
1292 | Q_D(const QAbstractAnimation); | - |
1293 | return d->totalCurrentTime;executed 142 times by 8 tests: return d->totalCurrentTime; Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 142 |
1294 | } | - |
1295 | void QAbstractAnimation::setCurrentTime(int msecs) | - |
1296 | { | - |
1297 | Q_D(QAbstractAnimation); | - |
1298 | msecs = qMax(msecs, 0); | - |
1299 | | - |
1300 | | - |
1301 | int dura = duration(); | - |
1302 | int totalDura = dura <= 0 ? dura : ((d->loopCount < 0) ? -1 : dura * d->loopCount);TRUE | evaluated 1305 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 3845 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
|
TRUE | evaluated 37 times by 4 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 3808 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
|
| 37-3845 |
1303 | if (totalDura != -1)TRUE | evaluated 4809 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 341 times by 6 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
|
| 341-4809 |
1304 | msecs = qMin(totalDura, msecs);executed 4809 times by 26 tests: msecs = qMin(totalDura, msecs); Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QTreeView
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- ...
| 4809 |
1305 | d->totalCurrentTime = msecs; | - |
1306 | | - |
1307 | | - |
1308 | int oldLoop = d->currentLoop; | - |
1309 | d->currentLoop = ((dura <= 0) ? 0 : (msecs / dura));TRUE | evaluated 1305 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 3845 times by 12 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
- tst_QTreeWidget
|
| 1305-3845 |
1310 | if (d->currentLoop == d->loopCount) {TRUE | evaluated 415 times by 11 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
| FALSE | evaluated 4735 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
|
| 415-4735 |
1311 | | - |
1312 | d->currentTime = qMax(0, dura); | - |
1313 | d->currentLoop = qMax(0, d->loopCount - 1); | - |
1314 | } else {executed 415 times by 11 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeWidget
| 415 |
1315 | if (d->direction == Forward) {TRUE | evaluated 4502 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
| FALSE | evaluated 233 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
|
| 233-4502 |
1316 | d->currentTime = (dura <= 0) ? msecs : (msecs % dura);TRUE | evaluated 1275 times by 22 testsEvaluated by:- tst_Gestures
- tst_QAccessibility
- tst_QAnimationGroup
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPrinter
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 3227 times by 11 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 1275-3227 |
1317 | } else {executed 4502 times by 27 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
| 4502 |
1318 | d->currentTime = (dura <= 0) ? msecs : ((msecs - 1) % dura) + 1;TRUE | evaluated 30 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
| FALSE | evaluated 203 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
|
| 30-203 |
1319 | if (d->currentTime == dura)TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
| FALSE | evaluated 187 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
|
| 46-187 |
1320 | --d->currentLoop;executed 46 times by 2 tests: --d->currentLoop; Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
| 46 |
1321 | }executed 233 times by 5 tests: end of block Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
| 233 |
1322 | } | - |
1323 | | - |
1324 | updateCurrentTime(d->currentTime); | - |
1325 | if (d->currentLoop != oldLoop)TRUE | evaluated 237 times by 5 testsEvaluated by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| FALSE | evaluated 4913 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 237-4913 |
1326 | emit currentLoopChanged(d->currentLoop);executed 237 times by 5 tests: currentLoopChanged(d->currentLoop); Executed by:- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 237 |
1327 | | - |
1328 | | - |
1329 | | - |
1330 | | - |
1331 | if ((d->direction == Forward && d->totalCurrentTime == totalDura)TRUE | evaluated 4840 times by 27 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- ...
| FALSE | evaluated 310 times by 6 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
|
TRUE | evaluated 1307 times by 24 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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 3533 times by 13 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
| 310-4840 |
1332 | || (d->direction == Backward && d->totalCurrentTime == 0)) {TRUE | evaluated 310 times by 6 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
- tst_QTreeWidget
| FALSE | evaluated 3533 times by 13 testsEvaluated by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QColumnView
- tst_QLineEdit
- tst_QMainWindow
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
|
TRUE | evaluated 74 times by 5 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeView
| FALSE | evaluated 236 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
- tst_QTreeWidget
|
| 74-3533 |
1333 | stop(); | - |
1334 | }executed 1381 times by 25 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QTreeView
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 1381 |
1335 | }executed 5150 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 5150 |
1336 | | - |
1337 | | - |
1338 | | - |
1339 | | - |
1340 | | - |
1341 | | - |
1342 | | - |
1343 | | - |
1344 | | - |
1345 | | - |
1346 | | - |
1347 | | - |
1348 | | - |
1349 | | - |
1350 | | - |
1351 | | - |
1352 | | - |
1353 | void QAbstractAnimation::start(DeletionPolicy policy) | - |
1354 | { | - |
1355 | Q_D(QAbstractAnimation); | - |
1356 | if (d->state == Running)TRUE | evaluated 476 times by 7 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| FALSE | evaluated 1533 times by 28 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
|
| 476-1533 |
1357 | return;executed 476 times by 7 tests: return; Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
- tst_QTreeView
| 476 |
1358 | d->deleteWhenStopped = policy; | - |
1359 | d->setState(Running); | - |
1360 | }executed 1533 times by 28 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QTreeWidget
- ...
| 1533 |
1361 | | - |
1362 | | - |
1363 | | - |
1364 | | - |
1365 | | - |
1366 | | - |
1367 | | - |
1368 | | - |
1369 | | - |
1370 | | - |
1371 | | - |
1372 | void QAbstractAnimation::stop() | - |
1373 | { | - |
1374 | Q_D(QAbstractAnimation); | - |
1375 | | - |
1376 | if (d->state == Stopped)TRUE | evaluated 2742 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
- ...
| FALSE | evaluated 1439 times by 26 testsEvaluated by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
|
| 1439-2742 |
1377 | return;executed 2742 times by 26 tests: return; Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
- ...
| 2742 |
1378 | | - |
1379 | d->setState(Stopped); | - |
1380 | }executed 1439 times by 26 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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_QScroller
- tst_QSequentialAnimationGroup
- tst_QShortcut
- tst_QStateMachine
- tst_QStyleSheetStyle
- tst_QToolBar
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 1439 |
1381 | | - |
1382 | | - |
1383 | | - |
1384 | | - |
1385 | | - |
1386 | | - |
1387 | | - |
1388 | | - |
1389 | void QAbstractAnimation::pause() | - |
1390 | { | - |
1391 | Q_D(QAbstractAnimation); | - |
1392 | if (d->state == Stopped) {TRUE | evaluated 2 times by 2 testsEvaluated by:- tst_QAnimationGroup
- tst_QPropertyAnimation
| FALSE | evaluated 59 times by 4 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
| 2-59 |
1393 | qWarning("QAbstractAnimation::pause: Cannot pause a stopped animation"); | - |
1394 | return;executed 2 times by 2 tests: return; Executed by:- tst_QAnimationGroup
- tst_QPropertyAnimation
| 2 |
1395 | } | - |
1396 | | - |
1397 | d->setState(Paused); | - |
1398 | }executed 59 times by 4 tests: end of block Executed by:- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 59 |
1399 | | - |
1400 | | - |
1401 | | - |
1402 | | - |
1403 | | - |
1404 | | - |
1405 | | - |
1406 | | - |
1407 | void QAbstractAnimation::resume() | - |
1408 | { | - |
1409 | Q_D(QAbstractAnimation); | - |
1410 | if (d->state != Paused) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
|
| 2-5 |
1411 | qWarning("QAbstractAnimation::resume: " | - |
1412 | "Cannot resume an animation that is not paused"); | - |
1413 | return;executed 2 times by 1 test: return; | 2 |
1414 | } | - |
1415 | | - |
1416 | d->setState(Running); | - |
1417 | }executed 5 times by 3 tests: end of block Executed by:- tst_QParallelAnimationGroup
- tst_QPropertyAnimation
- tst_QSequentialAnimationGroup
| 5 |
1418 | | - |
1419 | | - |
1420 | | - |
1421 | | - |
1422 | | - |
1423 | | - |
1424 | | - |
1425 | void QAbstractAnimation::setPaused(bool paused) | - |
1426 | { | - |
1427 | if (paused)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1428 | pause(); never executed: pause(); | 0 |
1429 | else | - |
1430 | resume(); never executed: resume(); | 0 |
1431 | } | - |
1432 | | - |
1433 | | - |
1434 | | - |
1435 | | - |
1436 | | - |
1437 | bool QAbstractAnimation::event(QEvent *event) | - |
1438 | { | - |
1439 | return QObject::event(event);executed 1235 times by 23 tests: return QObject::event(event); Executed by:- tst_Gestures
- tst_QAbstractAnimation
- 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
| 1235 |
1440 | } | - |
1441 | | - |
1442 | | - |
1443 | | - |
1444 | | - |
1445 | | - |
1446 | | - |
1447 | | - |
1448 | | - |
1449 | | - |
1450 | | - |
1451 | | - |
1452 | | - |
1453 | | - |
1454 | | - |
1455 | | - |
1456 | | - |
1457 | void QAbstractAnimation::updateState(QAbstractAnimation::State newState, | - |
1458 | QAbstractAnimation::State oldState) | - |
1459 | { | - |
1460 | Q_UNUSED(oldState); | - |
1461 | Q_UNUSED(newState); | - |
1462 | }executed 304 times by 9 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QAnimationGroup
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QProgressBar
- tst_QPropertyAnimation
- tst_QScroller
- tst_QSequentialAnimationGroup
- tst_QStateMachine
| 304 |
1463 | | - |
1464 | | - |
1465 | | - |
1466 | | - |
1467 | | - |
1468 | | - |
1469 | | - |
1470 | void QAbstractAnimation::updateDirection(QAbstractAnimation::Direction direction) | - |
1471 | { | - |
1472 | Q_UNUSED(direction); | - |
1473 | }executed 79 times by 6 tests: end of block Executed by:- tst_QAbstractAnimation
- tst_QParallelAnimationGroup
- tst_QPauseAnimation
- tst_QPropertyAnimation
- tst_QTreeView
- tst_QTreeWidget
| 79 |
1474 | | - |
1475 | | - |
1476 | QT_END_NAMESPACE | - |
1477 | | - |
1478 | #include "moc_qabstractanimation.cpp" | - |
1479 | | - |
1480 | #endif //QT_NO_ANIMATION | - |
| | |