Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | #include "qxcbwindow.h" | - |
41 | | - |
42 | #include <QtDebug> | - |
43 | #include <QMetaEnum> | - |
44 | #include <QScreen> | - |
45 | #include <QtGui/QIcon> | - |
46 | #include <QtGui/QRegion> | - |
47 | #include <QtGui/private/qhighdpiscaling_p.h> | - |
48 | | - |
49 | #include "qxcbintegration.h" | - |
50 | #include "qxcbconnection.h" | - |
51 | #include "qxcbscreen.h" | - |
52 | #include "qxcbdrag.h" | - |
53 | #include "qxcbkeyboard.h" | - |
54 | #include "qxcbwmsupport.h" | - |
55 | #include "qxcbimage.h" | - |
56 | #include "qxcbnativeinterface.h" | - |
57 | #include "qxcbsystemtraytracker.h" | - |
58 | | - |
59 | #include <qpa/qplatformintegration.h> | - |
60 | #include <qpa/qplatformcursor.h> | - |
61 | | - |
62 | #include <algorithm> | - |
63 | | - |
64 | | - |
65 | #define class class_name | - |
66 | #include <xcb/xcb_icccm.h> | - |
67 | #undef class | - |
68 | #include <xcb/xfixes.h> | - |
69 | #include <xcb/shape.h> | - |
70 | | - |
71 | | - |
72 | #ifdef XCB_ICCCM_NUM_WM_SIZE_HINTS_ELEMENTS | - |
73 | #define xcb_get_wm_hints_reply xcb_icccm_get_wm_hints_reply | - |
74 | #define xcb_get_wm_hints xcb_icccm_get_wm_hints | - |
75 | #define xcb_get_wm_hints_unchecked xcb_icccm_get_wm_hints_unchecked | - |
76 | #define xcb_set_wm_hints xcb_icccm_set_wm_hints | - |
77 | #define xcb_set_wm_normal_hints xcb_icccm_set_wm_normal_hints | - |
78 | #define xcb_size_hints_set_base_size xcb_icccm_size_hints_set_base_size | - |
79 | #define xcb_size_hints_set_max_size xcb_icccm_size_hints_set_max_size | - |
80 | #define xcb_size_hints_set_min_size xcb_icccm_size_hints_set_min_size | - |
81 | #define xcb_size_hints_set_position xcb_icccm_size_hints_set_position | - |
82 | #define xcb_size_hints_set_resize_inc xcb_icccm_size_hints_set_resize_inc | - |
83 | #define xcb_size_hints_set_size xcb_icccm_size_hints_set_size | - |
84 | #define xcb_size_hints_set_win_gravity xcb_icccm_size_hints_set_win_gravity | - |
85 | #define xcb_wm_hints_set_iconic xcb_icccm_wm_hints_set_iconic | - |
86 | #define xcb_wm_hints_set_normal xcb_icccm_wm_hints_set_normal | - |
87 | #define xcb_wm_hints_set_input xcb_icccm_wm_hints_set_input | - |
88 | #define xcb_wm_hints_t xcb_icccm_wm_hints_t | - |
89 | #define XCB_WM_STATE_ICONIC XCB_ICCCM_WM_STATE_ICONIC | - |
90 | #define XCB_WM_STATE_WITHDRAWN XCB_ICCCM_WM_STATE_WITHDRAWN | - |
91 | #endif | - |
92 | | - |
93 | #include <private/qguiapplication_p.h> | - |
94 | #include <private/qwindow_p.h> | - |
95 | | - |
96 | #include <qpa/qplatformbackingstore.h> | - |
97 | #include <qpa/qwindowsysteminterface.h> | - |
98 | | - |
99 | #include <QTextCodec> | - |
100 | #include <stdio.h> | - |
101 | | - |
102 | #ifdef XCB_USE_XLIB | - |
103 | #include <X11/Xlib.h> | - |
104 | #include <X11/Xutil.h> | - |
105 | #endif | - |
106 | | - |
107 | #if defined(XCB_USE_XINPUT2) | - |
108 | #include <X11/extensions/XInput2.h> | - |
109 | #include <X11/extensions/XI2proto.h> | - |
110 | #endif | - |
111 | | - |
112 | #define XCOORD_MAX 16383 | - |
113 | enum { | - |
114 | defaultWindowWidth = 160, | - |
115 | defaultWindowHeight = 160 | - |
116 | }; | - |
117 | | - |
118 | | - |
119 | | - |
120 | QT_BEGIN_NAMESPACE | - |
121 | | - |
122 | #undef FocusIn | - |
123 | | - |
124 | enum QX11EmbedFocusInDetail { | - |
125 | XEMBED_FOCUS_CURRENT = 0, | - |
126 | XEMBED_FOCUS_FIRST = 1, | - |
127 | XEMBED_FOCUS_LAST = 2 | - |
128 | }; | - |
129 | | - |
130 | enum QX11EmbedInfoFlags { | - |
131 | XEMBED_MAPPED = (1 << 0), | - |
132 | }; | - |
133 | | - |
134 | enum QX11EmbedMessageType { | - |
135 | XEMBED_EMBEDDED_NOTIFY = 0, | - |
136 | XEMBED_WINDOW_ACTIVATE = 1, | - |
137 | XEMBED_WINDOW_DEACTIVATE = 2, | - |
138 | XEMBED_REQUEST_FOCUS = 3, | - |
139 | XEMBED_FOCUS_IN = 4, | - |
140 | XEMBED_FOCUS_OUT = 5, | - |
141 | XEMBED_FOCUS_NEXT = 6, | - |
142 | XEMBED_FOCUS_PREV = 7, | - |
143 | XEMBED_MODALITY_ON = 10, | - |
144 | XEMBED_MODALITY_OFF = 11, | - |
145 | XEMBED_REGISTER_ACCELERATOR = 12, | - |
146 | XEMBED_UNREGISTER_ACCELERATOR = 13, | - |
147 | XEMBED_ACTIVATE_ACCELERATOR = 14 | - |
148 | }; | - |
149 | | - |
150 | const quint32 XEMBED_VERSION = 0; | - |
151 | | - |
152 | QXcbScreen *QXcbWindow::parentScreen() | - |
153 | { | - |
154 | return parent() ? static_cast<QXcbWindow*>(parent())->parentScreen() : xcbScreen();executed 335 times by 6 tests: return parent() ? static_cast<QXcbWindow*>(parent())->parentScreen() : xcbScreen(); Executed by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| 335 |
155 | } | - |
156 | | - |
157 | | - |
158 | static inline bool isTransient(const QWindow *w) | - |
159 | { | - |
160 | return w->type() == Qt::Dialogexecuted 3918 times by 122 tests: return w->type() == Qt::Dialog || w->type() == Qt::Sheet || w->type() == Qt::Tool || w->type() == Qt::SplashScreen || w->type() == Qt::ToolTip || w->type() == Qt::Drawer || w->type() == Qt::Popup; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
161 | || w->type() == Qt::Sheetexecuted 3918 times by 122 tests: return w->type() == Qt::Dialog || w->type() == Qt::Sheet || w->type() == Qt::Tool || w->type() == Qt::SplashScreen || w->type() == Qt::ToolTip || w->type() == Qt::Drawer || w->type() == Qt::Popup; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
162 | || w->type() == Qt::Toolexecuted 3918 times by 122 tests: return w->type() == Qt::Dialog || w->type() == Qt::Sheet || w->type() == Qt::Tool || w->type() == Qt::SplashScreen || w->type() == Qt::ToolTip || w->type() == Qt::Drawer || w->type() == Qt::Popup; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
163 | || w->type() == Qt::SplashScreenexecuted 3918 times by 122 tests: return w->type() == Qt::Dialog || w->type() == Qt::Sheet || w->type() == Qt::Tool || w->type() == Qt::SplashScreen || w->type() == Qt::ToolTip || w->type() == Qt::Drawer || w->type() == Qt::Popup; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
164 | || w->type() == Qt::ToolTipexecuted 3918 times by 122 tests: return w->type() == Qt::Dialog || w->type() == Qt::Sheet || w->type() == Qt::Tool || w->type() == Qt::SplashScreen || w->type() == Qt::ToolTip || w->type() == Qt::Drawer || w->type() == Qt::Popup; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
165 | || w->type() == Qt::Drawerexecuted 3918 times by 122 tests: return w->type() == Qt::Dialog || w->type() == Qt::Sheet || w->type() == Qt::Tool || w->type() == Qt::SplashScreen || w->type() == Qt::ToolTip || w->type() == Qt::Drawer || w->type() == Qt::Popup; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
166 | || w->type() == Qt::Popup;executed 3918 times by 122 tests: return w->type() == Qt::Dialog || w->type() == Qt::Sheet || w->type() == Qt::Tool || w->type() == Qt::SplashScreen || w->type() == Qt::ToolTip || w->type() == Qt::Drawer || w->type() == Qt::Popup; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
167 | } | - |
168 | | - |
169 | static inline QImage::Format imageFormatForVisual(int depth, quint32 red_mask, quint32 blue_mask, bool *rgbSwap) | - |
170 | { | - |
171 | if (rgbSwap)TRUE | evaluated 4405 times by 128 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-4405 |
172 | *rgbSwap = false;executed 4405 times by 128 tests: *rgbSwap = false; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4405 |
173 | switch (depth) { | - |
174 | case 32:executed 4 times by 2 tests: case 32: Executed by:- tst_QSystemTrayIcon
- tst_QWidget
| 4 |
175 | if (blue_mask == 0xff)TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_QSystemTrayIcon
- tst_QWidget
| FALSE | never evaluated |
| 0-4 |
176 | return QImage::Format_ARGB32_Premultiplied;executed 4 times by 2 tests: return QImage::Format_ARGB32_Premultiplied; Executed by:- tst_QSystemTrayIcon
- tst_QWidget
| 4 |
177 | if (red_mask == 0x3ff)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
178 | return QImage::Format_A2BGR30_Premultiplied; never executed: return QImage::Format_A2BGR30_Premultiplied; | 0 |
179 | if (blue_mask == 0x3ff)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
180 | return QImage::Format_A2RGB30_Premultiplied; never executed: return QImage::Format_A2RGB30_Premultiplied; | 0 |
181 | if (red_mask == 0xff) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
182 | if (rgbSwap)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
183 | *rgbSwap = true; never executed: *rgbSwap = true; | 0 |
184 | return QImage::Format_ARGB32_Premultiplied; never executed: return QImage::Format_ARGB32_Premultiplied; | 0 |
185 | } | - |
186 | break; never executed: break; | 0 |
187 | case 30: never executed: case 30: | 0 |
188 | if (red_mask == 0x3ff)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
189 | return QImage::Format_BGR30; never executed: return QImage::Format_BGR30; | 0 |
190 | if (blue_mask == 0x3ff)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
191 | return QImage::Format_RGB30; never executed: return QImage::Format_RGB30; | 0 |
192 | break; never executed: break; | 0 |
193 | case 24:executed 4401 times by 128 tests: case 24: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4401 |
194 | if (blue_mask == 0xff)TRUE | evaluated 4401 times by 128 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-4401 |
195 | return QImage::Format_RGB32;executed 4401 times by 128 tests: return QImage::Format_RGB32; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4401 |
196 | if (red_mask == 0xff) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
197 | if (rgbSwap)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
198 | *rgbSwap = true; never executed: *rgbSwap = true; | 0 |
199 | return QImage::Format_RGB32; never executed: return QImage::Format_RGB32; | 0 |
200 | } | - |
201 | break; never executed: break; | 0 |
202 | case 16: never executed: case 16: | 0 |
203 | if (blue_mask == 0x1f)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
204 | return QImage::Format_RGB16; never executed: return QImage::Format_RGB16; | 0 |
205 | if (red_mask == 0x1f) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
206 | if (rgbSwap)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
207 | *rgbSwap = true; never executed: *rgbSwap = true; | 0 |
208 | return QImage::Format_RGB16; never executed: return QImage::Format_RGB16; | 0 |
209 | } | - |
210 | break; never executed: break; | 0 |
211 | case 15: never executed: case 15: | 0 |
212 | if (blue_mask == 0x1f)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
213 | return QImage::Format_RGB555; never executed: return QImage::Format_RGB555; | 0 |
214 | if (red_mask == 0x1f) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
215 | if (rgbSwap)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
216 | *rgbSwap = true; never executed: *rgbSwap = true; | 0 |
217 | return QImage::Format_RGB555; never executed: return QImage::Format_RGB555; | 0 |
218 | } | - |
219 | break; never executed: break; | 0 |
220 | default: never executed: default: | 0 |
221 | break; never executed: break; | 0 |
222 | } | - |
223 | qWarning("Unsupported screen format: depth: %d, red_mask: %x, blue_mask: %x", depth, red_mask, blue_mask); | - |
224 | | - |
225 | switch (depth) { | - |
226 | case 24: never executed: case 24: | 0 |
227 | qWarning("Using RGB32 fallback, if this works your X11 server is reporting a bad screen format."); | - |
228 | return QImage::Format_RGB32; never executed: return QImage::Format_RGB32; | 0 |
229 | case 16: never executed: case 16: | 0 |
230 | qWarning("Using RGB16 fallback, if this works your X11 server is reporting a bad screen format."); | - |
231 | return QImage::Format_RGB16; never executed: return QImage::Format_RGB16; | 0 |
232 | default: never executed: default: | 0 |
233 | break; never executed: break; | 0 |
234 | } | - |
235 | | - |
236 | return QImage::Format_Invalid; never executed: return QImage::Format_Invalid; | 0 |
237 | } | - |
238 | | - |
239 | static inline bool positionIncludesFrame(QWindow *w) | - |
240 | { | - |
241 | return qt_window_private(w)->positionPolicy == QWindowPrivate::WindowFrameInclusive;executed 4301 times by 122 tests: return qt_window_private(w)->positionPolicy == QWindowPrivate::WindowFrameInclusive; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4301 |
242 | } | - |
243 | | - |
244 | #ifdef XCB_USE_XLIB | - |
245 | static inline XTextProperty* qstringToXTP(Display *dpy, const QString& s) | - |
246 | { | - |
247 | #include <X11/Xatom.h> | - |
248 | | - |
249 | static XTextProperty tp = { 0, 0, 0, 0 }; | - |
250 | static bool free_prop = true; | - |
251 | | - |
252 | if (tp.value) {TRUE | evaluated 8556 times by 121 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 129 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 129-8556 |
253 | if (free_prop)TRUE | evaluated 8556 times by 121 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | never evaluated |
| 0-8556 |
254 | XFree(tp.value);executed 8556 times by 121 tests: XFree(tp.value); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 8556 |
255 | tp.value = 0; | - |
256 | free_prop = true; | - |
257 | }executed 8556 times by 121 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 8556 |
258 | | - |
259 | static const QTextCodec* mapper = QTextCodec::codecForLocale(); | - |
260 | int errCode = 0; | - |
261 | if (mapper) {TRUE | evaluated 8685 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-8685 |
262 | QByteArray mapped = mapper->fromUnicode(s); | - |
263 | char* tl[2]; | - |
264 | tl[0] = mapped.data(); | - |
265 | tl[1] = 0; | - |
266 | errCode = XmbTextListToTextProperty(dpy, tl, 1, XStdICCTextStyle, &tp); | - |
267 | if (errCode < 0)TRUE | never evaluated | FALSE | evaluated 8685 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-8685 |
268 | qDebug("XmbTextListToTextProperty result code %d", errCode); never executed: QMessageLogger(__FILE__, 268, __PRETTY_FUNCTION__).debug("XmbTextListToTextProperty result code %d", errCode); | 0 |
269 | }executed 8685 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 8685 |
270 | if (!mapper || errCode < 0) {TRUE | never evaluated | FALSE | evaluated 8685 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
TRUE | never evaluated | FALSE | evaluated 8685 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-8685 |
271 | mapper = QTextCodec::codecForName("latin1"); | - |
272 | if (!mapper || !mapper->canEncode(s))TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
273 | return Q_NULLPTR; never executed: return nullptr; | 0 |
274 | static QByteArray qcs; | - |
275 | qcs = s.toLatin1(); | - |
276 | tp.value = (uchar*)qcs.data(); | - |
277 | tp.encoding = XA_STRING; | - |
278 | tp.format = 8; | - |
279 | tp.nitems = qcs.length(); | - |
280 | free_prop = false; | - |
281 | } never executed: end of block | 0 |
282 | return &tp;executed 8685 times by 125 tests: return &tp; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 8685 |
283 | } | - |
284 | #endif // XCB_USE_XLIB | - |
285 | | - |
286 | | - |
287 | static QWindow *childWindowAt(QWindow *win, const QPoint &p) | - |
288 | { | - |
289 | for (QObject *obj : win->children()) { | - |
290 | if (obj->isWindowType()) {TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
| 0-3 |
291 | QWindow *childWin = static_cast<QWindow *>(obj); | - |
292 | if (childWin->isVisible()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 1 time by 1 test |
| 1-2 |
293 | if (QWindow *recurse = childWindowAt(childWin, p))TRUE | evaluated 2 times by 1 test | FALSE | never evaluated |
| 0-2 |
294 | return recurse;executed 2 times by 1 test: return recurse; | 2 |
295 | } never executed: end of block | 0 |
296 | }executed 1 time by 1 test: end of block | 1 |
297 | }executed 1 time by 1 test: end of block | 1 |
298 | if (!win->isTopLevel()TRUE | evaluated 1 time by 1 test | FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QApplication
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWindow
|
| 1-5 |
299 | && !(win->flags() & Qt::WindowTransparentForInput)TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
| 0-1 |
300 | && win->geometry().contains(win->parent()->mapFromGlobal(p))) {TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
| 0-1 |
301 | return win;executed 1 time by 1 test: return win; | 1 |
302 | } | - |
303 | return Q_NULLPTR;executed 5 times by 3 tests: return nullptr; Executed by:- tst_QApplication
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWindow
| 5 |
304 | } | - |
305 | | - |
306 | static const char *wm_window_type_property_id = "_q_xcb_wm_window_type"; | - |
307 | static const char *wm_window_role_property_id = "_q_xcb_wm_window_role"; | - |
308 | | - |
309 | QXcbWindow::QXcbWindow(QWindow *window) | - |
310 | : QPlatformWindow(window) | - |
311 | , m_window(0) | - |
312 | , m_syncCounter(0) | - |
313 | , m_gravity(XCB_GRAVITY_STATIC) | - |
314 | , m_mapped(false) | - |
315 | , m_transparent(false) | - |
316 | , m_usingSyncProtocol(false) | - |
317 | , m_deferredActivation(false) | - |
318 | , m_embedded(false) | - |
319 | , m_alertState(false) | - |
320 | , m_netWmUserTimeWindow(XCB_NONE) | - |
321 | , m_dirtyFrameMargins(false) | - |
322 | , m_lastWindowStateEvent(-1) | - |
323 | , m_syncState(NoSyncNeeded) | - |
324 | , m_pendingSyncRequest(0) | - |
325 | , m_currentBitmapCursor(XCB_CURSOR_NONE) | - |
326 | { | - |
327 | setConnection(xcbScreen()->connection()); | - |
328 | }executed 4405 times by 128 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4405 |
329 | | - |
330 | #ifdef Q_COMPILER_CLASS_ENUM | - |
331 | enum : quint32 { | - |
332 | #else | - |
333 | enum { | - |
334 | #endif | - |
335 | baseEventMask | - |
336 | = XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_STRUCTURE_NOTIFY | - |
337 | | XCB_EVENT_MASK_PROPERTY_CHANGE | XCB_EVENT_MASK_FOCUS_CHANGE, | - |
338 | | - |
339 | defaultEventMask = baseEventMask | - |
340 | | XCB_EVENT_MASK_KEY_PRESS | XCB_EVENT_MASK_KEY_RELEASE | - |
341 | | XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | - |
342 | | XCB_EVENT_MASK_BUTTON_MOTION | XCB_EVENT_MASK_ENTER_WINDOW | XCB_EVENT_MASK_LEAVE_WINDOW | - |
343 | | XCB_EVENT_MASK_POINTER_MOTION, | - |
344 | | - |
345 | transparentForInputEventMask = baseEventMask | - |
346 | | XCB_EVENT_MASK_VISIBILITY_CHANGE | XCB_EVENT_MASK_RESIZE_REDIRECT | - |
347 | | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | - |
348 | | XCB_EVENT_MASK_COLOR_MAP_CHANGE | XCB_EVENT_MASK_OWNER_GRAB_BUTTON | - |
349 | }; | - |
350 | | - |
351 | void QXcbWindow::create() | - |
352 | { | - |
353 | if (window()->type() == Qt::ForeignWindow) {TRUE | never evaluated | FALSE | evaluated 4405 times by 128 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4405 |
354 | m_window = window()->winId(); | - |
355 | return; never executed: return; | 0 |
356 | } | - |
357 | | - |
358 | destroy(); | - |
359 | | - |
360 | m_windowState = Qt::WindowNoState; | - |
361 | | - |
362 | Qt::WindowType type = window()->type(); | - |
363 | | - |
364 | QXcbScreen *currentScreen = xcbScreen(); | - |
365 | QRect rect = windowGeometry(); | - |
366 | QXcbScreen *platformScreen = parent() ? parentScreen() : static_cast<QXcbScreen*>(screenForGeometry(rect));TRUE | evaluated 97 times by 6 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| FALSE | evaluated 4308 times by 128 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 97-4308 |
367 | | - |
368 | if (type == Qt::Desktop) {TRUE | evaluated 298 times by 117 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 298-4107 |
369 | m_window = platformScreen->root(); | - |
370 | m_depth = platformScreen->screen()->root_depth; | - |
371 | m_visualId = platformScreen->screen()->root_visual; | - |
372 | const xcb_visualtype_t *visual = 0; | - |
373 | if (connection()->hasDefaultVisualId()) {TRUE | never evaluated | FALSE | evaluated 298 times by 117 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 0-298 |
374 | visual = platformScreen->visualForId(connection()->defaultVisualId()); | - |
375 | if (visual)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
376 | m_visualId = connection()->defaultVisualId(); never executed: m_visualId = connection()->defaultVisualId(); | 0 |
377 | if (!visual)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
378 | qWarning("Could not use default visual id. Falling back to root_visual for screen."); never executed: QMessageLogger(__FILE__, 378, __PRETTY_FUNCTION__).warning("Could not use default visual id. Falling back to root_visual for screen."); | 0 |
379 | } never executed: end of block | 0 |
380 | if (!visual)TRUE | evaluated 298 times by 117 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | never evaluated |
| 0-298 |
381 | visual = platformScreen->visualForId(m_visualId);executed 298 times by 117 tests: visual = platformScreen->visualForId(m_visualId); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 298 |
382 | m_imageFormat = imageFormatForVisual(m_depth, visual->red_mask, visual->blue_mask, &m_imageRgbSwap); | - |
383 | connection()->addWindowEventListener(m_window, this); | - |
384 | return;executed 298 times by 117 tests: return; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 298 |
385 | } | - |
386 | | - |
387 | | - |
388 | | - |
389 | | - |
390 | QPlatformWindow::setGeometry(rect); | - |
391 | | - |
392 | if (platformScreen != currentScreen)TRUE | never evaluated | FALSE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4107 |
393 | QWindowSystemInterface::handleWindowScreenChanged(window(), platformScreen->QPlatformScreen::screen()); never executed: QWindowSystemInterface::handleWindowScreenChanged(window(), platformScreen->QPlatformScreen::screen()); | 0 |
394 | | - |
395 | const QSize minimumSize = windowMinimumSize(); | - |
396 | if (rect.width() > 0 || rect.height() > 0) {TRUE | evaluated 4034 times by 119 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 73 times by 13 testsEvaluated by:- tst_QApplication
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QMdiArea
- tst_QMenuBar
- tst_QMouseEvent
- tst_QOpenGlConfig
- tst_QWidget
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
|
TRUE | never evaluated | FALSE | evaluated 73 times by 13 testsEvaluated by:- tst_QApplication
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QMdiArea
- tst_QMenuBar
- tst_QMouseEvent
- tst_QOpenGlConfig
- tst_QWidget
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
|
| 0-4034 |
397 | rect.setWidth(qBound(1, rect.width(), XCOORD_MAX)); | - |
398 | rect.setHeight(qBound(1, rect.height(), XCOORD_MAX)); | - |
399 | } else if (minimumSize.width() > 0 || minimumSize.height() > 0) {executed 4034 times by 119 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
TRUE | never evaluated | FALSE | evaluated 73 times by 13 testsEvaluated by:- tst_QApplication
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QMdiArea
- tst_QMenuBar
- tst_QMouseEvent
- tst_QOpenGlConfig
- tst_QWidget
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
|
TRUE | never evaluated | FALSE | evaluated 73 times by 13 testsEvaluated by:- tst_QApplication
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QMdiArea
- tst_QMenuBar
- tst_QMouseEvent
- tst_QOpenGlConfig
- tst_QWidget
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
|
| 0-4034 |
400 | rect.setSize(minimumSize); | - |
401 | } else { never executed: end of block | 0 |
402 | rect.setWidth(QHighDpi::toNativePixels(int(defaultWindowWidth), platformScreen->QPlatformScreen::screen())); | - |
403 | rect.setHeight(QHighDpi::toNativePixels(int(defaultWindowHeight), platformScreen->QPlatformScreen::screen())); | - |
404 | }executed 73 times by 13 tests: end of block Executed by:- tst_QApplication
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QMdiArea
- tst_QMenuBar
- tst_QMouseEvent
- tst_QOpenGlConfig
- tst_QWidget
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
| 73 |
405 | | - |
406 | xcb_window_t xcb_parent_id = platformScreen->root(); | - |
407 | if (parent()) {TRUE | evaluated 97 times by 6 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| FALSE | evaluated 4010 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 97-4010 |
408 | xcb_parent_id = static_cast<QXcbWindow *>(parent())->xcb_window(); | - |
409 | m_embedded = parent()->window()->type() == Qt::ForeignWindow; | - |
410 | | - |
411 | QSurfaceFormat parentFormat = parent()->window()->requestedFormat(); | - |
412 | if (window()->surfaceType() != QSurface::OpenGLSurface && parentFormat.hasAlpha()) {TRUE | evaluated 97 times by 6 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 97 times by 6 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
|
| 0-97 |
413 | window()->setFormat(parentFormat); | - |
414 | } never executed: end of block | 0 |
415 | }executed 97 times by 6 tests: end of block Executed by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| 97 |
416 | | - |
417 | resolveFormat(platformScreen->surfaceFormatFor(window()->requestedFormat())); | - |
418 | | - |
419 | const xcb_visualtype_t *visual = Q_NULLPTR; | - |
420 | | - |
421 | if (connection()->hasDefaultVisualId()) {TRUE | never evaluated | FALSE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4107 |
422 | visual = platformScreen->visualForId(connection()->defaultVisualId()); | - |
423 | if (!visual)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
424 | qWarning() << "Failed to use requested visual id."; never executed: QMessageLogger(__FILE__, 424, __PRETTY_FUNCTION__).warning() << "Failed to use requested visual id."; | 0 |
425 | } never executed: end of block | 0 |
426 | | - |
427 | if (!visual)TRUE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-4107 |
428 | visual = createVisual();executed 4107 times by 125 tests: visual = createVisual(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4107 |
429 | | - |
430 | if (!visual) {TRUE | never evaluated | FALSE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4107 |
431 | qWarning() << "Falling back to using screens root_visual."; | - |
432 | visual = platformScreen->visualForId(platformScreen->screen()->root_visual); | - |
433 | } never executed: end of block | 0 |
434 | | - |
435 | Q_ASSERT(visual); | - |
436 | | - |
437 | m_visualId = visual->visual_id; | - |
438 | m_depth = platformScreen->depthOfVisual(m_visualId); | - |
439 | m_imageFormat = imageFormatForVisual(m_depth, visual->red_mask, visual->blue_mask, &m_imageRgbSwap); | - |
440 | xcb_colormap_t colormap = 0; | - |
441 | | - |
442 | quint32 mask = XCB_CW_BACK_PIXMAP | - |
443 | | XCB_CW_BORDER_PIXEL | - |
444 | | XCB_CW_BIT_GRAVITY | - |
445 | | XCB_CW_OVERRIDE_REDIRECT | - |
446 | | XCB_CW_SAVE_UNDER | - |
447 | | XCB_CW_EVENT_MASK; | - |
448 | | - |
449 | static const bool haveOpenGL = QGuiApplicationPrivate::platformIntegration()->hasCapability(QPlatformIntegration::OpenGL); | - |
450 | | - |
451 | if ((window()->supportsOpenGL() && haveOpenGL) || m_format.hasAlpha()) {TRUE | evaluated 3974 times by 118 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 133 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QLineEdit
- tst_QMouseEvent
- tst_QRasterWindow
- tst_QTouchEvent
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
|
TRUE | evaluated 3974 times by 118 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 133 times by 12 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QLineEdit
- tst_QMouseEvent
- tst_QRasterWindow
- tst_QTouchEvent
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
|
| 0-3974 |
452 | colormap = xcb_generate_id(xcb_connection()); | - |
453 | Q_XCB_CALL(xcb_create_colormap(xcb_connection(), | - |
454 | XCB_COLORMAP_ALLOC_NONE, | - |
455 | colormap, | - |
456 | xcb_parent_id, | - |
457 | m_visualId)); | - |
458 | | - |
459 | mask |= XCB_CW_COLORMAP; | - |
460 | }executed 3974 times by 118 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 3974 |
461 | | - |
462 | quint32 values[] = { | - |
463 | XCB_BACK_PIXMAP_NONE, | - |
464 | platformScreen->screen()->black_pixel, | - |
465 | XCB_GRAVITY_NORTH_WEST, | - |
466 | type == Qt::Popup || type == Qt::ToolTip || (window()->flags() & Qt::BypassWindowManagerHint), | - |
467 | type == Qt::Popup || type == Qt::Tool || type == Qt::SplashScreen || type == Qt::ToolTip || type == Qt::Drawer, | - |
468 | defaultEventMask, | - |
469 | colormap | - |
470 | }; | - |
471 | | - |
472 | m_window = xcb_generate_id(xcb_connection()); | - |
473 | Q_XCB_CALL(xcb_create_window(xcb_connection(), | - |
474 | m_depth, | - |
475 | m_window, | - |
476 | xcb_parent_id, | - |
477 | rect.x(), | - |
478 | rect.y(), | - |
479 | rect.width(), | - |
480 | rect.height(), | - |
481 | 0, | - |
482 | XCB_WINDOW_CLASS_INPUT_OUTPUT, | - |
483 | m_visualId, | - |
484 | mask, | - |
485 | values)); | - |
486 | | - |
487 | connection()->addWindowEventListener(m_window, this); | - |
488 | | - |
489 | Q_XCB_CALL(xcb_change_window_attributes(xcb_connection(), m_window, mask, values)); | - |
490 | | - |
491 | propagateSizeHints(); | - |
492 | | - |
493 | xcb_atom_t properties[5]; | - |
494 | int propertyCount = 0; | - |
495 | properties[propertyCount++] = atom(QXcbAtom::WM_DELETE_WINDOW); | - |
496 | properties[propertyCount++] = atom(QXcbAtom::WM_TAKE_FOCUS); | - |
497 | properties[propertyCount++] = atom(QXcbAtom::_NET_WM_PING); | - |
498 | | - |
499 | m_usingSyncProtocol = platformScreen->syncRequestSupported(); | - |
500 | | - |
501 | if (m_usingSyncProtocol)TRUE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-4107 |
502 | properties[propertyCount++] = atom(QXcbAtom::_NET_WM_SYNC_REQUEST);executed 4107 times by 125 tests: properties[propertyCount++] = atom(QXcbAtom::_NET_WM_SYNC_REQUEST); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4107 |
503 | | - |
504 | if (window()->flags() & Qt::WindowContextHelpButtonHint)TRUE | evaluated 223 times by 25 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| FALSE | evaluated 3884 times by 121 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 223-3884 |
505 | properties[propertyCount++] = atom(QXcbAtom::_NET_WM_CONTEXT_HELP);executed 223 times by 25 tests: properties[propertyCount++] = atom(QXcbAtom::_NET_WM_CONTEXT_HELP); Executed by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWizard
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| 223 |
506 | | - |
507 | Q_XCB_CALL(xcb_change_property(xcb_connection(), | - |
508 | XCB_PROP_MODE_REPLACE, | - |
509 | m_window, | - |
510 | atom(QXcbAtom::WM_PROTOCOLS), | - |
511 | XCB_ATOM_ATOM, | - |
512 | 32, | - |
513 | propertyCount, | - |
514 | properties)); | - |
515 | m_syncValue.hi = 0; | - |
516 | m_syncValue.lo = 0; | - |
517 | | - |
518 | const QByteArray wmClass = QXcbIntegration::instance()->wmClass(); | - |
519 | if (!wmClass.isEmpty()) {TRUE | evaluated 4056 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 51 times by 2 testsEvaluated by:- tst_QApplication
- tst_QGuiApplication
|
| 51-4056 |
520 | Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, | - |
521 | m_window, atom(QXcbAtom::WM_CLASS), | - |
522 | XCB_ATOM_STRING, 8, wmClass.size(), wmClass.constData())); | - |
523 | }executed 4056 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4056 |
524 | | - |
525 | if (m_usingSyncProtocol) {TRUE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-4107 |
526 | m_syncCounter = xcb_generate_id(xcb_connection()); | - |
527 | Q_XCB_CALL(xcb_sync_create_counter(xcb_connection(), m_syncCounter, m_syncValue)); | - |
528 | | - |
529 | Q_XCB_CALL(xcb_change_property(xcb_connection(), | - |
530 | XCB_PROP_MODE_REPLACE, | - |
531 | m_window, | - |
532 | atom(QXcbAtom::_NET_WM_SYNC_REQUEST_COUNTER), | - |
533 | XCB_ATOM_CARDINAL, | - |
534 | 32, | - |
535 | 1, | - |
536 | &m_syncCounter)); | - |
537 | }executed 4107 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4107 |
538 | | - |
539 | | - |
540 | quint32 pid = getpid(); | - |
541 | Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, | - |
542 | atom(QXcbAtom::_NET_WM_PID), XCB_ATOM_CARDINAL, 32, | - |
543 | 1, &pid)); | - |
544 | | - |
545 | xcb_wm_hints_t hints; | - |
546 | memset(&hints, 0, sizeof(hints)); | - |
547 | xcb_wm_hints_set_normal(&hints); | - |
548 | | - |
549 | xcb_wm_hints_set_input(&hints, !(window()->flags() & Qt::WindowDoesNotAcceptFocus)); | - |
550 | | - |
551 | xcb_set_wm_hints(xcb_connection(), m_window, &hints); | - |
552 | | - |
553 | xcb_window_t leader = connection()->clientLeader(); | - |
554 | Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, | - |
555 | atom(QXcbAtom::WM_CLIENT_LEADER), XCB_ATOM_WINDOW, 32, | - |
556 | 1, &leader)); | - |
557 | | - |
558 | | - |
559 | quint32 data[] = { XEMBED_VERSION, XEMBED_MAPPED }; | - |
560 | Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, | - |
561 | atom(QXcbAtom::_XEMBED_INFO), | - |
562 | atom(QXcbAtom::_XEMBED_INFO), | - |
563 | 32, 2, (void *)data)); | - |
564 | | - |
565 | | - |
566 | #if defined(XCB_USE_XINPUT2) | - |
567 | connection()->xi2Select(m_window); | - |
568 | #endif | - |
569 | | - |
570 | setWindowState(window()->windowState()); | - |
571 | setWindowFlags(window()->flags()); | - |
572 | setWindowTitle(window()->title()); | - |
573 | | - |
574 | if (window()->flags() & Qt::WindowTransparentForInput)TRUE | evaluated 1 time by 1 test | FALSE | evaluated 4106 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 1-4106 |
575 | setTransparentForMouseEvents(true);executed 1 time by 1 test: setTransparentForMouseEvents(true); | 1 |
576 | | - |
577 | #ifdef XCB_USE_XLIB | - |
578 | | - |
579 | XSync(DISPLAY_FROM_XCB(platformScreen), false); | - |
580 | #endif | - |
581 | | - |
582 | #ifndef QT_NO_DRAGANDDROP | - |
583 | connection()->drag()->dndEnable(this, true); | - |
584 | #endif | - |
585 | | - |
586 | const qreal opacity = qt_window_private(window())->opacity; | - |
587 | if (!qFuzzyCompare(opacity, qreal(1.0)))TRUE | never evaluated | FALSE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4107 |
588 | setOpacity(opacity); never executed: setOpacity(opacity); | 0 |
589 | if (window()->isTopLevel())TRUE | evaluated 4010 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 97 times by 6 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
|
| 97-4010 |
590 | setWindowIcon(window()->icon());executed 4010 times by 125 tests: setWindowIcon(window()->icon()); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4010 |
591 | | - |
592 | if (window()->dynamicPropertyNames().contains(wm_window_role_property_id)) {TRUE | never evaluated | FALSE | evaluated 4107 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4107 |
593 | QByteArray wmWindowRole = window()->property(wm_window_role_property_id).toByteArray(); | - |
594 | setWmWindowRole(wmWindowRole); | - |
595 | } never executed: end of block | 0 |
596 | }executed 4107 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4107 |
597 | | - |
598 | QXcbWindow::~QXcbWindow() | - |
599 | { | - |
600 | if (m_currentBitmapCursor != XCB_CURSOR_NONE) {TRUE | never evaluated | FALSE | evaluated 4398 times by 239 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4398 |
601 | xcb_free_cursor(xcb_connection(), m_currentBitmapCursor); | - |
602 | } never executed: end of block | 0 |
603 | if (window()->type() != Qt::ForeignWindow)TRUE | evaluated 4398 times by 239 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-4398 |
604 | destroy();executed 4398 times by 239 tests: destroy(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4398 |
605 | else { | - |
606 | if (connection()->mouseGrabber() == this)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
607 | connection()->setMouseGrabber(Q_NULLPTR); never executed: connection()->setMouseGrabber(nullptr); | 0 |
608 | if (connection()->mousePressWindow() == this)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
609 | connection()->setMousePressWindow(Q_NULLPTR); never executed: connection()->setMousePressWindow(nullptr); | 0 |
610 | } never executed: end of block | 0 |
611 | } | - |
612 | | - |
613 | void QXcbWindow::destroy() | - |
614 | { | - |
615 | if (connection()->focusWindow() == this)TRUE | evaluated 2124 times by 103 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 6679 times by 242 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 2124-6679 |
616 | doFocusOut();executed 2124 times by 103 tests: doFocusOut(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2124 |
617 | if (connection()->mouseGrabber() == this)TRUE | never evaluated | FALSE | evaluated 8803 times by 242 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-8803 |
618 | connection()->setMouseGrabber(Q_NULLPTR); never executed: connection()->setMouseGrabber(nullptr); | 0 |
619 | | - |
620 | if (m_syncCounter && m_usingSyncProtocol)TRUE | evaluated 4104 times by 135 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 4699 times by 242 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
TRUE | evaluated 4104 times by 135 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-4699 |
621 | Q_XCB_CALL(xcb_sync_destroy_counter(xcb_connection(), m_syncCounter));executed 4104 times by 135 tests: xcb_sync_destroy_counter(xcb_connection(), m_syncCounter); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4104 |
622 | if (m_window) {TRUE | evaluated 4398 times by 239 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 4405 times by 128 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 4398-4405 |
623 | if (m_netWmUserTimeWindow) {TRUE | evaluated 3439 times by 108 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
| FALSE | evaluated 959 times by 218 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
| 959-3439 |
624 | xcb_delete_property(xcb_connection(), m_window, atom(QXcbAtom::_NET_WM_USER_TIME_WINDOW)); | - |
625 | | - |
626 | | - |
627 | connection()->sync(); | - |
628 | xcb_destroy_window(xcb_connection(), m_netWmUserTimeWindow); | - |
629 | m_netWmUserTimeWindow = XCB_NONE; | - |
630 | }executed 3439 times by 108 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
| 3439 |
631 | connection()->removeWindowEventListener(m_window); | - |
632 | Q_XCB_CALL(xcb_destroy_window(xcb_connection(), m_window)); | - |
633 | m_window = 0; | - |
634 | }executed 4398 times by 239 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4398 |
635 | m_mapped = false; | - |
636 | | - |
637 | if (m_pendingSyncRequest)TRUE | never evaluated | FALSE | evaluated 8803 times by 242 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-8803 |
638 | m_pendingSyncRequest->invalidate(); never executed: m_pendingSyncRequest->invalidate(); | 0 |
639 | }executed 8803 times by 242 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 8803 |
640 | | - |
641 | void QXcbWindow::setGeometry(const QRect &rect) | - |
642 | { | - |
643 | QPlatformWindow::setGeometry(rect); | - |
644 | | - |
645 | propagateSizeHints(); | - |
646 | | - |
647 | QXcbScreen *currentScreen = xcbScreen(); | - |
648 | QXcbScreen *newScreen = parent() ? parentScreen() : static_cast<QXcbScreen*>(screenForGeometry(rect));TRUE | evaluated 43 times by 5 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 2810 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
| 43-2810 |
649 | | - |
650 | if (!newScreen)TRUE | never evaluated | FALSE | evaluated 2853 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
| 0-2853 |
651 | newScreen = xcbScreen(); never executed: newScreen = xcbScreen(); | 0 |
652 | | - |
653 | const QRect wmGeometry = windowToWmGeometry(rect); | - |
654 | | - |
655 | if (newScreen != currentScreen)TRUE | never evaluated | FALSE | evaluated 2853 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
|
| 0-2853 |
656 | QWindowSystemInterface::handleWindowScreenChanged(window(), newScreen->QPlatformScreen::screen()); never executed: QWindowSystemInterface::handleWindowScreenChanged(window(), newScreen->QPlatformScreen::screen()); | 0 |
657 | | - |
658 | if (qt_window_private(window())->positionAutomatic) {TRUE | evaluated 1779 times by 86 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsAnchorLayout
- ...
| FALSE | evaluated 1074 times by 69 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
|
| 1074-1779 |
659 | const quint32 mask = XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT; | - |
660 | const qint32 values[] = { | - |
661 | qBound<qint32>(1, wmGeometry.width(), XCOORD_MAX), | - |
662 | qBound<qint32>(1, wmGeometry.height(), XCOORD_MAX), | - |
663 | }; | - |
664 | Q_XCB_CALL(xcb_configure_window(xcb_connection(), m_window, mask, reinterpret_cast<const quint32*>(values))); | - |
665 | } else {executed 1779 times by 86 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsAnchorLayout
- ...
| 1779 |
666 | const quint32 mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT; | - |
667 | const qint32 values[] = { | - |
668 | qBound<qint32>(-XCOORD_MAX, wmGeometry.x(), XCOORD_MAX), | - |
669 | qBound<qint32>(-XCOORD_MAX, wmGeometry.y(), XCOORD_MAX), | - |
670 | qBound<qint32>(1, wmGeometry.width(), XCOORD_MAX), | - |
671 | qBound<qint32>(1, wmGeometry.height(), XCOORD_MAX), | - |
672 | }; | - |
673 | Q_XCB_CALL(xcb_configure_window(xcb_connection(), m_window, mask, reinterpret_cast<const quint32*>(values))); | - |
674 | }executed 1074 times by 69 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 1074 |
675 | | - |
676 | xcb_flush(xcb_connection()); | - |
677 | }executed 2853 times by 106 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- ...
| 2853 |
678 | | - |
679 | QMargins QXcbWindow::frameMargins() const | - |
680 | { | - |
681 | if (m_dirtyFrameMargins) {TRUE | evaluated 4245 times by 100 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 9752 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 4245-9752 |
682 | if (connection()->wmSupport()->isSupportedByWM(atom(QXcbAtom::_NET_FRAME_EXTENTS))) {TRUE | evaluated 4245 times by 100 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | never evaluated |
| 0-4245 |
683 | xcb_get_property_cookie_t cookie = xcb_get_property(xcb_connection(), false, m_window, | - |
684 | atom(QXcbAtom::_NET_FRAME_EXTENTS), XCB_ATOM_CARDINAL, 0, 4); | - |
685 | QScopedPointer<xcb_get_property_reply_t, QScopedPointerPodDeleter> reply( | - |
686 | xcb_get_property_reply(xcb_connection(), cookie, NULL)); | - |
687 | if (reply && reply->type == XCB_ATOM_CARDINAL && reply->format == 32 && reply->value_len == 4) {TRUE | evaluated 3311 times by 98 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | evaluated 934 times by 71 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
|
TRUE | evaluated 3311 times by 98 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | never evaluated |
TRUE | evaluated 3311 times by 98 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| FALSE | never evaluated |
| 0-3311 |
688 | quint32 *data = (quint32 *)xcb_get_property_value(reply.data()); | - |
689 | | - |
690 | m_frameMargins = QMargins(data[0], data[2], data[1], data[3]); | - |
691 | m_dirtyFrameMargins = false; | - |
692 | return m_frameMargins;executed 3311 times by 98 tests: return m_frameMargins; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
| 3311 |
693 | } | - |
694 | }executed 934 times by 71 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 934 |
695 | | - |
696 | | - |
697 | | - |
698 | xcb_window_t window = m_window; | - |
699 | xcb_window_t parent = m_window; | - |
700 | | - |
701 | bool foundRoot = false; | - |
702 | | - |
703 | const QVector<xcb_window_t> &virtualRoots = | - |
704 | connection()->wmSupport()->virtualRoots(); | - |
705 | | - |
706 | while (!foundRoot) {TRUE | evaluated 1296 times by 71 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 934 times by 71 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
|
| 934-1296 |
707 | xcb_query_tree_cookie_t cookie = xcb_query_tree_unchecked(xcb_connection(), parent); | - |
708 | | - |
709 | xcb_query_tree_reply_t *reply = xcb_query_tree_reply(xcb_connection(), cookie, NULL); | - |
710 | if (reply) {TRUE | evaluated 1296 times by 71 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
| 0-1296 |
711 | if (reply->root == reply->parent || virtualRoots.indexOf(reply->parent) != -1 || reply->parent == XCB_WINDOW_NONE) {TRUE | evaluated 934 times by 71 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 362 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QHeaderView
- tst_QInputDialog
- ...
|
TRUE | never evaluated | FALSE | evaluated 362 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QHeaderView
- tst_QInputDialog
- ...
|
TRUE | never evaluated | FALSE | evaluated 362 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QHeaderView
- tst_QInputDialog
- ...
|
| 0-934 |
712 | foundRoot = true; | - |
713 | } else {executed 934 times by 71 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 934 |
714 | window = parent; | - |
715 | parent = reply->parent; | - |
716 | }executed 362 times by 56 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QHeaderView
- tst_QInputDialog
- ...
| 362 |
717 | | - |
718 | free(reply); | - |
719 | } else {executed 1296 times by 71 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 1296 |
720 | m_dirtyFrameMargins = false; | - |
721 | m_frameMargins = QMargins(); | - |
722 | return m_frameMargins; never executed: return m_frameMargins; | 0 |
723 | } | - |
724 | } | - |
725 | | - |
726 | QPoint offset; | - |
727 | | - |
728 | xcb_translate_coordinates_reply_t *reply = | - |
729 | xcb_translate_coordinates_reply( | - |
730 | xcb_connection(), | - |
731 | xcb_translate_coordinates(xcb_connection(), window, parent, 0, 0), | - |
732 | NULL); | - |
733 | | - |
734 | if (reply) {TRUE | evaluated 934 times by 71 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
| 0-934 |
735 | offset = QPoint(reply->dst_x, reply->dst_y); | - |
736 | free(reply); | - |
737 | }executed 934 times by 71 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 934 |
738 | | - |
739 | xcb_get_geometry_reply_t *geom = | - |
740 | xcb_get_geometry_reply( | - |
741 | xcb_connection(), | - |
742 | xcb_get_geometry(xcb_connection(), parent), | - |
743 | NULL); | - |
744 | | - |
745 | if (geom) {TRUE | evaluated 934 times by 71 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| FALSE | never evaluated |
| 0-934 |
746 | | - |
747 | | - |
748 | | - |
749 | | - |
750 | | - |
751 | | - |
752 | | - |
753 | | - |
754 | | - |
755 | int left = offset.x() + geom->border_width; | - |
756 | int top = offset.y() + geom->border_width; | - |
757 | int right = geom->width + geom->border_width - geometry().width() - offset.x(); | - |
758 | int bottom = geom->height + geom->border_width - geometry().height() - offset.y(); | - |
759 | | - |
760 | m_frameMargins = QMargins(left, top, right, bottom); | - |
761 | | - |
762 | free(geom); | - |
763 | }executed 934 times by 71 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 934 |
764 | | - |
765 | m_dirtyFrameMargins = false; | - |
766 | }executed 934 times by 71 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGraphicsEffect
- tst_QGraphicsEffectSource
- tst_QGraphicsGridLayout
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- tst_QGraphicsProxyWidget
- ...
| 934 |
767 | | - |
768 | return m_frameMargins;executed 10686 times by 125 tests: return m_frameMargins; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 10686 |
769 | } | - |
770 | | - |
771 | void QXcbWindow::setVisible(bool visible) | - |
772 | { | - |
773 | if (visible)TRUE | evaluated 3987 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 3986 times by 130 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 3986-3987 |
774 | show();executed 3987 times by 122 tests: show(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3987 |
775 | else | - |
776 | hide();executed 3986 times by 130 tests: hide(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3986 |
777 | } | - |
778 | | - |
779 | static inline bool testShowWithoutActivating(const QWindow *window) | - |
780 | { | - |
781 | | - |
782 | const QVariant showWithoutActivating = window->property("_q_showWithoutActivating"); | - |
783 | return showWithoutActivating.isValid() && showWithoutActivating.toBool();executed 3987 times by 122 tests: return showWithoutActivating.isValid() && showWithoutActivating.toBool(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3987 |
784 | } | - |
785 | | - |
786 | void QXcbWindow::show() | - |
787 | { | - |
788 | if (window()->isTopLevel()) {TRUE | evaluated 3918 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 69 times by 6 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
|
| 69-3918 |
789 | xcb_get_property_cookie_t cookie = xcb_get_wm_hints_unchecked(xcb_connection(), m_window); | - |
790 | | - |
791 | xcb_wm_hints_t hints; | - |
792 | xcb_get_wm_hints_reply(xcb_connection(), cookie, &hints, NULL); | - |
793 | | - |
794 | if (window()->windowState() & Qt::WindowMinimized)TRUE | evaluated 13 times by 2 tests | FALSE | evaluated 3905 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 13-3905 |
795 | xcb_wm_hints_set_iconic(&hints);executed 13 times by 2 tests: xcb_icccm_wm_hints_set_iconic(&hints); | 13 |
796 | else | - |
797 | xcb_wm_hints_set_normal(&hints);executed 3905 times by 122 tests: xcb_icccm_wm_hints_set_normal(&hints); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3905 |
798 | | - |
799 | xcb_wm_hints_set_input(&hints, !(window()->flags() & Qt::WindowDoesNotAcceptFocus)); | - |
800 | | - |
801 | xcb_set_wm_hints(xcb_connection(), m_window, &hints); | - |
802 | | - |
803 | m_gravity = positionIncludesFrame(window()) ?TRUE | evaluated 267 times by 29 testsEvaluated by:- tst_QAbstractItemView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPixmap
- tst_QScrollBar
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QToolTip
- tst_QTouchEvent
- tst_QTreeView
- tst_QWidget
- ...
| FALSE | evaluated 3651 times by 119 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 267-3651 |
804 | XCB_GRAVITY_NORTH_WEST : XCB_GRAVITY_STATIC; | - |
805 | | - |
806 | | - |
807 | propagateSizeHints(); | - |
808 | | - |
809 | | - |
810 | xcb_window_t transientXcbParent = 0; | - |
811 | if (isTransient(window())) {TRUE | evaluated 524 times by 47 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- ...
| FALSE | evaluated 3394 times by 111 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
|
| 524-3394 |
812 | const QWindow *tp = window()->transientParent(); | - |
813 | if (tp && tp->handle())TRUE | evaluated 170 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 354 times by 33 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPixmap
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- ...
|
TRUE | evaluated 170 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | never evaluated |
| 0-354 |
814 | transientXcbParent = static_cast<const QXcbWindow *>(tp->handle())->winId();executed 170 times by 30 tests: transientXcbParent = static_cast<const QXcbWindow *>(tp->handle())->winId(); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidget_window
- ...
| 170 |
815 | | - |
816 | | - |
817 | if (!transientXcbParent)TRUE | evaluated 354 times by 33 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPixmap
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- ...
| FALSE | evaluated 170 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidget_window
- ...
|
| 170-354 |
818 | transientXcbParent = connection()->clientLeader();executed 354 times by 33 tests: transientXcbParent = connection()->clientLeader(); Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QItemDelegate
- tst_QLineEdit
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QPixmap
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- ...
| 354 |
819 | if (transientXcbParent) { TRUE | evaluated 524 times by 47 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- ...
| FALSE | never evaluated |
| 0-524 |
820 | Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, | - |
821 | XCB_ATOM_WM_TRANSIENT_FOR, XCB_ATOM_WINDOW, 32, | - |
822 | 1, &transientXcbParent)); | - |
823 | }executed 524 times by 47 tests: end of block Executed by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- ...
| 524 |
824 | }executed 524 times by 47 tests: end of block Executed by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- ...
| 524 |
825 | if (!transientXcbParent)TRUE | evaluated 3394 times by 111 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| FALSE | evaluated 524 times by 47 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- ...
|
| 524-3394 |
826 | Q_XCB_CALL(xcb_delete_property(xcb_connection(), m_window, XCB_ATOM_WM_TRANSIENT_FOR));executed 3394 times by 111 tests: xcb_delete_property(xcb_connection(), m_window, XCB_ATOM_WM_TRANSIENT_FOR); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 3394 |
827 | | - |
828 | | - |
829 | updateMotifWmHintsBeforeMap(); | - |
830 | | - |
831 | | - |
832 | updateNetWmStateBeforeMap(); | - |
833 | }executed 3918 times by 122 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
834 | | - |
835 | if (testShowWithoutActivating(window()))TRUE | evaluated 2 times by 1 test | FALSE | evaluated 3985 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 2-3985 |
836 | updateNetWmUserTime(0);executed 2 times by 1 test: updateNetWmUserTime(0); | 2 |
837 | else if (connection()->time() != XCB_TIME_CURRENT_TIME)TRUE | evaluated 3532 times by 96 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- ...
| FALSE | evaluated 453 times by 119 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 453-3532 |
838 | updateNetWmUserTime(connection()->time());executed 3532 times by 96 tests: updateNetWmUserTime(connection()->time()); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- ...
| 3532 |
839 | | - |
840 | if (window()->objectName() == QLatin1String("QSystemTrayIconSysWindow"))TRUE | evaluated 3 times by 1 test | FALSE | evaluated 3984 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 3-3984 |
841 | return; executed 3 times by 1 test: return; | 3 |
842 | | - |
843 | Q_XCB_CALL(xcb_map_window(xcb_connection(), m_window)); | - |
844 | | - |
845 | if (QGuiApplication::modalWindow() == window())TRUE | evaluated 133 times by 17 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| FALSE | evaluated 3851 times by 118 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 133-3851 |
846 | requestActivateWindow();executed 133 times by 17 tests: requestActivateWindow(); Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| 133 |
847 | | - |
848 | xcbScreen()->windowShown(this); | - |
849 | | - |
850 | connection()->sync(); | - |
851 | }executed 3984 times by 122 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3984 |
852 | | - |
853 | void QXcbWindow::hide() | - |
854 | { | - |
855 | Q_XCB_CALL(xcb_unmap_window(xcb_connection(), m_window)); | - |
856 | | - |
857 | | - |
858 | xcb_unmap_notify_event_t event; | - |
859 | event.response_type = XCB_UNMAP_NOTIFY; | - |
860 | event.event = xcbScreen()->root(); | - |
861 | event.window = m_window; | - |
862 | event.from_configure = false; | - |
863 | Q_XCB_CALL(xcb_send_event(xcb_connection(), false, xcbScreen()->root(), | - |
864 | XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, (const char *)&event)); | - |
865 | | - |
866 | xcb_flush(xcb_connection()); | - |
867 | | - |
868 | if (connection()->mouseGrabber() == this)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 3982 times by 130 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 3-3982 |
869 | connection()->setMouseGrabber(Q_NULLPTR);executed 3 times by 1 test: connection()->setMouseGrabber(nullptr); | 3 |
870 | if (QPlatformWindow *w = connection()->mousePressWindow()) {TRUE | never evaluated | FALSE | evaluated 3985 times by 130 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-3985 |
871 | | - |
872 | while (w) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
873 | if (w == this) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
874 | connection()->setMousePressWindow(Q_NULLPTR); | - |
875 | break; never executed: break; | 0 |
876 | } | - |
877 | w = w->parent(); | - |
878 | } never executed: end of block | 0 |
879 | } never executed: end of block | 0 |
880 | | - |
881 | m_mapped = false; | - |
882 | | - |
883 | | - |
884 | | - |
885 | if (window()->isModal()) {TRUE | evaluated 132 times by 16 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qmouseevent_modal
| FALSE | evaluated 3853 times by 126 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 132-3853 |
886 | | - |
887 | const QPoint nativePos = xcbScreen()->cursor()->pos(); | - |
888 | const QPoint cursorPos = QHighDpi::fromNativePixels(nativePos, xcbScreen()->screenForPosition(nativePos)->screen()); | - |
889 | | - |
890 | | - |
891 | | - |
892 | QWindow *enterWindow = Q_NULLPTR; | - |
893 | const auto screens = xcbScreen()->virtualSiblings(); | - |
894 | for (QPlatformScreen *screen : screens) { | - |
895 | if (screen->geometry().contains(cursorPos)) {TRUE | evaluated 132 times by 16 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qmouseevent_modal
| FALSE | never evaluated |
| 0-132 |
896 | const QPoint devicePosition = QHighDpi::toNativePixels(cursorPos, screen->screen()); | - |
897 | enterWindow = screen->topLevelAt(devicePosition); | - |
898 | break;executed 132 times by 16 tests: break; Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qmouseevent_modal
| 132 |
899 | } | - |
900 | } never executed: end of block | 0 |
901 | | - |
902 | if (enterWindow && enterWindow != window()) {TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_QApplication
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWindow
| FALSE | evaluated 126 times by 16 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qmouseevent_modal
|
TRUE | evaluated 6 times by 3 testsEvaluated by:- tst_QApplication
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWindow
| FALSE | never evaluated |
| 0-126 |
903 | | - |
904 | if (QWindow *childWindow = childWindowAt(enterWindow, cursorPos))TRUE | evaluated 1 time by 1 test | FALSE | evaluated 5 times by 3 testsEvaluated by:- tst_QApplication
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWindow
|
| 1-5 |
905 | enterWindow = childWindow;executed 1 time by 1 test: enterWindow = childWindow; | 1 |
906 | const QPoint localPos = enterWindow->mapFromGlobal(cursorPos); | - |
907 | QWindowSystemInterface::handleEnterEvent(enterWindow, localPos, cursorPos); | - |
908 | }executed 6 times by 3 tests: end of block Executed by:- tst_QApplication
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWindow
| 6 |
909 | }executed 132 times by 16 tests: end of block Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qmouseevent_modal
| 132 |
910 | }executed 3985 times by 130 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3985 |
911 | | - |
912 | static QWindow *tlWindow(QWindow *window) | - |
913 | { | - |
914 | if (window && window->parent())TRUE | evaluated 7848 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_QWindow
- tst_QWindowContainer
| FALSE | evaluated 7840 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 0-7848 |
915 | return tlWindow(window->parent());executed 8 times by 2 tests: return tlWindow(window->parent()); Executed by:- tst_QWindow
- tst_QWindowContainer
| 8 |
916 | return window;executed 7840 times by 105 tests: return window; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 7840 |
917 | } | - |
918 | | - |
919 | bool QXcbWindow::relayFocusToModalWindow() const | - |
920 | { | - |
921 | QWindow *w = tlWindow(static_cast<QWindowPrivate *>(QObjectPrivate::get(window()))->eventReceiver()); | - |
922 | QWindow *modal_window = 0; | - |
923 | if (QGuiApplicationPrivate::instance()->isWindowBlocked(w,&modal_window) && modal_window != w) {TRUE | evaluated 37 times by 8 testsEvaluated by:- tst_QApplication
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_qmouseevent_modal
| FALSE | evaluated 7803 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
TRUE | evaluated 36 times by 8 testsEvaluated by:- tst_QApplication
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_qmouseevent_modal
| FALSE | evaluated 1 time by 1 test |
| 1-7803 |
924 | modal_window->requestActivate(); | - |
925 | connection()->flush(); | - |
926 | return true;executed 36 times by 8 tests: return true; Executed by:- tst_QApplication
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_qmouseevent_modal
| 36 |
927 | } | - |
928 | | - |
929 | return false;executed 7804 times by 105 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 7804 |
930 | } | - |
931 | | - |
932 | void QXcbWindow::doFocusIn() | - |
933 | { | - |
934 | if (relayFocusToModalWindow())TRUE | evaluated 7 times by 5 testsEvaluated by:- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWindow
- tst_qmouseevent_modal
| FALSE | evaluated 3072 times by 103 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 7-3072 |
935 | return;executed 7 times by 5 tests: return; Executed by:- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWindow
- tst_qmouseevent_modal
| 7 |
936 | QWindow *w = static_cast<QWindowPrivate *>(QObjectPrivate::get(window()))->eventReceiver(); | - |
937 | connection()->setFocusWindow(static_cast<QXcbWindow *>(w->handle())); | - |
938 | QWindowSystemInterface::handleWindowActivated(w, Qt::ActiveWindowFocusReason); | - |
939 | }executed 3072 times by 103 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 3072 |
940 | | - |
941 | static bool focusInPeeker(QXcbConnection *connection, xcb_generic_event_t *event) | - |
942 | { | - |
943 | if (!event) {TRUE | evaluated 1941 times by 83 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- ...
| FALSE | evaluated 121824 times by 85 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
|
| 1941-121824 |
944 | | - |
945 | QWindowSystemInterface::handleWindowActivated(0, Qt::ActiveWindowFocusReason); | - |
946 | return true;executed 1941 times by 83 tests: return true; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- ...
| 1941 |
947 | } | - |
948 | uint response_type = event->response_type & ~0x80; | - |
949 | if (response_type == XCB_FOCUS_IN) {TRUE | evaluated 969 times by 63 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- ...
| FALSE | evaluated 120855 times by 85 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
|
| 969-120855 |
950 | | - |
951 | | - |
952 | xcb_focus_in_event_t *e = (xcb_focus_in_event_t *) event; | - |
953 | if (e->detail != XCB_NOTIFY_DETAIL_POINTER)TRUE | evaluated 459 times by 43 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLabel
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- ...
| FALSE | evaluated 510 times by 54 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
|
| 459-510 |
954 | return true;executed 459 times by 43 tests: return true; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QLabel
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- ...
| 459 |
955 | }executed 510 times by 54 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QComboBox
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QItemView
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- ...
| 510 |
956 | | - |
957 | | - |
958 | if (response_type == XCB_CLIENT_MESSAGE) {TRUE | evaluated 5697 times by 76 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- ...
| FALSE | evaluated 115668 times by 85 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
|
| 5697-115668 |
959 | xcb_client_message_event_t *cme = (xcb_client_message_event_t *)event; | - |
960 | if (cme->type == connection->atom(QXcbAtom::_XEMBED)TRUE | never evaluated | FALSE | evaluated 5697 times by 76 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- ...
|
| 0-5697 |
961 | && cme->data.data32[1] == XEMBED_FOCUS_IN)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
962 | return true; never executed: return true; | 0 |
963 | }executed 5697 times by 76 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsLayout
- tst_QGraphicsLinearLayout
- ...
| 5697 |
964 | | - |
965 | return false;executed 121365 times by 85 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGestureRecognizer
- tst_QGraphicsEffect
- ...
| 121365 |
966 | } | - |
967 | | - |
968 | void QXcbWindow::doFocusOut() | - |
969 | { | - |
970 | if (relayFocusToModalWindow())TRUE | evaluated 19 times by 7 testsEvaluated by:- tst_QApplication
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QWidget
- tst_QWindow
- tst_qmouseevent_modal
| FALSE | evaluated 2505 times by 103 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 19-2505 |
971 | return;executed 19 times by 7 tests: return; Executed by:- tst_QApplication
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QWidget
- tst_QWindow
- tst_qmouseevent_modal
| 19 |
972 | connection()->setFocusWindow(0); | - |
973 | | - |
974 | | - |
975 | | - |
976 | connection()->addPeekFunc(focusInPeeker); | - |
977 | }executed 2505 times by 103 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2505 |
978 | | - |
979 | struct QtMotifWmHints { | - |
980 | quint32 flags, functions, decorations; | - |
981 | qint32 input_mode; | - |
982 | quint32 status; | - |
983 | }; | - |
984 | | - |
985 | enum { | - |
986 | MWM_HINTS_FUNCTIONS = (1L << 0), | - |
987 | | - |
988 | MWM_FUNC_ALL = (1L << 0), | - |
989 | MWM_FUNC_RESIZE = (1L << 1), | - |
990 | MWM_FUNC_MOVE = (1L << 2), | - |
991 | MWM_FUNC_MINIMIZE = (1L << 3), | - |
992 | MWM_FUNC_MAXIMIZE = (1L << 4), | - |
993 | MWM_FUNC_CLOSE = (1L << 5), | - |
994 | | - |
995 | MWM_HINTS_DECORATIONS = (1L << 1), | - |
996 | | - |
997 | MWM_DECOR_ALL = (1L << 0), | - |
998 | MWM_DECOR_BORDER = (1L << 1), | - |
999 | MWM_DECOR_RESIZEH = (1L << 2), | - |
1000 | MWM_DECOR_TITLE = (1L << 3), | - |
1001 | MWM_DECOR_MENU = (1L << 4), | - |
1002 | MWM_DECOR_MINIMIZE = (1L << 5), | - |
1003 | MWM_DECOR_MAXIMIZE = (1L << 6), | - |
1004 | | - |
1005 | MWM_HINTS_INPUT_MODE = (1L << 2), | - |
1006 | | - |
1007 | MWM_INPUT_MODELESS = 0L, | - |
1008 | MWM_INPUT_PRIMARY_APPLICATION_MODAL = 1L, | - |
1009 | MWM_INPUT_FULL_APPLICATION_MODAL = 3L | - |
1010 | }; | - |
1011 | | - |
1012 | static QtMotifWmHints getMotifWmHints(QXcbConnection *c, xcb_window_t window) | - |
1013 | { | - |
1014 | QtMotifWmHints hints; | - |
1015 | | - |
1016 | xcb_get_property_cookie_t get_cookie = | - |
1017 | xcb_get_property_unchecked(c->xcb_connection(), 0, window, c->atom(QXcbAtom::_MOTIF_WM_HINTS), | - |
1018 | c->atom(QXcbAtom::_MOTIF_WM_HINTS), 0, 20); | - |
1019 | | - |
1020 | xcb_get_property_reply_t *reply = | - |
1021 | xcb_get_property_reply(c->xcb_connection(), get_cookie, NULL); | - |
1022 | | - |
1023 | if (reply && reply->format == 32 && reply->type == c->atom(QXcbAtom::_MOTIF_WM_HINTS)) {TRUE | evaluated 3918 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
TRUE | evaluated 3917 times by 121 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 1 time by 1 test |
TRUE | evaluated 3917 times by 121 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-3918 |
1024 | hints = *((QtMotifWmHints *)xcb_get_property_value(reply)); | - |
1025 | } else {executed 3917 times by 121 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3917 |
1026 | hints.flags = 0L; | - |
1027 | hints.functions = MWM_FUNC_ALL; | - |
1028 | hints.decorations = MWM_DECOR_ALL; | - |
1029 | hints.input_mode = 0L; | - |
1030 | hints.status = 0L; | - |
1031 | }executed 1 time by 1 test: end of block | 1 |
1032 | | - |
1033 | free(reply); | - |
1034 | | - |
1035 | return hints;executed 3918 times by 122 tests: return hints; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
1036 | } | - |
1037 | | - |
1038 | static void setMotifWmHints(QXcbConnection *c, xcb_window_t window, const QtMotifWmHints &hints) | - |
1039 | { | - |
1040 | if (hints.flags != 0l) {TRUE | evaluated 8074 times by 124 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 2 times by 1 test |
| 2-8074 |
1041 | Q_XCB_CALL2(xcb_change_property(c->xcb_connection(), | - |
1042 | XCB_PROP_MODE_REPLACE, | - |
1043 | window, | - |
1044 | c->atom(QXcbAtom::_MOTIF_WM_HINTS), | - |
1045 | c->atom(QXcbAtom::_MOTIF_WM_HINTS), | - |
1046 | 32, | - |
1047 | 5, | - |
1048 | &hints), c); | - |
1049 | } else {executed 8074 times by 124 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 8074 |
1050 | Q_XCB_CALL2(xcb_delete_property(c->xcb_connection(), window, c->atom(QXcbAtom::_MOTIF_WM_HINTS)), c); | - |
1051 | }executed 2 times by 1 test: end of block | 2 |
1052 | } | - |
1053 | | - |
1054 | QXcbWindow::NetWmStates QXcbWindow::netWmStates() | - |
1055 | { | - |
1056 | NetWmStates result(0); | - |
1057 | | - |
1058 | xcb_get_property_cookie_t get_cookie = | - |
1059 | xcb_get_property_unchecked(xcb_connection(), 0, m_window, atom(QXcbAtom::_NET_WM_STATE), | - |
1060 | XCB_ATOM_ATOM, 0, 1024); | - |
1061 | | - |
1062 | xcb_get_property_reply_t *reply = | - |
1063 | xcb_get_property_reply(xcb_connection(), get_cookie, NULL); | - |
1064 | | - |
1065 | if (reply && reply->format == 32 && reply->type == XCB_ATOM_ATOM) {TRUE | evaluated 11551 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
TRUE | evaluated 11381 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 170 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QGuiApplication
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
|
TRUE | evaluated 11381 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
| 0-11551 |
1066 | const xcb_atom_t *states = static_cast<const xcb_atom_t *>(xcb_get_property_value(reply)); | - |
1067 | const xcb_atom_t *statesEnd = states + reply->length; | - |
1068 | if (statesEnd != std::find(states, statesEnd, atom(QXcbAtom::_NET_WM_STATE_ABOVE)))TRUE | evaluated 55 times by 2 testsEvaluated by:- tst_QGraphicsView
- tst_QWidget
| FALSE | evaluated 11326 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 55-11326 |
1069 | result |= NetWmStateAbove;executed 55 times by 2 tests: result |= NetWmStateAbove; Executed by:- tst_QGraphicsView
- tst_QWidget
| 55 |
1070 | if (statesEnd != std::find(states, statesEnd, atom(QXcbAtom::_NET_WM_STATE_BELOW)))TRUE | never evaluated | FALSE | evaluated 11381 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 0-11381 |
1071 | result |= NetWmStateBelow; never executed: result |= NetWmStateBelow; | 0 |
1072 | if (statesEnd != std::find(states, statesEnd, atom(QXcbAtom::_NET_WM_STATE_FULLSCREEN)))TRUE | evaluated 14 times by 3 testsEvaluated by:- tst_QSizeGrip
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 11367 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 14-11367 |
1073 | result |= NetWmStateFullScreen;executed 14 times by 3 tests: result |= NetWmStateFullScreen; Executed by:- tst_QSizeGrip
- tst_QWidget
- tst_QWindow
| 14 |
1074 | if (statesEnd != std::find(states, statesEnd, atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_HORZ)))TRUE | evaluated 146 times by 15 testsEvaluated by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QHeaderView
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QSplitter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 11235 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 146-11235 |
1075 | result |= NetWmStateMaximizedHorz;executed 146 times by 15 tests: result |= NetWmStateMaximizedHorz; Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QHeaderView
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QSplitter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| 146 |
1076 | if (statesEnd != std::find(states, statesEnd, atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_VERT)))TRUE | evaluated 146 times by 15 testsEvaluated by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QHeaderView
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QSplitter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 11235 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 146-11235 |
1077 | result |= NetWmStateMaximizedVert;executed 146 times by 15 tests: result |= NetWmStateMaximizedVert; Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QHeaderView
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QSplitter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| 146 |
1078 | if (statesEnd != std::find(states, statesEnd, atom(QXcbAtom::_NET_WM_STATE_MODAL)))TRUE | evaluated 500 times by 17 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| FALSE | evaluated 10881 times by 102 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- ...
|
| 500-10881 |
1079 | result |= NetWmStateModal;executed 500 times by 17 tests: result |= NetWmStateModal; Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| 500 |
1080 | if (statesEnd != std::find(states, statesEnd, atom(QXcbAtom::_NET_WM_STATE_STAYS_ON_TOP)))TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QGraphicsView
- tst_QWidget
| FALSE | evaluated 11371 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 10-11371 |
1081 | result |= NetWmStateStaysOnTop;executed 10 times by 2 tests: result |= NetWmStateStaysOnTop; Executed by:- tst_QGraphicsView
- tst_QWidget
| 10 |
1082 | if (statesEnd != std::find(states, statesEnd, atom(QXcbAtom::_NET_WM_STATE_DEMANDS_ATTENTION)))TRUE | evaluated 3 times by 3 testsEvaluated by:- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QWidget_window
| FALSE | evaluated 11378 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 3-11378 |
1083 | result |= NetWmStateDemandsAttention;executed 3 times by 3 tests: result |= NetWmStateDemandsAttention; Executed by:- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QWidget_window
| 3 |
1084 | free(reply); | - |
1085 | } else {executed 11381 times by 107 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 11381 |
1086 | #ifdef NET_WM_STATE_DEBUG | - |
1087 | printf("getting net wm state (%x), empty\n", m_window); | - |
1088 | #endif | - |
1089 | }executed 170 times by 28 tests: end of block Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QGuiApplication
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
| 170 |
1090 | | - |
1091 | return result;executed 11551 times by 107 tests: return result; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 11551 |
1092 | } | - |
1093 | | - |
1094 | void QXcbWindow::setNetWmStates(NetWmStates states) | - |
1095 | { | - |
1096 | QVector<xcb_atom_t> atoms; | - |
1097 | | - |
1098 | xcb_get_property_cookie_t get_cookie = | - |
1099 | xcb_get_property_unchecked(xcb_connection(), 0, m_window, atom(QXcbAtom::_NET_WM_STATE), | - |
1100 | XCB_ATOM_ATOM, 0, 1024); | - |
1101 | | - |
1102 | xcb_get_property_reply_t *reply = | - |
1103 | xcb_get_property_reply(xcb_connection(), get_cookie, NULL); | - |
1104 | | - |
1105 | if (reply && reply->format == 32 && reply->type == XCB_ATOM_ATOM && reply->value_len > 0) {TRUE | evaluated 3918 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
TRUE | evaluated 60 times by 20 testsEvaluated by:- tst_QApplication
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QGuiApplication
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPlainTextEdit
- tst_QScrollBar
- tst_QWidget
- tst_QWidget_window
- tst_qmouseevent_modal
| FALSE | evaluated 3858 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
TRUE | evaluated 60 times by 20 testsEvaluated by:- tst_QApplication
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QGuiApplication
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPlainTextEdit
- tst_QScrollBar
- tst_QWidget
- tst_QWidget_window
- tst_qmouseevent_modal
| FALSE | never evaluated |
TRUE | evaluated 49 times by 17 testsEvaluated by:- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QGuiApplication
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QScrollBar
- tst_QWidget
- tst_QWidget_window
- tst_qmouseevent_modal
| FALSE | evaluated 11 times by 7 testsEvaluated by:- tst_QApplication
- tst_QDateTimeEdit
- tst_QDockWidget
- tst_QErrorMessage
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QWidget
|
| 0-3918 |
1106 | const xcb_atom_t *data = static_cast<const xcb_atom_t *>(xcb_get_property_value(reply)); | - |
1107 | atoms.resize(reply->value_len); | - |
1108 | memcpy((void *)&atoms.first(), (void *)data, reply->value_len * sizeof(xcb_atom_t)); | - |
1109 | }executed 49 times by 17 tests: end of block Executed by:- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QGuiApplication
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QScrollBar
- tst_QWidget
- tst_QWidget_window
- tst_qmouseevent_modal
| 49 |
1110 | | - |
1111 | free(reply); | - |
1112 | | - |
1113 | if (states & NetWmStateAbove && !atoms.contains(atom(QXcbAtom::_NET_WM_STATE_ABOVE)))TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QGraphicsView
- tst_QWidget
| FALSE | never evaluated |
| 0-10 |
1114 | atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_ABOVE));executed 10 times by 2 tests: atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_ABOVE)); Executed by:- tst_QGraphicsView
- tst_QWidget
| 10 |
1115 | if (states & NetWmStateBelow && !atoms.contains(atom(QXcbAtom::_NET_WM_STATE_BELOW)))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1116 | atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_BELOW)); never executed: atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_BELOW)); | 0 |
1117 | if (states & NetWmStateFullScreen && !atoms.contains(atom(QXcbAtom::_NET_WM_STATE_FULLSCREEN)))TRUE | evaluated 3 times by 3 testsEvaluated by:- tst_QDialog
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 2 times by 1 test |
| 2-3 |
1118 | atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_FULLSCREEN));executed 3 times by 3 tests: atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_FULLSCREEN)); Executed by:- tst_QDialog
- tst_QWidget
- tst_QWindow
| 3 |
1119 | if (states & NetWmStateMaximizedHorz && !atoms.contains(atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_HORZ)))TRUE | evaluated 12 times by 10 testsEvaluated by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
| FALSE | evaluated 4 times by 3 testsEvaluated by:- tst_QDialog
- tst_QOpenGLWidget
- tst_QWidget
|
| 4-12 |
1120 | atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_HORZ));executed 12 times by 10 tests: atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_HORZ)); Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
| 12 |
1121 | if (states & NetWmStateMaximizedVert && !atoms.contains(atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_VERT)))TRUE | evaluated 12 times by 10 testsEvaluated by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
| FALSE | evaluated 4 times by 3 testsEvaluated by:- tst_QDialog
- tst_QOpenGLWidget
- tst_QWidget
|
| 4-12 |
1122 | atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_VERT));executed 12 times by 10 tests: atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_VERT)); Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
| 12 |
1123 | if (states & NetWmStateModal && !atoms.contains(atom(QXcbAtom::_NET_WM_STATE_MODAL)))TRUE | evaluated 125 times by 17 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| FALSE | evaluated 8 times by 3 testsEvaluated by:- tst_QGuiApplication
- tst_QMessageBox
- tst_qmouseevent_modal
|
| 8-125 |
1124 | atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_MODAL));executed 125 times by 17 tests: atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_MODAL)); Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| 125 |
1125 | if (states & NetWmStateStaysOnTop && !atoms.contains(atom(QXcbAtom::_NET_WM_STATE_STAYS_ON_TOP)))TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QGraphicsView
- tst_QWidget
| FALSE | never evaluated |
| 0-10 |
1126 | atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_STAYS_ON_TOP));executed 10 times by 2 tests: atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_STAYS_ON_TOP)); Executed by:- tst_QGraphicsView
- tst_QWidget
| 10 |
1127 | if (states & NetWmStateDemandsAttention && !atoms.contains(atom(QXcbAtom::_NET_WM_STATE_DEMANDS_ATTENTION)))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1128 | atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_DEMANDS_ATTENTION)); never executed: atoms.push_back(atom(QXcbAtom::_NET_WM_STATE_DEMANDS_ATTENTION)); | 0 |
1129 | | - |
1130 | if (atoms.isEmpty()) {TRUE | evaluated 3723 times by 117 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| FALSE | evaluated 195 times by 36 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QBackingStore
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
|
| 195-3723 |
1131 | Q_XCB_CALL(xcb_delete_property(xcb_connection(), m_window, atom(QXcbAtom::_NET_WM_STATE))); | - |
1132 | } else {executed 3723 times by 117 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 3723 |
1133 | Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, | - |
1134 | atom(QXcbAtom::_NET_WM_STATE), XCB_ATOM_ATOM, 32, | - |
1135 | atoms.count(), atoms.constData())); | - |
1136 | }executed 195 times by 36 tests: end of block Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QBackingStore
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QHeaderView
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- ...
| 195 |
1137 | xcb_flush(xcb_connection()); | - |
1138 | }executed 3918 times by 122 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
1139 | | - |
1140 | void QXcbWindow::setWindowFlags(Qt::WindowFlags flags) | - |
1141 | { | - |
1142 | Qt::WindowType type = static_cast<Qt::WindowType>(int(flags & Qt::WindowType_Mask)); | - |
1143 | | - |
1144 | if (type == Qt::ToolTip)TRUE | evaluated 16 times by 6 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QToolTip
- tst_QWidget
| FALSE | evaluated 4142 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 16-4142 |
1145 | flags |= Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint;executed 16 times by 6 tests: flags |= Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint | Qt::X11BypassWindowManagerHint; Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QToolTip
- tst_QWidget
| 16 |
1146 | if (type == Qt::Popup)TRUE | evaluated 147 times by 23 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
- tst_QWindow
| FALSE | evaluated 4011 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 147-4011 |
1147 | flags |= Qt::X11BypassWindowManagerHint;executed 147 times by 23 tests: flags |= Qt::X11BypassWindowManagerHint; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
- tst_QWindow
| 147 |
1148 | | - |
1149 | const quint32 mask = XCB_CW_OVERRIDE_REDIRECT | XCB_CW_EVENT_MASK; | - |
1150 | const quint32 values[] = { | - |
1151 | | - |
1152 | (flags & Qt::BypassWindowManagerHint) ? 1u : 0, | - |
1153 | | - |
1154 | (flags & Qt::WindowTransparentForInput) ? transparentForInputEventMask : defaultEventMask | - |
1155 | }; | - |
1156 | | - |
1157 | xcb_change_window_attributes(xcb_connection(), xcb_window(), mask, values); | - |
1158 | | - |
1159 | QXcbWindowFunctions::WmWindowTypes wmWindowTypes = 0; | - |
1160 | if (window()->dynamicPropertyNames().contains(wm_window_type_property_id)) {TRUE | evaluated 154 times by 23 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
- tst_QWidget_window
| FALSE | evaluated 4004 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 154-4004 |
1161 | wmWindowTypes = static_cast<QXcbWindowFunctions::WmWindowTypes>( | - |
1162 | window()->property(wm_window_type_property_id).value<int>()); | - |
1163 | }executed 154 times by 23 tests: end of block Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
- tst_QWidget_window
| 154 |
1164 | | - |
1165 | setWmWindowType(wmWindowTypes, flags); | - |
1166 | setNetWmStateWindowFlags(flags); | - |
1167 | setMotifWindowFlags(flags); | - |
1168 | | - |
1169 | setTransparentForMouseEvents(flags & Qt::WindowTransparentForInput); | - |
1170 | updateDoesNotAcceptFocus(flags & Qt::WindowDoesNotAcceptFocus); | - |
1171 | }executed 4158 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4158 |
1172 | | - |
1173 | void QXcbWindow::setMotifWindowFlags(Qt::WindowFlags flags) | - |
1174 | { | - |
1175 | Qt::WindowType type = static_cast<Qt::WindowType>(int(flags & Qt::WindowType_Mask)); | - |
1176 | | - |
1177 | QtMotifWmHints mwmhints; | - |
1178 | mwmhints.flags = 0L; | - |
1179 | mwmhints.functions = 0L; | - |
1180 | mwmhints.decorations = 0; | - |
1181 | mwmhints.input_mode = 0L; | - |
1182 | mwmhints.status = 0L; | - |
1183 | | - |
1184 | if (type != Qt::SplashScreen) {TRUE | evaluated 4157 times by 124 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 1 time by 1 test |
| 1-4157 |
1185 | mwmhints.flags |= MWM_HINTS_DECORATIONS; | - |
1186 | | - |
1187 | bool customize = flags & Qt::CustomizeWindowHint; | - |
1188 | if (type == Qt::Window && !customize) {TRUE | evaluated 3565 times by 116 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| FALSE | evaluated 592 times by 48 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- ...
|
TRUE | evaluated 3565 times by 116 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| FALSE | never evaluated |
| 0-3565 |
1189 | const Qt::WindowFlags defaultFlags = Qt::WindowSystemMenuHint | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint; | - |
1190 | if (!(flags & defaultFlags))TRUE | evaluated 352 times by 37 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QLayout
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMenu
- tst_QMouseEvent
- tst_QOpenGLWindow
- tst_QOpenGlConfig
- ...
| FALSE | evaluated 3213 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 352-3213 |
1191 | flags |= defaultFlags;executed 352 times by 37 tests: flags |= defaultFlags; Executed by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QLayout
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- tst_QMenu
- tst_QMouseEvent
- tst_QOpenGLWindow
- tst_QOpenGlConfig
- ...
| 352 |
1192 | }executed 3565 times by 116 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 3565 |
1193 | if (!(flags & Qt::FramelessWindowHint) && !(customize && !(flags & Qt::WindowTitleHint))) {TRUE | evaluated 3902 times by 123 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 255 times by 26 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QLayout
- tst_QListView
- tst_QMainWindow
- tst_QMenu
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QToolTip
- tst_QTreeView
- tst_QWidget
- tst_QWidgetAction
- tst_QWidget_window
- ...
|
TRUE | never evaluated | FALSE | evaluated 3902 times by 123 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-3902 |
1194 | mwmhints.decorations |= MWM_DECOR_BORDER; | - |
1195 | mwmhints.decorations |= MWM_DECOR_RESIZEH; | - |
1196 | mwmhints.decorations |= MWM_DECOR_TITLE; | - |
1197 | | - |
1198 | if (flags & Qt::WindowSystemMenuHint)TRUE | evaluated 3883 times by 123 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 19 times by 1 test |
| 19-3883 |
1199 | mwmhints.decorations |= MWM_DECOR_MENU;executed 3883 times by 123 tests: mwmhints.decorations |= MWM_DECOR_MENU; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 3883 |
1200 | | - |
1201 | if (flags & Qt::WindowMinimizeButtonHint) {TRUE | evaluated 3616 times by 116 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 286 times by 29 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWindow
- ...
|
| 286-3616 |
1202 | mwmhints.decorations |= MWM_DECOR_MINIMIZE; | - |
1203 | mwmhints.functions |= MWM_FUNC_MINIMIZE; | - |
1204 | }executed 3616 times by 116 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 3616 |
1205 | | - |
1206 | if (flags & Qt::WindowMaximizeButtonHint) {TRUE | evaluated 3616 times by 116 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| FALSE | evaluated 286 times by 29 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWindow
- ...
|
| 286-3616 |
1207 | mwmhints.decorations |= MWM_DECOR_MAXIMIZE; | - |
1208 | mwmhints.functions |= MWM_FUNC_MAXIMIZE; | - |
1209 | }executed 3616 times by 116 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 3616 |
1210 | | - |
1211 | if (flags & Qt::WindowCloseButtonHint)TRUE | evaluated 3896 times by 123 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 6 times by 1 test |
| 6-3896 |
1212 | mwmhints.functions |= MWM_FUNC_CLOSE;executed 3896 times by 123 tests: mwmhints.functions |= MWM_FUNC_CLOSE; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 3896 |
1213 | }executed 3902 times by 123 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 3902 |
1214 | } else {executed 4157 times by 124 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4157 |
1215 | | - |
1216 | mwmhints.decorations = MWM_DECOR_ALL; | - |
1217 | }executed 1 time by 1 test: end of block | 1 |
1218 | | - |
1219 | if (mwmhints.functions != 0) {TRUE | evaluated 3896 times by 123 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 262 times by 28 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QLayout
- tst_QListView
- tst_QMainWindow
- tst_QMenu
- tst_QPixmap
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QToolTip
- tst_QTreeView
- tst_QWidget
- tst_QWidgetAction
- ...
|
| 262-3896 |
1220 | mwmhints.flags |= MWM_HINTS_FUNCTIONS; | - |
1221 | mwmhints.functions |= MWM_FUNC_MOVE | MWM_FUNC_RESIZE; | - |
1222 | } else {executed 3896 times by 123 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 3896 |
1223 | mwmhints.functions = MWM_FUNC_ALL; | - |
1224 | }executed 262 times by 28 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QLayout
- tst_QListView
- tst_QMainWindow
- tst_QMenu
- tst_QPixmap
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QToolTip
- tst_QTreeView
- tst_QWidget
- tst_QWidgetAction
- ...
| 262 |
1225 | | - |
1226 | if (!(flags & Qt::FramelessWindowHint)TRUE | evaluated 3902 times by 123 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 256 times by 27 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QLayout
- tst_QListView
- tst_QMainWindow
- tst_QMenu
- tst_QPixmap
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QToolTip
- tst_QTreeView
- tst_QWidget
- tst_QWidgetAction
- ...
|
| 256-3902 |
1227 | && flags & Qt::CustomizeWindowHint | - |
1228 | && flags & Qt::WindowTitleHintTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1229 | && !(flags &TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1230 | (Qt::WindowMinimizeButtonHintTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1231 | | Qt::WindowMaximizeButtonHintTRUE | never evaluated | FALSE | never evaluated |
| 0 |
1232 | | Qt::WindowCloseButtonHint)))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1233 | { | - |
1234 | | - |
1235 | mwmhints.flags = MWM_HINTS_FUNCTIONS; | - |
1236 | mwmhints.functions = MWM_FUNC_MOVE | MWM_FUNC_RESIZE; | - |
1237 | mwmhints.decorations = 0; | - |
1238 | } never executed: end of block | 0 |
1239 | | - |
1240 | setMotifWmHints(connection(), m_window, mwmhints); | - |
1241 | }executed 4158 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4158 |
1242 | | - |
1243 | void QXcbWindow::changeNetWmState(bool set, xcb_atom_t one, xcb_atom_t two) | - |
1244 | { | - |
1245 | xcb_client_message_event_t event; | - |
1246 | | - |
1247 | event.response_type = XCB_CLIENT_MESSAGE; | - |
1248 | event.format = 32; | - |
1249 | event.sequence = 0; | - |
1250 | event.window = m_window; | - |
1251 | event.type = atom(QXcbAtom::_NET_WM_STATE); | - |
1252 | event.data.data32[0] = set ? 1 : 0;TRUE | evaluated 71 times by 20 testsEvaluated by:- tst_QApplication
- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QHeaderView
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QSizeGrip
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QToolTip
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 8321 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 71-8321 |
1253 | event.data.data32[1] = one; | - |
1254 | event.data.data32[2] = two; | - |
1255 | event.data.data32[3] = 0; | - |
1256 | event.data.data32[4] = 0; | - |
1257 | | - |
1258 | Q_XCB_CALL(xcb_send_event(xcb_connection(), 0, xcbScreen()->root(), XCB_EVENT_MASK_STRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, (const char *)&event)); | - |
1259 | }executed 8392 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 8392 |
1260 | | - |
1261 | void QXcbWindow::setWindowState(Qt::WindowState state) | - |
1262 | { | - |
1263 | if (state == m_windowState)TRUE | evaluated 4118 times by 124 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | evaluated 101 times by 13 testsEvaluated by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QSizeGrip
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
|
| 101-4118 |
1264 | return;executed 4118 times by 124 tests: return; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 4118 |
1265 | | - |
1266 | | - |
1267 | switch (m_windowState) { | - |
1268 | case Qt::WindowMinimized:executed 10 times by 3 tests: case Qt::WindowMinimized: Executed by:- tst_QDialog
- tst_QListView
- tst_QWidget
| 10 |
1269 | Q_XCB_CALL(xcb_map_window(xcb_connection(), m_window)); | - |
1270 | break;executed 10 times by 3 tests: break; Executed by:- tst_QDialog
- tst_QListView
- tst_QWidget
| 10 |
1271 | case Qt::WindowMaximized:executed 16 times by 5 tests: case Qt::WindowMaximized: Executed by:- tst_QDialog
- tst_QMdiSubWindow
- tst_QSizeGrip
- tst_QStatusBar
- tst_QWidget
| 16 |
1272 | changeNetWmState(false, | - |
1273 | atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_HORZ), | - |
1274 | atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_VERT)); | - |
1275 | break;executed 16 times by 5 tests: break; Executed by:- tst_QDialog
- tst_QMdiSubWindow
- tst_QSizeGrip
- tst_QStatusBar
- tst_QWidget
| 16 |
1276 | case Qt::WindowFullScreen:executed 14 times by 6 tests: case Qt::WindowFullScreen: Executed by:- tst_QDialog
- tst_QMdiArea
- tst_QSizeGrip
- tst_QStatusBar
- tst_QWidget
- tst_QWindow
| 14 |
1277 | changeNetWmState(false, atom(QXcbAtom::_NET_WM_STATE_FULLSCREEN)); | - |
1278 | break;executed 14 times by 6 tests: break; Executed by:- tst_QDialog
- tst_QMdiArea
- tst_QSizeGrip
- tst_QStatusBar
- tst_QWidget
- tst_QWindow
| 14 |
1279 | default:executed 61 times by 13 tests: default: Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QSizeGrip
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| 61 |
1280 | break;executed 61 times by 13 tests: break; Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QSizeGrip
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| 61 |
1281 | } | - |
1282 | | - |
1283 | | - |
1284 | switch (state) { | - |
1285 | case Qt::WindowMinimized:executed 23 times by 5 tests: case Qt::WindowMinimized: Executed by:- tst_QDialog
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QWidget
| 23 |
1286 | { | - |
1287 | xcb_client_message_event_t event; | - |
1288 | | - |
1289 | event.response_type = XCB_CLIENT_MESSAGE; | - |
1290 | event.format = 32; | - |
1291 | event.sequence = 0; | - |
1292 | event.window = m_window; | - |
1293 | event.type = atom(QXcbAtom::WM_CHANGE_STATE); | - |
1294 | event.data.data32[0] = XCB_WM_STATE_ICONIC; | - |
1295 | event.data.data32[1] = 0; | - |
1296 | event.data.data32[2] = 0; | - |
1297 | event.data.data32[3] = 0; | - |
1298 | event.data.data32[4] = 0; | - |
1299 | | - |
1300 | Q_XCB_CALL(xcb_send_event(xcb_connection(), 0, xcbScreen()->root(), XCB_EVENT_MASK_STRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, (const char *)&event)); | - |
1301 | } | - |
1302 | break;executed 23 times by 5 tests: break; Executed by:- tst_QDialog
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QWidget
| 23 |
1303 | case Qt::WindowMaximized:executed 28 times by 11 tests: case Qt::WindowMaximized: Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QSizeGrip
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
| 28 |
1304 | changeNetWmState(true, | - |
1305 | atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_HORZ), | - |
1306 | atom(QXcbAtom::_NET_WM_STATE_MAXIMIZED_VERT)); | - |
1307 | break;executed 28 times by 11 tests: break; Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QSizeGrip
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
| 28 |
1308 | case Qt::WindowFullScreen:executed 17 times by 6 tests: case Qt::WindowFullScreen: Executed by:- tst_QDialog
- tst_QMdiArea
- tst_QSizeGrip
- tst_QStatusBar
- tst_QWidget
- tst_QWindow
| 17 |
1309 | changeNetWmState(true, atom(QXcbAtom::_NET_WM_STATE_FULLSCREEN)); | - |
1310 | break;executed 17 times by 6 tests: break; Executed by:- tst_QDialog
- tst_QMdiArea
- tst_QSizeGrip
- tst_QStatusBar
- tst_QWidget
- tst_QWindow
| 17 |
1311 | case Qt::WindowNoState:executed 33 times by 8 tests: case Qt::WindowNoState: Executed by:- tst_QDialog
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QSizeGrip
- tst_QStatusBar
- tst_QWidget
- tst_QWindow
| 33 |
1312 | break;executed 33 times by 8 tests: break; Executed by:- tst_QDialog
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QSizeGrip
- tst_QStatusBar
- tst_QWidget
- tst_QWindow
| 33 |
1313 | default: never executed: default: | 0 |
1314 | break; never executed: break; | 0 |
1315 | } | - |
1316 | | - |
1317 | connection()->sync(); | - |
1318 | | - |
1319 | m_windowState = state; | - |
1320 | }executed 101 times by 13 tests: end of block Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QPrinter
- tst_QSizeGrip
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| 101 |
1321 | | - |
1322 | void QXcbWindow::updateMotifWmHintsBeforeMap() | - |
1323 | { | - |
1324 | QtMotifWmHints mwmhints = getMotifWmHints(connection(), m_window); | - |
1325 | | - |
1326 | if (window()->modality() != Qt::NonModal) {TRUE | evaluated 133 times by 17 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| FALSE | evaluated 3785 times by 118 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 133-3785 |
1327 | switch (window()->modality()) { | - |
1328 | case Qt::WindowModal:executed 8 times by 3 tests: case Qt::WindowModal: Executed by:- tst_QGuiApplication
- tst_QMessageBox
- tst_QWindow
| 8 |
1329 | mwmhints.input_mode = MWM_INPUT_PRIMARY_APPLICATION_MODAL; | - |
1330 | break;executed 8 times by 3 tests: break; Executed by:- tst_QGuiApplication
- tst_QMessageBox
- tst_QWindow
| 8 |
1331 | case Qt::ApplicationModal:executed 125 times by 17 tests: case Qt::ApplicationModal: Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| 125 |
1332 | default: never executed: default: | 0 |
1333 | mwmhints.input_mode = MWM_INPUT_FULL_APPLICATION_MODAL; | - |
1334 | break;executed 125 times by 17 tests: break; Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| 125 |
1335 | } | - |
1336 | mwmhints.flags |= MWM_HINTS_INPUT_MODE; | - |
1337 | } else {executed 133 times by 17 tests: end of block Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| 133 |
1338 | mwmhints.input_mode = MWM_INPUT_MODELESS; | - |
1339 | mwmhints.flags &= ~MWM_HINTS_INPUT_MODE; | - |
1340 | }executed 3785 times by 118 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 3785 |
1341 | | - |
1342 | if (windowMinimumSize() == windowMaximumSize()) {TRUE | evaluated 106 times by 21 testsEvaluated by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- tst_QWizard
- tst_languageChange
| FALSE | evaluated 3812 times by 121 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 106-3812 |
1343 | | - |
1344 | | - |
1345 | mwmhints.flags |= MWM_HINTS_FUNCTIONS; | - |
1346 | if (mwmhints.functions == MWM_FUNC_ALL) {TRUE | evaluated 12 times by 5 testsEvaluated by:- tst_QGraphicsView
- tst_QGridLayout
- tst_QSystemTrayIcon
- tst_QTreeView
- tst_QWidget
| FALSE | evaluated 94 times by 19 testsEvaluated by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QTableView
- tst_QTextEdit
- tst_QWidget
- tst_QWizard
- tst_languageChange
|
| 12-94 |
1347 | mwmhints.functions = MWM_FUNC_MOVE; | - |
1348 | } else {executed 12 times by 5 tests: end of block Executed by:- tst_QGraphicsView
- tst_QGridLayout
- tst_QSystemTrayIcon
- tst_QTreeView
- tst_QWidget
| 12 |
1349 | mwmhints.functions &= ~MWM_FUNC_RESIZE; | - |
1350 | }executed 94 times by 19 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QTableView
- tst_QTextEdit
- tst_QWidget
- tst_QWizard
- tst_languageChange
| 94 |
1351 | | - |
1352 | if (mwmhints.decorations == MWM_DECOR_ALL) {TRUE | never evaluated | FALSE | evaluated 106 times by 21 testsEvaluated by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- tst_QWizard
- tst_languageChange
|
| 0-106 |
1353 | mwmhints.flags |= MWM_HINTS_DECORATIONS; | - |
1354 | mwmhints.decorations = (MWM_DECOR_BORDER | - |
1355 | | MWM_DECOR_TITLE | - |
1356 | | MWM_DECOR_MENU); | - |
1357 | } else { never executed: end of block | 0 |
1358 | mwmhints.decorations &= ~MWM_DECOR_RESIZEH; | - |
1359 | }executed 106 times by 21 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- tst_QWizard
- tst_languageChange
| 106 |
1360 | } | - |
1361 | | - |
1362 | if (window()->flags() & Qt::WindowMinimizeButtonHint) {TRUE | evaluated 3258 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 660 times by 58 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGuiApplication
- ...
|
| 660-3258 |
1363 | mwmhints.flags |= MWM_HINTS_DECORATIONS; | - |
1364 | mwmhints.decorations |= MWM_DECOR_MINIMIZE; | - |
1365 | mwmhints.functions |= MWM_FUNC_MINIMIZE; | - |
1366 | }executed 3258 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 3258 |
1367 | if (window()->flags() & Qt::WindowMaximizeButtonHint) {TRUE | evaluated 3258 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 660 times by 58 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGuiApplication
- ...
|
| 660-3258 |
1368 | mwmhints.flags |= MWM_HINTS_DECORATIONS; | - |
1369 | mwmhints.decorations |= MWM_DECOR_MAXIMIZE; | - |
1370 | mwmhints.functions |= MWM_FUNC_MAXIMIZE; | - |
1371 | }executed 3258 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 3258 |
1372 | if (window()->flags() & Qt::WindowCloseButtonHint)TRUE | evaluated 3560 times by 113 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| FALSE | evaluated 358 times by 35 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QLayout
- tst_QLineEdit
- tst_QListView
- tst_QMainWindow
- tst_QMenu
- tst_QMouseEvent
- tst_QOpenGLWindow
- tst_QPixmap
- tst_QRasterWindow
- tst_QStyle
- ...
|
| 358-3560 |
1373 | mwmhints.functions |= MWM_FUNC_CLOSE;executed 3560 times by 113 tests: mwmhints.functions |= MWM_FUNC_CLOSE; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 3560 |
1374 | | - |
1375 | setMotifWmHints(connection(), m_window, mwmhints); | - |
1376 | }executed 3918 times by 122 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
1377 | | - |
1378 | void QXcbWindow::updateNetWmStateBeforeMap() | - |
1379 | { | - |
1380 | NetWmStates states(0); | - |
1381 | | - |
1382 | const Qt::WindowFlags flags = window()->flags(); | - |
1383 | if (flags & Qt::WindowStaysOnTopHint) {TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_QGraphicsView
- tst_QWidget
| FALSE | evaluated 3908 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 10-3908 |
1384 | states |= NetWmStateAbove; | - |
1385 | states |= NetWmStateStaysOnTop; | - |
1386 | } else if (flags & Qt::WindowStaysOnBottomHint) {executed 10 times by 2 tests: end of block Executed by:- tst_QGraphicsView
- tst_QWidget
TRUE | never evaluated | FALSE | evaluated 3908 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-3908 |
1387 | states |= NetWmStateBelow; | - |
1388 | } never executed: end of block | 0 |
1389 | | - |
1390 | if (window()->windowState() & Qt::WindowFullScreen)TRUE | evaluated 5 times by 3 testsEvaluated by:- tst_QDialog
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 3913 times by 122 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 5-3913 |
1391 | states |= NetWmStateFullScreen;executed 5 times by 3 tests: states |= NetWmStateFullScreen; Executed by:- tst_QDialog
- tst_QWidget
- tst_QWindow
| 5 |
1392 | | - |
1393 | if (window()->windowState() & Qt::WindowMaximized) {TRUE | evaluated 16 times by 11 testsEvaluated by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiSubWindow
- tst_QOpenGLWidget
- tst_QPrinter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
| FALSE | evaluated 3902 times by 121 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 16-3902 |
1394 | states |= NetWmStateMaximizedHorz; | - |
1395 | states |= NetWmStateMaximizedVert; | - |
1396 | }executed 16 times by 11 tests: end of block Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QDialog
- tst_QHeaderView
- tst_QListView
- tst_QMdiSubWindow
- tst_QOpenGLWidget
- tst_QPrinter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
| 16 |
1397 | | - |
1398 | if (window()->modality() != Qt::NonModal)TRUE | evaluated 133 times by 17 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| FALSE | evaluated 3785 times by 118 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 133-3785 |
1399 | states |= NetWmStateModal;executed 133 times by 17 tests: states |= NetWmStateModal; Executed by:- tst_QAbstractScrollArea
- tst_QApplication
- tst_QColorDialog
- tst_QDialog
- tst_QFiledialog
- tst_QFontDialog
- tst_QGuiApplication
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QWidget
- tst_QWindow
- tst_languageChange
- tst_qapplication - unknown status
- tst_qmouseevent_modal
| 133 |
1400 | | - |
1401 | setNetWmStates(states); | - |
1402 | }executed 3918 times by 122 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 3918 |
1403 | | - |
1404 | void QXcbWindow::setNetWmStateWindowFlags(Qt::WindowFlags flags) | - |
1405 | { | - |
1406 | changeNetWmState(flags & Qt::WindowStaysOnTopHint, | - |
1407 | atom(QXcbAtom::_NET_WM_STATE_ABOVE), | - |
1408 | atom(QXcbAtom::_NET_WM_STATE_STAYS_ON_TOP)); | - |
1409 | changeNetWmState(flags & Qt::WindowStaysOnBottomHint, | - |
1410 | atom(QXcbAtom::_NET_WM_STATE_BELOW)); | - |
1411 | }executed 4158 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4158 |
1412 | | - |
1413 | void QXcbWindow::updateNetWmUserTime(xcb_timestamp_t timestamp) | - |
1414 | { | - |
1415 | xcb_window_t wid = m_window; | - |
1416 | | - |
1417 | | - |
1418 | | - |
1419 | if (timestamp != 0)TRUE | evaluated 4182 times by 101 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
| FALSE | evaluated 2 times by 1 test |
| 2-4182 |
1420 | connection()->setNetWmUserTime(timestamp);executed 4182 times by 101 tests: connection()->setNetWmUserTime(timestamp); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
| 4182 |
1421 | | - |
1422 | const bool isSupportedByWM = connection()->wmSupport()->isSupportedByWM(atom(QXcbAtom::_NET_WM_USER_TIME_WINDOW)); | - |
1423 | if (m_netWmUserTimeWindow || isSupportedByWM) {TRUE | evaluated 744 times by 54 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QHeaderView
- ...
| FALSE | evaluated 3440 times by 101 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
|
TRUE | evaluated 3440 times by 101 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
| FALSE | never evaluated |
| 0-3440 |
1424 | if (!m_netWmUserTimeWindow) {TRUE | evaluated 3440 times by 101 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
| FALSE | evaluated 744 times by 54 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QHeaderView
- ...
|
| 744-3440 |
1425 | m_netWmUserTimeWindow = xcb_generate_id(xcb_connection()); | - |
1426 | Q_XCB_CALL(xcb_create_window(xcb_connection(), | - |
1427 | XCB_COPY_FROM_PARENT, | - |
1428 | m_netWmUserTimeWindow, | - |
1429 | m_window, | - |
1430 | -1, -1, 1, 1, | - |
1431 | 0, | - |
1432 | XCB_WINDOW_CLASS_INPUT_OUTPUT, | - |
1433 | m_visualId, | - |
1434 | 0, | - |
1435 | 0)); | - |
1436 | wid = m_netWmUserTimeWindow; | - |
1437 | xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, atom(QXcbAtom::_NET_WM_USER_TIME_WINDOW), | - |
1438 | XCB_ATOM_WINDOW, 32, 1, &m_netWmUserTimeWindow); | - |
1439 | xcb_delete_property(xcb_connection(), m_window, atom(QXcbAtom::_NET_WM_USER_TIME)); | - |
1440 | #ifndef QT_NO_DEBUG | - |
1441 | QByteArray ba("Qt NET_WM user time window"); | - |
1442 | Q_XCB_CALL(xcb_change_property(xcb_connection(), | - |
1443 | XCB_PROP_MODE_REPLACE, | - |
1444 | m_netWmUserTimeWindow, | - |
1445 | atom(QXcbAtom::_NET_WM_NAME), | - |
1446 | atom(QXcbAtom::UTF8_STRING), | - |
1447 | 8, | - |
1448 | ba.length(), | - |
1449 | ba.constData())); | - |
1450 | #endif | - |
1451 | } else if (!isSupportedByWM) {executed 3440 times by 101 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
TRUE | never evaluated | FALSE | evaluated 744 times by 54 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QHeaderView
- ...
|
| 0-3440 |
1452 | | - |
1453 | | - |
1454 | xcb_delete_property(xcb_connection(), m_window, atom(QXcbAtom::_NET_WM_USER_TIME_WINDOW)); | - |
1455 | xcb_destroy_window(xcb_connection(), m_netWmUserTimeWindow); | - |
1456 | m_netWmUserTimeWindow = XCB_NONE; | - |
1457 | } else { never executed: end of block | 0 |
1458 | wid = m_netWmUserTimeWindow; | - |
1459 | }executed 744 times by 54 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QHeaderView
- ...
| 744 |
1460 | } | - |
1461 | xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, wid, atom(QXcbAtom::_NET_WM_USER_TIME), | - |
1462 | XCB_ATOM_CARDINAL, 32, 1, ×tamp); | - |
1463 | }executed 4184 times by 101 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- ...
| 4184 |
1464 | | - |
1465 | void QXcbWindow::setTransparentForMouseEvents(bool transparent) | - |
1466 | { | - |
1467 | if (!connection()->hasXFixes() || transparent == m_transparent)TRUE | never evaluated | FALSE | evaluated 4159 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
TRUE | evaluated 4158 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 1 time by 1 test |
| 0-4159 |
1468 | return;executed 4158 times by 125 tests: return; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4158 |
1469 | | - |
1470 | xcb_rectangle_t rectangle; | - |
1471 | | - |
1472 | xcb_rectangle_t *rect = 0; | - |
1473 | int nrect = 0; | - |
1474 | | - |
1475 | if (!transparent) {TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
1476 | rectangle.x = 0; | - |
1477 | rectangle.y = 0; | - |
1478 | rectangle.width = geometry().width(); | - |
1479 | rectangle.height = geometry().height(); | - |
1480 | rect = &rectangle; | - |
1481 | nrect = 1; | - |
1482 | } never executed: end of block | 0 |
1483 | | - |
1484 | xcb_xfixes_region_t region = xcb_generate_id(xcb_connection()); | - |
1485 | xcb_xfixes_create_region(xcb_connection(), region, nrect, rect); | - |
1486 | xcb_xfixes_set_window_shape_region_checked(xcb_connection(), m_window, XCB_SHAPE_SK_INPUT, 0, 0, region); | - |
1487 | xcb_xfixes_destroy_region(xcb_connection(), region); | - |
1488 | | - |
1489 | m_transparent = transparent; | - |
1490 | }executed 1 time by 1 test: end of block | 1 |
1491 | | - |
1492 | void QXcbWindow::updateDoesNotAcceptFocus(bool doesNotAcceptFocus) | - |
1493 | { | - |
1494 | xcb_get_property_cookie_t cookie = xcb_get_wm_hints_unchecked(xcb_connection(), m_window); | - |
1495 | | - |
1496 | xcb_wm_hints_t hints; | - |
1497 | if (!xcb_get_wm_hints_reply(xcb_connection(), cookie, &hints, NULL)) {TRUE | never evaluated | FALSE | evaluated 4158 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4158 |
1498 | return; never executed: return; | 0 |
1499 | } | - |
1500 | | - |
1501 | xcb_wm_hints_set_input(&hints, !doesNotAcceptFocus); | - |
1502 | xcb_set_wm_hints(xcb_connection(), m_window, &hints); | - |
1503 | }executed 4158 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4158 |
1504 | | - |
1505 | WId QXcbWindow::winId() const | - |
1506 | { | - |
1507 | return m_window;executed 4715 times by 120 tests: return m_window; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 4715 |
1508 | } | - |
1509 | | - |
1510 | void QXcbWindow::setParent(const QPlatformWindow *parent) | - |
1511 | { | - |
1512 | QPoint topLeft = geometry().topLeft(); | - |
1513 | | - |
1514 | xcb_window_t xcb_parent_id; | - |
1515 | if (parent) {TRUE | evaluated 32 times by 6 testsEvaluated by:- tst_QMdiArea
- tst_QTabBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| FALSE | evaluated 7 times by 2 tests |
| 7-32 |
1516 | const QXcbWindow *qXcbParent = static_cast<const QXcbWindow *>(parent); | - |
1517 | xcb_parent_id = qXcbParent->xcb_window(); | - |
1518 | m_embedded = qXcbParent->window()->type() == Qt::ForeignWindow; | - |
1519 | } else {executed 32 times by 6 tests: end of block Executed by:- tst_QMdiArea
- tst_QTabBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| 32 |
1520 | xcb_parent_id = xcbScreen()->root(); | - |
1521 | m_embedded = false; | - |
1522 | }executed 7 times by 2 tests: end of block | 7 |
1523 | Q_XCB_CALL(xcb_reparent_window(xcb_connection(), xcb_window(), xcb_parent_id, topLeft.x(), topLeft.y())); | - |
1524 | }executed 39 times by 6 tests: end of block Executed by:- tst_QMdiArea
- tst_QTabBar
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| 39 |
1525 | | - |
1526 | void QXcbWindow::setWindowTitle(const QString &title) | - |
1527 | { | - |
1528 | const QString fullTitle = formatWindowTitle(title, QString::fromUtf8(" \xe2\x80\x94 ")); | - |
1529 | const QByteArray ba = fullTitle.toUtf8(); | - |
1530 | Q_XCB_CALL(xcb_change_property(xcb_connection(), | - |
1531 | XCB_PROP_MODE_REPLACE, | - |
1532 | m_window, | - |
1533 | atom(QXcbAtom::_NET_WM_NAME), | - |
1534 | atom(QXcbAtom::UTF8_STRING), | - |
1535 | 8, | - |
1536 | ba.length(), | - |
1537 | ba.constData())); | - |
1538 | | - |
1539 | #ifdef XCB_USE_XLIB | - |
1540 | XTextProperty *text = qstringToXTP(DISPLAY_FROM_XCB(this), title); | - |
1541 | if (text)TRUE | evaluated 8685 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
| 0-8685 |
1542 | XSetWMName(DISPLAY_FROM_XCB(this), m_window, text);executed 8685 times by 125 tests: XSetWMName(((Display *)(this->connection()->xlib_display())), m_window, text); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 8685 |
1543 | #endif | - |
1544 | xcb_flush(xcb_connection()); | - |
1545 | }executed 8685 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 8685 |
1546 | | - |
1547 | void QXcbWindow::setWindowIconText(const QString &title) | - |
1548 | { | - |
1549 | const QByteArray ba = title.toUtf8(); | - |
1550 | Q_XCB_CALL(xcb_change_property(xcb_connection(), | - |
1551 | XCB_PROP_MODE_REPLACE, | - |
1552 | m_window, | - |
1553 | atom(QXcbAtom::_NET_WM_ICON_NAME), | - |
1554 | atom(QXcbAtom::UTF8_STRING), | - |
1555 | 8, | - |
1556 | ba.length(), | - |
1557 | ba.constData())); | - |
1558 | }executed 4507 times by 117 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 4507 |
1559 | | - |
1560 | void QXcbWindow::setWindowIcon(const QIcon &icon) | - |
1561 | { | - |
1562 | QVector<quint32> icon_data; | - |
1563 | if (!icon.isNull()) {TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QGuiApplication
- tst_QWidget
| FALSE | evaluated 7892 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 5-7892 |
1564 | QList<QSize> availableSizes = icon.availableSizes(); | - |
1565 | if (availableSizes.isEmpty()) {TRUE | never evaluated | FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QGuiApplication
- tst_QWidget
|
| 0-5 |
1566 | | - |
1567 | availableSizes.push_back(QSize(16,16)); | - |
1568 | availableSizes.push_back(QSize(32,32)); | - |
1569 | availableSizes.push_back(QSize(64,64)); | - |
1570 | availableSizes.push_back(QSize(128,128)); | - |
1571 | } never executed: end of block | 0 |
1572 | for (int i = 0; i < availableSizes.size(); ++i) {TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QGuiApplication
- tst_QWidget
| FALSE | evaluated 5 times by 2 testsEvaluated by:- tst_QGuiApplication
- tst_QWidget
|
| 5-7 |
1573 | QSize size = availableSizes.at(i); | - |
1574 | QPixmap pixmap = icon.pixmap(size); | - |
1575 | if (!pixmap.isNull()) {TRUE | evaluated 7 times by 2 testsEvaluated by:- tst_QGuiApplication
- tst_QWidget
| FALSE | never evaluated |
| 0-7 |
1576 | QImage image = pixmap.toImage().convertToFormat(QImage::Format_ARGB32); | - |
1577 | int pos = icon_data.size(); | - |
1578 | icon_data.resize(pos + 2 + image.width()*image.height()); | - |
1579 | icon_data[pos++] = image.width(); | - |
1580 | icon_data[pos++] = image.height(); | - |
1581 | memcpy(icon_data.data() + pos, image.bits(), image.width()*image.height()*4); | - |
1582 | }executed 7 times by 2 tests: end of block Executed by:- tst_QGuiApplication
- tst_QWidget
| 7 |
1583 | }executed 7 times by 2 tests: end of block Executed by:- tst_QGuiApplication
- tst_QWidget
| 7 |
1584 | }executed 5 times by 2 tests: end of block Executed by:- tst_QGuiApplication
- tst_QWidget
| 5 |
1585 | | - |
1586 | if (!icon_data.isEmpty()) {TRUE | evaluated 5 times by 2 testsEvaluated by:- tst_QGuiApplication
- tst_QWidget
| FALSE | evaluated 7892 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 5-7892 |
1587 | Q_XCB_CALL(xcb_change_property(xcb_connection(), | - |
1588 | XCB_PROP_MODE_REPLACE, | - |
1589 | m_window, | - |
1590 | atom(QXcbAtom::_NET_WM_ICON), | - |
1591 | atom(QXcbAtom::CARDINAL), | - |
1592 | 32, | - |
1593 | icon_data.size(), | - |
1594 | (unsigned char *) icon_data.data())); | - |
1595 | } else {executed 5 times by 2 tests: end of block Executed by:- tst_QGuiApplication
- tst_QWidget
| 5 |
1596 | Q_XCB_CALL(xcb_delete_property(xcb_connection(), | - |
1597 | m_window, | - |
1598 | atom(QXcbAtom::_NET_WM_ICON))); | - |
1599 | }executed 7892 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 7892 |
1600 | } | - |
1601 | | - |
1602 | void QXcbWindow::raise() | - |
1603 | { | - |
1604 | const quint32 mask = XCB_CONFIG_WINDOW_STACK_MODE; | - |
1605 | const quint32 values[] = { XCB_STACK_MODE_ABOVE }; | - |
1606 | Q_XCB_CALL(xcb_configure_window(xcb_connection(), m_window, mask, values)); | - |
1607 | }executed 257 times by 29 tests: end of block Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- ...
| 257 |
1608 | | - |
1609 | void QXcbWindow::lower() | - |
1610 | { | - |
1611 | const quint32 mask = XCB_CONFIG_WINDOW_STACK_MODE; | - |
1612 | const quint32 values[] = { XCB_STACK_MODE_BELOW }; | - |
1613 | Q_XCB_CALL(xcb_configure_window(xcb_connection(), m_window, mask, values)); | - |
1614 | }executed 1 time by 1 test: end of block | 1 |
1615 | | - |
1616 | | - |
1617 | | - |
1618 | QRect QXcbWindow::windowToWmGeometry(QRect r) const | - |
1619 | { | - |
1620 | if (m_dirtyFrameMargins || m_frameMargins.isNull())TRUE | evaluated 188 times by 20 testsEvaluated by:- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFiledialog
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMessageBox
- tst_QOpenGLWindow
- tst_QPushButton
- tst_QSplitter
- tst_QWidget
- tst_QWidgetAction
- tst_QWindow
- tst_QWindowContainer
- tst_QWizard
| FALSE | evaluated 14423 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
TRUE | evaluated 14040 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | evaluated 383 times by 33 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QScrollBar
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QTabWidget
- tst_QTableView
- ...
|
| 188-14423 |
1621 | return r;executed 14228 times by 125 tests: return r; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 14228 |
1622 | const bool frameInclusive = positionIncludesFrame(window()); | - |
1623 | | - |
1624 | | - |
1625 | if (frameInclusive && m_gravity == XCB_GRAVITY_STATIC) {TRUE | evaluated 25 times by 5 testsEvaluated by:- tst_QScrollBar
- tst_QWidget
- tst_QWindow
- tst_QWindowContainer
- tst_QWizard
| FALSE | evaluated 358 times by 31 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QTabWidget
- tst_QTableView
- tst_QTreeView
- ...
|
TRUE | evaluated 2 times by 1 test | FALSE | evaluated 23 times by 4 testsEvaluated by:- tst_QScrollBar
- tst_QWidget
- tst_QWindowContainer
- tst_QWizard
|
| 2-358 |
1626 | r.translate(m_frameMargins.left(), m_frameMargins.top()); | - |
1627 | } else if (!frameInclusive && m_gravity == XCB_GRAVITY_NORTH_WEST) {executed 2 times by 1 test: end of block TRUE | evaluated 358 times by 31 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QTabWidget
- tst_QTableView
- tst_QTreeView
- ...
| FALSE | evaluated 23 times by 4 testsEvaluated by:- tst_QScrollBar
- tst_QWidget
- tst_QWindowContainer
- tst_QWizard
|
TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_QWidget
- tst_QWidget_window
| FALSE | evaluated 344 times by 31 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QTabWidget
- tst_QTableView
- tst_QTreeView
- ...
|
| 2-358 |
1628 | r.translate(-m_frameMargins.left(), -m_frameMargins.top()); | - |
1629 | }executed 14 times by 2 tests: end of block Executed by:- tst_QWidget
- tst_QWidget_window
| 14 |
1630 | return r;executed 383 times by 33 tests: return r; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QScrollBar
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QTabWidget
- tst_QTableView
- ...
| 383 |
1631 | } | - |
1632 | | - |
1633 | void QXcbWindow::propagateSizeHints() | - |
1634 | { | - |
1635 | | - |
1636 | xcb_size_hints_t hints; | - |
1637 | memset(&hints, 0, sizeof(hints)); | - |
1638 | | - |
1639 | const QRect xRect = windowToWmGeometry(geometry()); | - |
1640 | | - |
1641 | QWindow *win = window(); | - |
1642 | | - |
1643 | if (!qt_window_private(win)->positionAutomatic)TRUE | evaluated 3181 times by 79 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsGridLayout
- ...
| FALSE | evaluated 8577 times by 119 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 3181-8577 |
1644 | xcb_size_hints_set_position(&hints, true, xRect.x(), xRect.y());executed 3181 times by 79 tests: xcb_icccm_size_hints_set_position(&hints, true, xRect.x(), xRect.y()); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsGridLayout
- ...
| 3181 |
1645 | if (xRect.width() < QWINDOWSIZE_MAX || xRect.height() < QWINDOWSIZE_MAX)TRUE | evaluated 11758 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0-11758 |
1646 | xcb_size_hints_set_size(&hints, true, xRect.width(), xRect.height());executed 11758 times by 125 tests: xcb_icccm_size_hints_set_size(&hints, true, xRect.width(), xRect.height()); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 11758 |
1647 | xcb_size_hints_set_win_gravity(&hints, m_gravity); | - |
1648 | | - |
1649 | QSize minimumSize = windowMinimumSize(); | - |
1650 | QSize maximumSize = windowMaximumSize(); | - |
1651 | QSize baseSize = windowBaseSize(); | - |
1652 | QSize sizeIncrement = windowSizeIncrement(); | - |
1653 | | - |
1654 | if (minimumSize.width() > 0 || minimumSize.height() > 0)TRUE | evaluated 2384 times by 67 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| FALSE | evaluated 9374 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
TRUE | evaluated 53 times by 7 testsEvaluated by:- tst_QAccessibility
- tst_QListView
- tst_QMainWindow
- tst_QMenu
- tst_QMenuBar
- tst_QSizeGrip
- tst_QStatusBar
| FALSE | evaluated 9321 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 53-9374 |
1655 | xcb_size_hints_set_min_size(&hints,executed 2437 times by 67 tests: xcb_icccm_size_hints_set_min_size(&hints, qMin(16383,minimumSize.width()), qMin(16383,minimumSize.height())); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 2437 |
1656 | qMin(XCOORD_MAX,minimumSize.width()),executed 2437 times by 67 tests: xcb_icccm_size_hints_set_min_size(&hints, qMin(16383,minimumSize.width()), qMin(16383,minimumSize.height())); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 2437 |
1657 | qMin(XCOORD_MAX,minimumSize.height()));executed 2437 times by 67 tests: xcb_icccm_size_hints_set_min_size(&hints, qMin(16383,minimumSize.width()), qMin(16383,minimumSize.height())); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- ...
| 2437 |
1658 | | - |
1659 | if (maximumSize.width() < QWINDOWSIZE_MAX || maximumSize.height() < QWINDOWSIZE_MAX)TRUE | evaluated 790 times by 28 testsEvaluated by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QComboBox
- tst_QDialog
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QInputDialog
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 10968 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
TRUE | evaluated 3 times by 1 test | FALSE | evaluated 10965 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 3-10968 |
1660 | xcb_size_hints_set_max_size(&hints,executed 793 times by 28 tests: xcb_icccm_size_hints_set_max_size(&hints, qMin(16383, maximumSize.width()), qMin(16383, maximumSize.height())); Executed by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QComboBox
- tst_QDialog
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QInputDialog
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 793 |
1661 | qMin(XCOORD_MAX, maximumSize.width()),executed 793 times by 28 tests: xcb_icccm_size_hints_set_max_size(&hints, qMin(16383, maximumSize.width()), qMin(16383, maximumSize.height())); Executed by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QComboBox
- tst_QDialog
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QInputDialog
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 793 |
1662 | qMin(XCOORD_MAX, maximumSize.height()));executed 793 times by 28 tests: xcb_icccm_size_hints_set_max_size(&hints, qMin(16383, maximumSize.width()), qMin(16383, maximumSize.height())); Executed by:- tst_QAbstractItemView
- tst_QApplication
- tst_QBoxLayout
- tst_QColorDialog
- tst_QComboBox
- tst_QDialog
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QInputDialog
- tst_QListView
- tst_QMenu
- tst_QMessageBox
- tst_QPlainTextEdit
- tst_QShortcut
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QTextEdit
- tst_QTreeView
- tst_QWidget
- tst_QWidget_window
- ...
| 793 |
1663 | | - |
1664 | if (sizeIncrement.width() > 0 || sizeIncrement.height() > 0) {TRUE | never evaluated | FALSE | evaluated 11758 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
TRUE | never evaluated | FALSE | evaluated 11758 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-11758 |
1665 | xcb_size_hints_set_base_size(&hints, baseSize.width(), baseSize.height()); | - |
1666 | xcb_size_hints_set_resize_inc(&hints, sizeIncrement.width(), sizeIncrement.height()); | - |
1667 | } never executed: end of block | 0 |
1668 | | - |
1669 | xcb_set_wm_normal_hints(xcb_connection(), m_window, &hints); | - |
1670 | }executed 11758 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 11758 |
1671 | | - |
1672 | void QXcbWindow::requestActivateWindow() | - |
1673 | { | - |
1674 | | - |
1675 | | - |
1676 | if (m_embedded) {TRUE | never evaluated | FALSE | evaluated 1383 times by 63 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
|
| 0-1383 |
1677 | QPlatformWindow::requestActivateWindow(); | - |
1678 | return; never executed: return; | 0 |
1679 | } | - |
1680 | | - |
1681 | if (!m_mapped) {TRUE | evaluated 733 times by 58 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 650 times by 59 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
|
| 650-733 |
1682 | m_deferredActivation = true; | - |
1683 | return;executed 733 times by 58 tests: return; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| 733 |
1684 | } | - |
1685 | m_deferredActivation = false; | - |
1686 | | - |
1687 | updateNetWmUserTime(connection()->time()); | - |
1688 | QWindow *focusWindow = QGuiApplication::focusWindow(); | - |
1689 | | - |
1690 | if (window()->isTopLevel()TRUE | evaluated 646 times by 59 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_QWindow
- tst_QWindowContainer
|
| 4-646 |
1691 | && !(window()->flags() & Qt::X11BypassWindowManagerHint)TRUE | evaluated 631 times by 59 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 15 times by 6 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QWidget
|
| 15-631 |
1692 | && (!focusWindow || !window()->isAncestorOf(focusWindow))TRUE | evaluated 363 times by 52 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- ...
| FALSE | evaluated 268 times by 29 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QShortcut
- tst_QSizeGrip
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
|
TRUE | evaluated 257 times by 29 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QShortcut
- tst_QSizeGrip
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| FALSE | evaluated 11 times by 4 testsEvaluated by:- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QWindow
|
| 11-363 |
1693 | && connection()->wmSupport()->isSupportedByWM(atom(QXcbAtom::_NET_ACTIVE_WINDOW))) {TRUE | evaluated 620 times by 59 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| FALSE | never evaluated |
| 0-620 |
1694 | xcb_client_message_event_t event; | - |
1695 | | - |
1696 | event.response_type = XCB_CLIENT_MESSAGE; | - |
1697 | event.format = 32; | - |
1698 | event.sequence = 0; | - |
1699 | event.window = m_window; | - |
1700 | event.type = atom(QXcbAtom::_NET_ACTIVE_WINDOW); | - |
1701 | event.data.data32[0] = 1; | - |
1702 | event.data.data32[1] = connection()->time(); | - |
1703 | event.data.data32[2] = focusWindow ? focusWindow->winId() : XCB_NONE;TRUE | evaluated 257 times by 29 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListWidget
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QShortcut
- tst_QSizeGrip
- tst_QSpinBox
- tst_QStackedLayout
- tst_QStatusBar
- tst_QStyleSheetStyle
- tst_QTextBrowser
- ...
| FALSE | evaluated 363 times by 52 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- ...
|
| 257-363 |
1704 | event.data.data32[3] = 0; | - |
1705 | event.data.data32[4] = 0; | - |
1706 | | - |
1707 | Q_XCB_CALL(xcb_send_event(xcb_connection(), 0, xcbScreen()->root(), XCB_EVENT_MASK_STRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, (const char *)&event)); | - |
1708 | } else {executed 620 times by 59 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| 620 |
1709 | Q_XCB_CALL(xcb_set_input_focus(xcb_connection(), XCB_INPUT_FOCUS_PARENT, m_window, connection()->time())); | - |
1710 | }executed 30 times by 11 tests: end of block Executed by:- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QShortcut
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWindow
- tst_QWindowContainer
| 30 |
1711 | | - |
1712 | connection()->sync(); | - |
1713 | }executed 650 times by 59 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| 650 |
1714 | | - |
1715 | QSurfaceFormat QXcbWindow::format() const | - |
1716 | { | - |
1717 | return m_format;executed 241 times by 9 tests: return m_format; Executed by:- tst_QGLBuffer
- tst_QGLFunctions
- tst_QGraphicsView
- tst_QMdiArea
- tst_QOpenGLWidget
- tst_QOpenGLWindow
- tst_QOpenGlConfig
- tst_QWidget
- tst_QWidget_window
| 241 |
1718 | } | - |
1719 | | - |
1720 | void QXcbWindow::setWmWindowTypeStatic(QWindow *window, QXcbWindowFunctions::WmWindowTypes windowTypes) | - |
1721 | { | - |
1722 | window->setProperty(wm_window_type_property_id, QVariant::fromValue(static_cast<int>(windowTypes))); | - |
1723 | | - |
1724 | if (window->handle())TRUE | evaluated 2 times by 1 test | FALSE | evaluated 152 times by 23 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
- tst_QWidget_window
|
| 2-152 |
1725 | static_cast<QXcbWindow *>(window->handle())->setWmWindowType(windowTypes, window->flags());executed 2 times by 1 test: static_cast<QXcbWindow *>(window->handle())->setWmWindowType(windowTypes, window->flags()); | 2 |
1726 | }executed 154 times by 23 tests: end of block Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolBar
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
- tst_QWidget_window
| 154 |
1727 | | - |
1728 | void QXcbWindow::setWindowIconTextStatic(QWindow *window, const QString &text) | - |
1729 | { | - |
1730 | if (window->handle())TRUE | evaluated 4507 times by 117 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| FALSE | never evaluated |
| 0-4507 |
1731 | static_cast<QXcbWindow *>(window->handle())->setWindowIconText(text);executed 4507 times by 117 tests: static_cast<QXcbWindow *>(window->handle())->setWindowIconText(text); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 4507 |
1732 | }executed 4507 times by 117 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 4507 |
1733 | | - |
1734 | void QXcbWindow::setWmWindowRoleStatic(QWindow *window, const QByteArray &role) | - |
1735 | { | - |
1736 | if (window->handle())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1737 | static_cast<QXcbWindow *>(window->handle())->setWmWindowRole(role); never executed: static_cast<QXcbWindow *>(window->handle())->setWmWindowRole(role); | 0 |
1738 | else | - |
1739 | window->setProperty(wm_window_role_property_id, role); never executed: window->setProperty(wm_window_role_property_id, role); | 0 |
1740 | } | - |
1741 | | - |
1742 | uint QXcbWindow::visualIdStatic(QWindow *window) | - |
1743 | { | - |
1744 | if (window && window->handle())TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1745 | return static_cast<QXcbWindow *>(window->handle())->visualId(); never executed: return static_cast<QXcbWindow *>(window->handle())->visualId(); | 0 |
1746 | return UINT_MAX; never executed: return (2147483647 * 2U + 1U); | 0 |
1747 | } | - |
1748 | | - |
1749 | QXcbWindowFunctions::WmWindowTypes QXcbWindow::wmWindowTypes() const | - |
1750 | { | - |
1751 | QXcbWindowFunctions::WmWindowTypes result(0); | - |
1752 | | - |
1753 | xcb_get_property_cookie_t get_cookie = | - |
1754 | xcb_get_property_unchecked(xcb_connection(), 0, m_window, atom(QXcbAtom::_NET_WM_WINDOW_TYPE), | - |
1755 | XCB_ATOM_ATOM, 0, 1024); | - |
1756 | | - |
1757 | xcb_get_property_reply_t *reply = | - |
1758 | xcb_get_property_reply(xcb_connection(), get_cookie, NULL); | - |
1759 | | - |
1760 | if (reply && reply->format == 32 && reply->type == XCB_ATOM_ATOM) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1761 | const xcb_atom_t *types = static_cast<const xcb_atom_t *>(xcb_get_property_value(reply)); | - |
1762 | const xcb_atom_t *types_end = types + reply->length; | - |
1763 | for (; types != types_end; types++) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1764 | QXcbAtom::Atom type = connection()->qatom(*types); | - |
1765 | switch (type) { | - |
1766 | case QXcbAtom::_NET_WM_WINDOW_TYPE_NORMAL: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_NORMAL: | 0 |
1767 | result |= QXcbWindowFunctions::Normal; | - |
1768 | break; never executed: break; | 0 |
1769 | case QXcbAtom::_NET_WM_WINDOW_TYPE_DESKTOP: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_DESKTOP: | 0 |
1770 | result |= QXcbWindowFunctions::Desktop; | - |
1771 | break; never executed: break; | 0 |
1772 | case QXcbAtom::_NET_WM_WINDOW_TYPE_DOCK: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_DOCK: | 0 |
1773 | result |= QXcbWindowFunctions::Dock; | - |
1774 | break; never executed: break; | 0 |
1775 | case QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLBAR: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLBAR: | 0 |
1776 | result |= QXcbWindowFunctions::Toolbar; | - |
1777 | break; never executed: break; | 0 |
1778 | case QXcbAtom::_NET_WM_WINDOW_TYPE_MENU: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_MENU: | 0 |
1779 | result |= QXcbWindowFunctions::Menu; | - |
1780 | break; never executed: break; | 0 |
1781 | case QXcbAtom::_NET_WM_WINDOW_TYPE_UTILITY: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_UTILITY: | 0 |
1782 | result |= QXcbWindowFunctions::Utility; | - |
1783 | break; never executed: break; | 0 |
1784 | case QXcbAtom::_NET_WM_WINDOW_TYPE_SPLASH: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_SPLASH: | 0 |
1785 | result |= QXcbWindowFunctions::Splash; | - |
1786 | break; never executed: break; | 0 |
1787 | case QXcbAtom::_NET_WM_WINDOW_TYPE_DIALOG: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_DIALOG: | 0 |
1788 | result |= QXcbWindowFunctions::Dialog; | - |
1789 | break; never executed: break; | 0 |
1790 | case QXcbAtom::_NET_WM_WINDOW_TYPE_DROPDOWN_MENU: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_DROPDOWN_MENU: | 0 |
1791 | result |= QXcbWindowFunctions::DropDownMenu; | - |
1792 | break; never executed: break; | 0 |
1793 | case QXcbAtom::_NET_WM_WINDOW_TYPE_POPUP_MENU: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_POPUP_MENU: | 0 |
1794 | result |= QXcbWindowFunctions::PopupMenu; | - |
1795 | break; never executed: break; | 0 |
1796 | case QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLTIP: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLTIP: | 0 |
1797 | result |= QXcbWindowFunctions::Tooltip; | - |
1798 | break; never executed: break; | 0 |
1799 | case QXcbAtom::_NET_WM_WINDOW_TYPE_NOTIFICATION: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_NOTIFICATION: | 0 |
1800 | result |= QXcbWindowFunctions::Notification; | - |
1801 | break; never executed: break; | 0 |
1802 | case QXcbAtom::_NET_WM_WINDOW_TYPE_COMBO: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_COMBO: | 0 |
1803 | result |= QXcbWindowFunctions::Combo; | - |
1804 | break; never executed: break; | 0 |
1805 | case QXcbAtom::_NET_WM_WINDOW_TYPE_DND: never executed: case QXcbAtom::_NET_WM_WINDOW_TYPE_DND: | 0 |
1806 | result |= QXcbWindowFunctions::Dnd; | - |
1807 | break; never executed: break; | 0 |
1808 | case QXcbAtom::_KDE_NET_WM_WINDOW_TYPE_OVERRIDE: never executed: case QXcbAtom::_KDE_NET_WM_WINDOW_TYPE_OVERRIDE: | 0 |
1809 | result |= QXcbWindowFunctions::KdeOverride; | - |
1810 | break; never executed: break; | 0 |
1811 | default: never executed: default: | 0 |
1812 | break; never executed: break; | 0 |
1813 | } | - |
1814 | } | - |
1815 | free(reply); | - |
1816 | } never executed: end of block | 0 |
1817 | return result; never executed: return result; | 0 |
1818 | } | - |
1819 | | - |
1820 | void QXcbWindow::setWmWindowType(QXcbWindowFunctions::WmWindowTypes types, Qt::WindowFlags flags) | - |
1821 | { | - |
1822 | QVector<xcb_atom_t> atoms; | - |
1823 | | - |
1824 | | - |
1825 | if (types & QXcbWindowFunctions::Normal)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1826 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_NORMAL)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_NORMAL)); | 0 |
1827 | if (types & QXcbWindowFunctions::Desktop)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1828 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DESKTOP)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DESKTOP)); | 0 |
1829 | if (types & QXcbWindowFunctions::Dock)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1830 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DOCK)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DOCK)); | 0 |
1831 | if (types & QXcbWindowFunctions::Notification)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1832 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_NOTIFICATION)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_NOTIFICATION)); | 0 |
1833 | | - |
1834 | | - |
1835 | if (types & QXcbWindowFunctions::Utility)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1836 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_UTILITY)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_UTILITY)); | 0 |
1837 | if (types & QXcbWindowFunctions::Splash)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1838 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_SPLASH)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_SPLASH)); | 0 |
1839 | if (types & QXcbWindowFunctions::Dialog)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1840 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DIALOG)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DIALOG)); | 0 |
1841 | if (types & QXcbWindowFunctions::Tooltip)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1842 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLTIP)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLTIP)); | 0 |
1843 | if (types & QXcbWindowFunctions::KdeOverride)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1844 | atoms.append(atom(QXcbAtom::_KDE_NET_WM_WINDOW_TYPE_OVERRIDE)); never executed: atoms.append(atom(QXcbAtom::_KDE_NET_WM_WINDOW_TYPE_OVERRIDE)); | 0 |
1845 | | - |
1846 | | - |
1847 | | - |
1848 | | - |
1849 | if (types & QXcbWindowFunctions::Menu)TRUE | evaluated 3 times by 1 test | FALSE | evaluated 4157 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 3-4157 |
1850 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_MENU));executed 3 times by 1 test: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_MENU)); | 3 |
1851 | if (types & QXcbWindowFunctions::DropDownMenu)TRUE | evaluated 21 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QMenu
- tst_QMenuBar
| FALSE | evaluated 4139 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 21-4139 |
1852 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DROPDOWN_MENU));executed 21 times by 3 tests: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DROPDOWN_MENU)); Executed by:- tst_QAccessibility
- tst_QMenu
- tst_QMenuBar
| 21 |
1853 | if (types & QXcbWindowFunctions::PopupMenu)TRUE | evaluated 81 times by 17 testsEvaluated by:- tst_QAccessibility
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
| FALSE | evaluated 4079 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 81-4079 |
1854 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_POPUP_MENU));executed 81 times by 17 tests: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_POPUP_MENU)); Executed by:- tst_QAccessibility
- tst_QCommandLinkButton
- tst_QFileDialog2
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
| 81 |
1855 | if (types & QXcbWindowFunctions::Toolbar)TRUE | evaluated 26 times by 5 testsEvaluated by:- tst_QMainWindow
- tst_QStyle
- tst_QToolBar
- tst_QWidgetAction
- tst_QWidget_window
| FALSE | evaluated 4134 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 26-4134 |
1856 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLBAR));executed 26 times by 5 tests: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLBAR)); Executed by:- tst_QMainWindow
- tst_QStyle
- tst_QToolBar
- tst_QWidgetAction
- tst_QWidget_window
| 26 |
1857 | if (types & QXcbWindowFunctions::Combo)TRUE | evaluated 49 times by 4 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsProxyWidget
| FALSE | evaluated 4111 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 49-4111 |
1858 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_COMBO));executed 49 times by 4 tests: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_COMBO)); Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QFiledialog
- tst_QGraphicsProxyWidget
| 49 |
1859 | if (types & QXcbWindowFunctions::Dnd)TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1860 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DND)); never executed: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DND)); | 0 |
1861 | | - |
1862 | | - |
1863 | Qt::WindowType type = static_cast<Qt::WindowType>(int(flags & Qt::WindowType_Mask)); | - |
1864 | switch (type) { | - |
1865 | case Qt::Dialog:executed 278 times by 29 tests: case Qt::Dialog: Executed by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWindow
- ...
| 278 |
1866 | case Qt::Sheet: never executed: case Qt::Sheet: | 0 |
1867 | if (!(types & QXcbWindowFunctions::Dialog))TRUE | evaluated 278 times by 29 testsEvaluated by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWindow
- ...
| FALSE | never evaluated |
| 0-278 |
1868 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DIALOG));executed 278 times by 29 tests: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_DIALOG)); Executed by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWindow
- ...
| 278 |
1869 | break;executed 278 times by 29 tests: break; Executed by:- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QColorDialog
- tst_QCommandLinkButton
- tst_QDialog
- tst_QDialogButtonBox
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsProxyWidget
- tst_QInputDialog
- tst_QItemDelegate
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPrinter
- tst_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QWidget
- tst_QWindow
- ...
| 278 |
1870 | case Qt::Tool:executed 36 times by 8 tests: case Qt::Tool: Executed by:- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QMainWindow
- tst_QMenu
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 36 |
1871 | case Qt::Drawer: never executed: case Qt::Drawer: | 0 |
1872 | if (!(types & QXcbWindowFunctions::Utility))TRUE | evaluated 36 times by 8 testsEvaluated by:- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QMainWindow
- tst_QMenu
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | never evaluated |
| 0-36 |
1873 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_UTILITY));executed 36 times by 8 tests: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_UTILITY)); Executed by:- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QMainWindow
- tst_QMenu
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 36 |
1874 | break;executed 36 times by 8 tests: break; Executed by:- tst_QDialog
- tst_QDockWidget
- tst_QGraphicsItem
- tst_QMainWindow
- tst_QMenu
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| 36 |
1875 | case Qt::ToolTip:executed 16 times by 6 tests: case Qt::ToolTip: Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QToolTip
- tst_QWidget
| 16 |
1876 | if (!(types & QXcbWindowFunctions::Tooltip))TRUE | evaluated 16 times by 6 testsEvaluated by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QToolTip
- tst_QWidget
| FALSE | never evaluated |
| 0-16 |
1877 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLTIP));executed 16 times by 6 tests: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_TOOLTIP)); Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QToolTip
- tst_QWidget
| 16 |
1878 | break;executed 16 times by 6 tests: break; Executed by:- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QToolTip
- tst_QWidget
| 16 |
1879 | case Qt::SplashScreen:executed 1 time by 1 test: case Qt::SplashScreen: | 1 |
1880 | if (!(types & QXcbWindowFunctions::Splash))TRUE | evaluated 1 time by 1 test | FALSE | never evaluated |
| 0-1 |
1881 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_SPLASH));executed 1 time by 1 test: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_SPLASH)); | 1 |
1882 | break;executed 1 time by 1 test: break; | 1 |
1883 | default:executed 3829 times by 117 tests: default: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 3829 |
1884 | break;executed 3829 times by 117 tests: break; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- ...
| 3829 |
1885 | } | - |
1886 | | - |
1887 | if ((flags & Qt::FramelessWindowHint) && !(type & QXcbWindowFunctions::KdeOverride)) {TRUE | evaluated 256 times by 27 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QLayout
- tst_QListView
- tst_QMainWindow
- tst_QMenu
- tst_QPixmap
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QToolTip
- tst_QTreeView
- tst_QWidget
- tst_QWidgetAction
- ...
| FALSE | never evaluated |
| 0-256 |
1888 | | - |
1889 | atoms.append(atom(QXcbAtom::_KDE_NET_WM_WINDOW_TYPE_OVERRIDE)); | - |
1890 | }executed 256 times by 27 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QBoxLayout
- tst_QComboBox
- tst_QCompleter
- tst_QDockWidget
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QLayout
- tst_QListView
- tst_QMainWindow
- tst_QMenu
- tst_QPixmap
- tst_QStyle
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QToolTip
- tst_QTreeView
- tst_QWidget
- tst_QWidgetAction
- ...
| 256 |
1891 | | - |
1892 | if (atoms.size() == 1 && atoms.first() == atom(QXcbAtom::_NET_WM_WINDOW_TYPE_NORMAL))TRUE | evaluated 595 times by 54 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QInputDialog
- ...
| FALSE | evaluated 3565 times by 117 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
|
TRUE | never evaluated | FALSE | evaluated 595 times by 54 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QColorDialog
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QErrorMessage
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QFormLayout
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QGridLayout
- tst_QInputDialog
- ...
|
| 0-3565 |
1893 | atoms.clear(); never executed: atoms.clear(); | 0 |
1894 | else | - |
1895 | atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_NORMAL));executed 4160 times by 125 tests: atoms.append(atom(QXcbAtom::_NET_WM_WINDOW_TYPE_NORMAL)); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4160 |
1896 | | - |
1897 | if (atoms.isEmpty()) {TRUE | never evaluated | FALSE | evaluated 4160 times by 125 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
|
| 0-4160 |
1898 | Q_XCB_CALL(xcb_delete_property(xcb_connection(), m_window, atom(QXcbAtom::_NET_WM_WINDOW_TYPE))); | - |
1899 | } else { never executed: end of block | 0 |
1900 | Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, | - |
1901 | atom(QXcbAtom::_NET_WM_WINDOW_TYPE), XCB_ATOM_ATOM, 32, | - |
1902 | atoms.count(), atoms.constData())); | - |
1903 | }executed 4160 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4160 |
1904 | xcb_flush(xcb_connection()); | - |
1905 | }executed 4160 times by 125 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 4160 |
1906 | | - |
1907 | void QXcbWindow::setWmWindowRole(const QByteArray &role) | - |
1908 | { | - |
1909 | Q_XCB_CALL(xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE, m_window, | - |
1910 | atom(QXcbAtom::WM_WINDOW_ROLE), XCB_ATOM_STRING, 8, | - |
1911 | role.size(), role.constData())); | - |
1912 | } never executed: end of block | 0 |
1913 | | - |
1914 | void QXcbWindow::setParentRelativeBackPixmapStatic(QWindow *window) | - |
1915 | { | - |
1916 | if (window->handle())TRUE | never evaluated | FALSE | never evaluated |
| 0 |
1917 | static_cast<QXcbWindow *>(window->handle())->setParentRelativeBackPixmap(); never executed: static_cast<QXcbWindow *>(window->handle())->setParentRelativeBackPixmap(); | 0 |
1918 | } never executed: end of block | 0 |
1919 | | - |
1920 | void QXcbWindow::setParentRelativeBackPixmap() | - |
1921 | { | - |
1922 | const quint32 mask = XCB_CW_BACK_PIXMAP; | - |
1923 | const quint32 values[] = { XCB_BACK_PIXMAP_PARENT_RELATIVE }; | - |
1924 | Q_XCB_CALL(xcb_change_window_attributes(xcb_connection(), m_window, mask, values)); | - |
1925 | } never executed: end of block | 0 |
1926 | | - |
1927 | bool QXcbWindow::requestSystemTrayWindowDockStatic(const QWindow *window) | - |
1928 | { | - |
1929 | if (window->handle())TRUE | evaluated 3 times by 1 test | FALSE | never evaluated |
| 0-3 |
1930 | return static_cast<QXcbWindow *>(window->handle())->requestSystemTrayWindowDock();executed 3 times by 1 test: return static_cast<QXcbWindow *>(window->handle())->requestSystemTrayWindowDock(); | 3 |
1931 | return false; never executed: return false; | 0 |
1932 | } | - |
1933 | | - |
1934 | bool QXcbWindow::requestSystemTrayWindowDock() const | - |
1935 | { | - |
1936 | if (!connection()->systemTrayTracker())TRUE | never evaluated | FALSE | evaluated 3 times by 1 test |
| 0-3 |
1937 | return false; never executed: return false; | 0 |
1938 | connection()->systemTrayTracker()->requestSystemTrayWindowDock(m_window); | - |
1939 | return true;executed 3 times by 1 test: return true; | 3 |
1940 | } | - |
1941 | | - |
1942 | QRect QXcbWindow::systemTrayWindowGlobalGeometryStatic(const QWindow *window) | - |
1943 | { | - |
1944 | if (window->handle())TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
1945 | return static_cast<QXcbWindow *>(window->handle())->systemTrayWindowGlobalGeometry();executed 4 times by 1 test: return static_cast<QXcbWindow *>(window->handle())->systemTrayWindowGlobalGeometry(); | 4 |
1946 | return QRect(); never executed: return QRect(); | 0 |
1947 | } | - |
1948 | | - |
1949 | QRect QXcbWindow::systemTrayWindowGlobalGeometry() const | - |
1950 | { | - |
1951 | if (!connection()->systemTrayTracker())TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
| 0-4 |
1952 | return QRect(); never executed: return QRect(); | 0 |
1953 | return connection()->systemTrayTracker()->systemTrayWindowGlobalGeometry(m_window);executed 4 times by 1 test: return connection()->systemTrayTracker()->systemTrayWindowGlobalGeometry(m_window); | 4 |
1954 | } | - |
1955 | | - |
1956 | class ExposeCompressor | - |
1957 | { | - |
1958 | public: | - |
1959 | ExposeCompressor(xcb_window_t window, QRegion *region) | - |
1960 | : m_window(window) | - |
1961 | , m_region(region) | - |
1962 | , m_pending(true) | - |
1963 | { | - |
1964 | }executed 2664 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2664 |
1965 | | - |
1966 | bool checkEvent(xcb_generic_event_t *event) | - |
1967 | { | - |
1968 | if (!event)TRUE | evaluated 29891 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 17201 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 17201-29891 |
1969 | return false;executed 29891 times by 104 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 29891 |
1970 | if ((event->response_type & ~0x80) != XCB_EXPOSE)TRUE | evaluated 16880 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 321 times by 26 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QBoxLayout
- tst_QComboBox
- tst_QDialog
- tst_QDockWidget
- tst_QFiledialog
- tst_QGraphicsView
- tst_QGuiApplication
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QOpenGLWindow
- tst_QPushButton
- tst_QSizeGrip
- tst_QSplitter
- tst_QStyleSheetStyle
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- ...
|
| 321-16880 |
1971 | return false;executed 16880 times by 104 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 16880 |
1972 | xcb_expose_event_t *expose = (xcb_expose_event_t *)event; | - |
1973 | if (expose->window != m_window)TRUE | evaluated 112 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QDialog
- tst_QDockWidget
- tst_QGuiApplication
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPushButton
- tst_QSizeGrip
- tst_QSplitter
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| FALSE | evaluated 209 times by 14 testsEvaluated by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsView
- tst_QLabel
- tst_QMdiArea
- tst_QOpenGLWindow
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
|
| 112-209 |
1974 | return false;executed 112 times by 19 tests: return false; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QDialog
- tst_QDockWidget
- tst_QGuiApplication
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QPushButton
- tst_QSizeGrip
- tst_QSplitter
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| 112 |
1975 | if (expose->count == 0)TRUE | evaluated 108 times by 14 testsEvaluated by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsView
- tst_QLabel
- tst_QMdiArea
- tst_QOpenGLWindow
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| FALSE | evaluated 101 times by 9 testsEvaluated by:- tst_QDialog
- tst_QGraphicsView
- tst_QMdiArea
- tst_QOpenGLWindow
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
|
| 101-108 |
1976 | m_pending = false;executed 108 times by 14 tests: m_pending = false; Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsView
- tst_QLabel
- tst_QMdiArea
- tst_QOpenGLWindow
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| 108 |
1977 | *m_region |= QRect(expose->x, expose->y, expose->width, expose->height); | - |
1978 | return true;executed 209 times by 14 tests: return true; Executed by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsView
- tst_QLabel
- tst_QMdiArea
- tst_QOpenGLWindow
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| 209 |
1979 | } | - |
1980 | | - |
1981 | bool pending() const | - |
1982 | { | - |
1983 | return m_pending;executed 2664 times by 104 tests: return m_pending; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2664 |
1984 | } | - |
1985 | | - |
1986 | private: | - |
1987 | xcb_window_t m_window; | - |
1988 | QRegion *m_region; | - |
1989 | bool m_pending; | - |
1990 | }; | - |
1991 | | - |
1992 | bool QXcbWindow::compressExposeEvent(QRegion &exposeRegion) | - |
1993 | { | - |
1994 | ExposeCompressor compressor(m_window, &exposeRegion); | - |
1995 | xcb_generic_event_t *filter = 0; | - |
1996 | do { | - |
1997 | filter = connection()->checkEvent(compressor); | - |
1998 | free(filter); | - |
1999 | } while (filter);executed 2873 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
TRUE | evaluated 209 times by 14 testsEvaluated by:- tst_QAccessibility
- tst_QBoxLayout
- tst_QDialog
- tst_QFiledialog
- tst_QGraphicsView
- tst_QLabel
- tst_QMdiArea
- tst_QOpenGLWindow
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| FALSE | evaluated 2664 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 209-2873 |
2000 | return compressor.pending();executed 2664 times by 104 tests: return compressor.pending(); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2664 |
2001 | } | - |
2002 | | - |
2003 | bool QXcbWindow::handleGenericEvent(xcb_generic_event_t *event, long *result) | - |
2004 | { | - |
2005 | return QWindowSystemInterface::handleNativeEvent(window(),executed 117475 times by 112 tests: return QWindowSystemInterface::handleNativeEvent(window(), connection()->nativeInterface()->genericEventFilterType(), event, result); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 117475 |
2006 | connection()->nativeInterface()->genericEventFilterType(),executed 117475 times by 112 tests: return QWindowSystemInterface::handleNativeEvent(window(), connection()->nativeInterface()->genericEventFilterType(), event, result); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 117475 |
2007 | event,executed 117475 times by 112 tests: return QWindowSystemInterface::handleNativeEvent(window(), connection()->nativeInterface()->genericEventFilterType(), event, result); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 117475 |
2008 | result);executed 117475 times by 112 tests: return QWindowSystemInterface::handleNativeEvent(window(), connection()->nativeInterface()->genericEventFilterType(), event, result); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 117475 |
2009 | } | - |
2010 | | - |
2011 | void QXcbWindow::handleExposeEvent(const xcb_expose_event_t *event) | - |
2012 | { | - |
2013 | QRect rect(event->x, event->y, event->width, event->height); | - |
2014 | | - |
2015 | if (m_exposeRegion.isEmpty())TRUE | evaluated 2664 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
| 0-2664 |
2016 | m_exposeRegion = rect;executed 2664 times by 104 tests: m_exposeRegion = rect; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2664 |
2017 | else | - |
2018 | m_exposeRegion |= rect; never executed: m_exposeRegion |= rect; | 0 |
2019 | | - |
2020 | bool pending = compressExposeEvent(m_exposeRegion); | - |
2021 | | - |
2022 | | - |
2023 | if (event->count == 0 || !pending) {TRUE | evaluated 2599 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 65 times by 10 testsEvaluated by:- tst_QDialog
- tst_QGraphicsView
- tst_QMdiArea
- tst_QOpenGLWindow
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
|
TRUE | evaluated 65 times by 10 testsEvaluated by:- tst_QDialog
- tst_QGraphicsView
- tst_QMdiArea
- tst_QOpenGLWindow
- tst_QSystemTrayIcon
- tst_QTableView
- tst_QWidget
- tst_QWidget_window
- tst_QWindow
- tst_QWindowContainer
| FALSE | never evaluated |
| 0-2599 |
2024 | QWindowSystemInterface::handleExposeEvent(window(), m_exposeRegion); | - |
2025 | m_exposeRegion = QRegion(); | - |
2026 | }executed 2664 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2664 |
2027 | }executed 2664 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2664 |
2028 | | - |
2029 | void QXcbWindow::handleClientMessageEvent(const xcb_client_message_event_t *event) | - |
2030 | { | - |
2031 | if (event->format != 32)TRUE | never evaluated | FALSE | evaluated 9158 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-9158 |
2032 | return; never executed: return; | 0 |
2033 | | - |
2034 | if (event->type == atom(QXcbAtom::WM_PROTOCOLS)) {TRUE | evaluated 2798 times by 99 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| FALSE | evaluated 6360 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 2798-6360 |
2035 | if (event->data.data32[0] == atom(QXcbAtom::WM_DELETE_WINDOW)) {TRUE | never evaluated | FALSE | evaluated 2798 times by 99 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
| 0-2798 |
2036 | QWindowSystemInterface::handleCloseEvent(window()); | - |
2037 | } else if (event->data.data32[0] == atom(QXcbAtom::WM_TAKE_FOCUS)) { never executed: end of block TRUE | evaluated 2237 times by 99 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| FALSE | evaluated 561 times by 47 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- ...
|
| 0-2237 |
2038 | connection()->setTime(event->data.data32[1]); | - |
2039 | relayFocusToModalWindow(); | - |
2040 | return;executed 2237 times by 99 tests: return; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
| 2237 |
2041 | } else if (event->data.data32[0] == atom(QXcbAtom::_NET_WM_PING)) {TRUE | evaluated 561 times by 47 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- ...
| FALSE | never evaluated |
| 0-561 |
2042 | if (event->window == xcbScreen()->root())TRUE | evaluated 270 times by 45 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- ...
| FALSE | evaluated 291 times by 47 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- ...
|
| 270-291 |
2043 | return;executed 270 times by 45 tests: return; Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- tst_QMdiArea
- ...
| 270 |
2044 | | - |
2045 | xcb_client_message_event_t reply = *event; | - |
2046 | | - |
2047 | reply.response_type = XCB_CLIENT_MESSAGE; | - |
2048 | reply.window = xcbScreen()->root(); | - |
2049 | | - |
2050 | xcb_send_event(xcb_connection(), 0, xcbScreen()->root(), XCB_EVENT_MASK_STRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, (const char *)&reply); | - |
2051 | xcb_flush(xcb_connection()); | - |
2052 | } else if (event->data.data32[0] == atom(QXcbAtom::_NET_WM_SYNC_REQUEST)) {executed 291 times by 47 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLineEdit
- tst_QListView
- ...
TRUE | never evaluated | FALSE | never evaluated |
| 0-291 |
2053 | connection()->setTime(event->data.data32[1]); | - |
2054 | m_syncValue.lo = event->data.data32[2]; | - |
2055 | m_syncValue.hi = event->data.data32[3]; | - |
2056 | if (m_usingSyncProtocol)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2057 | m_syncState = SyncReceived; never executed: m_syncState = SyncReceived; | 0 |
2058 | #ifndef QT_NO_WHATSTHIS | - |
2059 | } else if (event->data.data32[0] == atom(QXcbAtom::_NET_WM_CONTEXT_HELP)) { never executed: end of block TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2060 | QWindowSystemInterface::handleEnterWhatsThisEvent(); | - |
2061 | #endif | - |
2062 | } else { never executed: end of block | 0 |
2063 | qWarning() << "QXcbWindow: Unhandled WM_PROTOCOLS message:" << connection()->atomName(event->data.data32[0]); | - |
2064 | } never executed: end of block | 0 |
2065 | #ifndef QT_NO_DRAGANDDROP | - |
2066 | } else if (event->type == atom(QXcbAtom::XdndEnter)) {TRUE | never evaluated | FALSE | evaluated 6360 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-6360 |
2067 | connection()->drag()->handleEnter(this, event); | - |
2068 | } else if (event->type == atom(QXcbAtom::XdndPosition)) { never executed: end of block TRUE | never evaluated | FALSE | evaluated 6360 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-6360 |
2069 | connection()->drag()->handlePosition(this, event); | - |
2070 | } else if (event->type == atom(QXcbAtom::XdndLeave)) { never executed: end of block TRUE | never evaluated | FALSE | evaluated 6360 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-6360 |
2071 | connection()->drag()->handleLeave(this, event); | - |
2072 | } else if (event->type == atom(QXcbAtom::XdndDrop)) { never executed: end of block TRUE | never evaluated | FALSE | evaluated 6360 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-6360 |
2073 | connection()->drag()->handleDrop(this, event); | - |
2074 | #endif | - |
2075 | } else if (event->type == atom(QXcbAtom::_XEMBED)) { never executed: end of block TRUE | evaluated 1 time by 1 test | FALSE | evaluated 6359 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-6359 |
2076 | handleXEmbedMessage(event); | - |
2077 | } else if (event->type == atom(QXcbAtom::_NET_ACTIVE_WINDOW)) {executed 1 time by 1 test: end of block TRUE | evaluated 553 times by 56 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
| FALSE | evaluated 5806 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 1-5806 |
2078 | doFocusIn(); | - |
2079 | } else if (event->type == atom(QXcbAtom::MANAGER)executed 553 times by 56 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- ...
TRUE | never evaluated | FALSE | evaluated 5806 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-5806 |
2080 | || event->type == atom(QXcbAtom::_NET_WM_STATE)TRUE | evaluated 5799 times by 110 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 7 times by 3 testsEvaluated by:- tst_QListView
- tst_QMdiSubWindow
- tst_QWidget
|
| 7-5799 |
2081 | || event->type == atom(QXcbAtom::WM_CHANGE_STATE)) {TRUE | evaluated 7 times by 3 testsEvaluated by:- tst_QListView
- tst_QMdiSubWindow
- tst_QWidget
| FALSE | never evaluated |
| 0-7 |
2082 | | - |
2083 | | - |
2084 | } else if (event->type == atom(QXcbAtom::_COMPIZ_DECOR_PENDING)executed 5806 times by 110 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
TRUE | never evaluated | FALSE | never evaluated |
| 0-5806 |
2085 | || event->type == atom(QXcbAtom::_COMPIZ_DECOR_REQUEST)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2086 | || event->type == atom(QXcbAtom::_COMPIZ_DECOR_DELETE_PIXMAP)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2087 | || event->type == atom(QXcbAtom::_COMPIZ_TOOLKIT_ACTION)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2088 | || event->type == atom(QXcbAtom::_GTK_LOAD_ICONTHEMES)) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2089 | | - |
2090 | } else { never executed: end of block | 0 |
2091 | qWarning() << "QXcbWindow: Unhandled client message:" << connection()->atomName(event->type); | - |
2092 | } never executed: end of block | 0 |
2093 | } | - |
2094 | | - |
2095 | void QXcbWindow::handleConfigureNotifyEvent(const xcb_configure_notify_event_t *event) | - |
2096 | { | - |
2097 | bool fromSendEvent = (event->response_type & 0x80); | - |
2098 | QPoint pos(event->x, event->y); | - |
2099 | if (!parent() && !fromSendEvent) {TRUE | evaluated 5733 times by 109 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 23 times by 5 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
|
TRUE | evaluated 3467 times by 109 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 2266 times by 102 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 23-5733 |
2100 | | - |
2101 | xcb_translate_coordinates_cookie_t cookie = xcb_translate_coordinates(xcb_connection(), xcb_window(), | - |
2102 | xcbScreen()->root(), 0, 0); | - |
2103 | xcb_translate_coordinates_reply_t *reply = xcb_translate_coordinates_reply(xcb_connection(), cookie, NULL); | - |
2104 | if (reply) {TRUE | evaluated 3467 times by 109 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | never evaluated |
| 0-3467 |
2105 | pos.setX(reply->dst_x); | - |
2106 | pos.setY(reply->dst_y); | - |
2107 | free(reply); | - |
2108 | }executed 3467 times by 109 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 3467 |
2109 | }executed 3467 times by 109 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 3467 |
2110 | | - |
2111 | const QRect actualGeometry = QRect(pos, QSize(event->width, event->height)); | - |
2112 | QPlatformScreen *newScreen = parent() ? parent()->screen() : screenForGeometry(actualGeometry);TRUE | evaluated 23 times by 5 testsEvaluated by:- tst_QDialog
- tst_QMdiArea
- tst_QWidget
- tst_QWidget_window
- tst_QWindowContainer
| FALSE | evaluated 5733 times by 109 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 23-5733 |
2113 | if (!newScreen)TRUE | never evaluated | FALSE | evaluated 5756 times by 109 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-5756 |
2114 | return; never executed: return; | 0 |
2115 | | - |
2116 | | - |
2117 | | - |
2118 | QPlatformWindow::setGeometry(actualGeometry); | - |
2119 | | - |
2120 | | - |
2121 | | - |
2122 | | - |
2123 | | - |
2124 | QWindowSystemInterface::handleGeometryChange(window(), actualGeometry); | - |
2125 | | - |
2126 | | - |
2127 | | - |
2128 | | - |
2129 | QWindowSystemInterface::handleWindowScreenChanged(window(), newScreen->screen()); | - |
2130 | | - |
2131 | | - |
2132 | | - |
2133 | if (!m_oldWindowSize.isEmpty()TRUE | evaluated 3362 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 2394 times by 109 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 2394-3362 |
2134 | && (actualGeometry.width() < m_oldWindowSize.width()TRUE | evaluated 97 times by 9 testsEvaluated by:- tst_QApplication
- tst_QDockWidget
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QListWidget
- tst_QMdiArea
- tst_QWidget
- tst_QWindow
- tst_languageChange
| FALSE | evaluated 3265 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 97-3265 |
2135 | || actualGeometry.height() < m_oldWindowSize.height())) {TRUE | evaluated 12 times by 4 testsEvaluated by:- tst_QFiledialog
- tst_QSplitter
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 3253 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 12-3253 |
2136 | QWindowSystemInterface::handleExposeEvent(window(), QRegion(0, 0, actualGeometry.width(), actualGeometry.height())); | - |
2137 | }executed 109 times by 11 tests: end of block Executed by:- tst_QApplication
- tst_QDockWidget
- tst_QFiledialog
- tst_QGraphicsProxyWidget
- tst_QGraphicsView
- tst_QListWidget
- tst_QMdiArea
- tst_QSplitter
- tst_QWidget
- tst_QWindow
- tst_languageChange
| 109 |
2138 | m_oldWindowSize = actualGeometry.size(); | - |
2139 | | - |
2140 | if (m_usingSyncProtocol && m_syncState == SyncReceived)TRUE | evaluated 5756 times by 109 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | never evaluated |
TRUE | never evaluated | FALSE | evaluated 5756 times by 109 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
|
| 0-5756 |
2141 | m_syncState = SyncAndConfigureReceived; never executed: m_syncState = SyncAndConfigureReceived; | 0 |
2142 | | - |
2143 | m_dirtyFrameMargins = true; | - |
2144 | }executed 5756 times by 109 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 5756 |
2145 | | - |
2146 | bool QXcbWindow::isExposed() const | - |
2147 | { | - |
2148 | return m_mapped;executed 5348 times by 104 tests: return m_mapped; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 5348 |
2149 | } | - |
2150 | | - |
2151 | bool QXcbWindow::isEmbedded(const QPlatformWindow *parentWindow) const | - |
2152 | { | - |
2153 | if (!m_embedded)TRUE | evaluated 16231 times by 84 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- ...
| FALSE | never evaluated |
| 0-16231 |
2154 | return false;executed 16231 times by 84 tests: return false; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDialog
- tst_QDockWidget
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- ...
| 16231 |
2155 | | - |
2156 | return parentWindow ? (parentWindow == parent()) : true; never executed: return parentWindow ? (parentWindow == parent()) : true; | 0 |
2157 | } | - |
2158 | | - |
2159 | QPoint QXcbWindow::mapToGlobal(const QPoint &pos) const | - |
2160 | { | - |
2161 | if (!m_embedded)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2162 | return pos; never executed: return pos; | 0 |
2163 | | - |
2164 | QPoint ret; | - |
2165 | xcb_translate_coordinates_cookie_t cookie = | - |
2166 | xcb_translate_coordinates(xcb_connection(), xcb_window(), xcbScreen()->root(), | - |
2167 | pos.x(), pos.y()); | - |
2168 | xcb_translate_coordinates_reply_t *reply = | - |
2169 | xcb_translate_coordinates_reply(xcb_connection(), cookie, NULL); | - |
2170 | if (reply) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2171 | ret.setX(reply->dst_x); | - |
2172 | ret.setY(reply->dst_y); | - |
2173 | free(reply); | - |
2174 | } never executed: end of block | 0 |
2175 | | - |
2176 | return ret; never executed: return ret; | 0 |
2177 | } | - |
2178 | | - |
2179 | QPoint QXcbWindow::mapFromGlobal(const QPoint &pos) const | - |
2180 | { | - |
2181 | if (!m_embedded)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2182 | return pos; never executed: return pos; | 0 |
2183 | | - |
2184 | QPoint ret; | - |
2185 | xcb_translate_coordinates_cookie_t cookie = | - |
2186 | xcb_translate_coordinates(xcb_connection(), xcbScreen()->root(), xcb_window(), | - |
2187 | pos.x(), pos.y()); | - |
2188 | xcb_translate_coordinates_reply_t *reply = | - |
2189 | xcb_translate_coordinates_reply(xcb_connection(), cookie, NULL); | - |
2190 | if (reply) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2191 | ret.setX(reply->dst_x); | - |
2192 | ret.setY(reply->dst_y); | - |
2193 | free(reply); | - |
2194 | } never executed: end of block | 0 |
2195 | | - |
2196 | return ret; never executed: return ret; | 0 |
2197 | } | - |
2198 | | - |
2199 | void QXcbWindow::handleMapNotifyEvent(const xcb_map_notify_event_t *event) | - |
2200 | { | - |
2201 | if (event->window == m_window) {TRUE | evaluated 2478 times by 104 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
| 0-2478 |
2202 | m_mapped = true; | - |
2203 | if (m_deferredActivation)TRUE | evaluated 388 times by 53 testsEvaluated by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QGuiApplication
- ...
| FALSE | evaluated 2090 times by 93 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- ...
|
| 388-2090 |
2204 | requestActivateWindow();executed 388 times by 53 tests: requestActivateWindow(); Executed by:- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QApplication
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDialog
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFontDialog
- tst_QGraphicsEffect
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGroupBox
- tst_QGuiApplication
- ...
| 388 |
2205 | | - |
2206 | QWindowSystemInterface::handleExposeEvent(window(), QRect(QPoint(), geometry().size())); | - |
2207 | }executed 2478 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2478 |
2208 | }executed 2478 times by 104 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2478 |
2209 | | - |
2210 | void QXcbWindow::handleUnmapNotifyEvent(const xcb_unmap_notify_event_t *event) | - |
2211 | { | - |
2212 | if (event->window == m_window) {TRUE | evaluated 97 times by 30 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
| FALSE | never evaluated |
| 0-97 |
2213 | m_mapped = false; | - |
2214 | QWindowSystemInterface::handleExposeEvent(window(), QRegion()); | - |
2215 | }executed 97 times by 30 tests: end of block Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
| 97 |
2216 | }executed 97 times by 30 tests: end of block Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QLabel
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
| 97 |
2217 | | - |
2218 | void QXcbWindow::handleButtonPressEvent(int event_x, int event_y, int root_x, int root_y, | - |
2219 | int detail, Qt::KeyboardModifiers modifiers, xcb_timestamp_t timestamp, Qt::MouseEventSource source) | - |
2220 | { | - |
2221 | const bool isWheel = detail >= 4 && detail <= 7;TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2222 | if (!isWheel && window() != QGuiApplication::focusWindow()) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2223 | QWindow *w = static_cast<QWindowPrivate *>(QObjectPrivate::get(window()))->eventReceiver(); | - |
2224 | if (!(w->flags() & (Qt::WindowDoesNotAcceptFocus | Qt::BypassWindowManagerHint))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2225 | && w->type() != Qt::ToolTipTRUE | never evaluated | FALSE | never evaluated |
| 0 |
2226 | && w->type() != Qt::Popup) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2227 | w->requestActivate(); | - |
2228 | } never executed: end of block | 0 |
2229 | } never executed: end of block | 0 |
2230 | | - |
2231 | updateNetWmUserTime(timestamp); | - |
2232 | | - |
2233 | if (m_embedded) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2234 | if (window() != QGuiApplication::focusWindow()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2235 | const QXcbWindow *container = static_cast<const QXcbWindow *>(parent()); | - |
2236 | Q_ASSERT(container != 0); | - |
2237 | | - |
2238 | sendXEmbedMessage(container->xcb_window(), XEMBED_REQUEST_FOCUS); | - |
2239 | } never executed: end of block | 0 |
2240 | } never executed: end of block | 0 |
2241 | QPoint local(event_x, event_y); | - |
2242 | QPoint global(root_x, root_y); | - |
2243 | | - |
2244 | if (isWheel) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2245 | if (!connection()->isAtLeastXI21()) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2246 | | - |
2247 | int delta = 120 * ((detail == 4 || detail == 6) ? 1 : -1); | - |
2248 | bool hor = (((detail == 4 || detail == 5)TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2249 | && (modifiers & Qt::AltModifier))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2250 | || (detail == 6 || detail == 7));TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2251 | | - |
2252 | QWindowSystemInterface::handleWheelEvent(window(), timestamp, | - |
2253 | local, global, delta, hor ? Qt::Horizontal : Qt::Vertical, modifiers); | - |
2254 | } never executed: end of block | 0 |
2255 | return; never executed: return; | 0 |
2256 | } | - |
2257 | | - |
2258 | connection()->setMousePressWindow(this); | - |
2259 | | - |
2260 | handleMouseEvent(timestamp, local, global, modifiers, source); | - |
2261 | } never executed: end of block | 0 |
2262 | | - |
2263 | void QXcbWindow::handleButtonReleaseEvent(int event_x, int event_y, int root_x, int root_y, | - |
2264 | int detail, Qt::KeyboardModifiers modifiers, xcb_timestamp_t timestamp, Qt::MouseEventSource source) | - |
2265 | { | - |
2266 | QPoint local(event_x, event_y); | - |
2267 | QPoint global(root_x, root_y); | - |
2268 | | - |
2269 | if (detail >= 4 && detail <= 7) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2270 | | - |
2271 | return; never executed: return; | 0 |
2272 | } | - |
2273 | | - |
2274 | if (connection()->buttons() == Qt::NoButton)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2275 | connection()->setMousePressWindow(Q_NULLPTR); never executed: connection()->setMousePressWindow(nullptr); | 0 |
2276 | | - |
2277 | handleMouseEvent(timestamp, local, global, modifiers, source); | - |
2278 | } never executed: end of block | 0 |
2279 | | - |
2280 | static inline bool doCheckUnGrabAncestor(QXcbConnection *conn) | - |
2281 | { | - |
2282 | | - |
2283 | | - |
2284 | | - |
2285 | | - |
2286 | | - |
2287 | | - |
2288 | if (conn) {TRUE | evaluated 854 times by 70 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| FALSE | evaluated 17 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QGraphicsScene
- tst_QMdiSubWindow
- tst_QMenu
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
|
| 17-854 |
2289 | const bool mouseButtonsPressed = (conn->buttons() != Qt::NoButton); | - |
2290 | #ifdef XCB_USE_XINPUT22 | - |
2291 | return mouseButtonsPressed || (conn->isAtLeastXI22() && conn->xi2MouseEvents());executed 854 times by 70 tests: return mouseButtonsPressed || (conn->isAtLeastXI22() && conn->xi2MouseEvents()); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 854 |
2292 | #else | - |
2293 | return mouseButtonsPressed; | - |
2294 | #endif | - |
2295 | } | - |
2296 | return true;executed 17 times by 8 tests: return true; Executed by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QGraphicsScene
- tst_QMdiSubWindow
- tst_QMenu
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
| 17 |
2297 | } | - |
2298 | | - |
2299 | static bool ignoreLeaveEvent(quint8 mode, quint8 detail, QXcbConnection *conn = Q_NULLPTR) | - |
2300 | { | - |
2301 | return ((doCheckUnGrabAncestor(conn)executed 141 times by 27 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_GRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_INFERIOR) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 141 |
2302 | && mode == XCB_NOTIFY_MODE_GRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR)executed 141 times by 27 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_GRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_INFERIOR) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 141 |
2303 | || (mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_INFERIOR)executed 141 times by 27 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_GRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_INFERIOR) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 141 |
2304 | || detail == XCB_NOTIFY_DETAIL_VIRTUALexecuted 141 times by 27 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_GRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_INFERIOR) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 141 |
2305 | || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL);executed 141 times by 27 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_GRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_INFERIOR) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 141 |
2306 | } | - |
2307 | | - |
2308 | static bool ignoreEnterEvent(quint8 mode, quint8 detail, QXcbConnection *conn = Q_NULLPTR) | - |
2309 | { | - |
2310 | return ((doCheckUnGrabAncestor(conn)executed 730 times by 70 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode != XCB_NOTIFY_MODE_NORMAL && mode != XCB_NOTIFY_MODE_UNGRAB) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 730 |
2311 | && mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR)executed 730 times by 70 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode != XCB_NOTIFY_MODE_NORMAL && mode != XCB_NOTIFY_MODE_UNGRAB) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 730 |
2312 | || (mode != XCB_NOTIFY_MODE_NORMAL && mode != XCB_NOTIFY_MODE_UNGRAB)executed 730 times by 70 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode != XCB_NOTIFY_MODE_NORMAL && mode != XCB_NOTIFY_MODE_UNGRAB) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 730 |
2313 | || detail == XCB_NOTIFY_DETAIL_VIRTUALexecuted 730 times by 70 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode != XCB_NOTIFY_MODE_NORMAL && mode != XCB_NOTIFY_MODE_UNGRAB) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 730 |
2314 | || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL);executed 730 times by 70 tests: return ((doCheckUnGrabAncestor(conn) && mode == XCB_NOTIFY_MODE_UNGRAB && detail == XCB_NOTIFY_DETAIL_ANCESTOR) || (mode != XCB_NOTIFY_MODE_NORMAL && mode != XCB_NOTIFY_MODE_UNGRAB) || detail == XCB_NOTIFY_DETAIL_VIRTUAL || detail == XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 730 |
2315 | } | - |
2316 | | - |
2317 | class EnterEventChecker | - |
2318 | { | - |
2319 | public: | - |
2320 | bool checkEvent(xcb_generic_event_t *event) | - |
2321 | { | - |
2322 | if (!event)TRUE | evaluated 2525 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| FALSE | evaluated 1056 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QListView
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- tst_QWizard
|
| 1056-2525 |
2323 | return false;executed 2525 times by 27 tests: return false; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 2525 |
2324 | if ((event->response_type & ~0x80) != XCB_ENTER_NOTIFY)TRUE | evaluated 1039 times by 24 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QListView
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- tst_QWizard
| FALSE | evaluated 17 times by 8 testsEvaluated by:- tst_QAccessibility
- tst_QFileDialog2
- tst_QGraphicsScene
- tst_QMdiSubWindow
- tst_QMenu
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
|
| 17-1039 |
2325 | return false;executed 1039 times by 24 tests: return false; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QListView
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- tst_QWizard
| 1039 |
2326 | | - |
2327 | xcb_enter_notify_event_t *enter = (xcb_enter_notify_event_t *)event; | - |
2328 | if (ignoreEnterEvent(enter->mode, enter->detail))TRUE | evaluated 8 times by 3 testsEvaluated by:- tst_QAccessibility
- tst_QMdiSubWindow
- tst_QMenu
| FALSE | evaluated 9 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QGraphicsScene
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
|
| 8-9 |
2329 | return false;executed 8 times by 3 tests: return false; Executed by:- tst_QAccessibility
- tst_QMdiSubWindow
- tst_QMenu
| 8 |
2330 | | - |
2331 | return true;executed 9 times by 5 tests: return true; Executed by:- tst_QFileDialog2
- tst_QGraphicsScene
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
| 9 |
2332 | } | - |
2333 | }; | - |
2334 | | - |
2335 | void QXcbWindow::handleEnterNotifyEvent(int event_x, int event_y, int root_x, int root_y, | - |
2336 | quint8 mode, quint8 detail, xcb_timestamp_t timestamp) | - |
2337 | { | - |
2338 | connection()->setTime(timestamp); | - |
2339 | #ifdef XCB_USE_XINPUT21 | - |
2340 | connection()->handleEnterEvent(); | - |
2341 | #endif | - |
2342 | | - |
2343 | const QPoint global = QPoint(root_x, root_y); | - |
2344 | | - |
2345 | if (ignoreEnterEvent(mode, detail, connection()) || connection()->mousePressWindow())TRUE | evaluated 65 times by 18 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
- tst_QWindow
| FALSE | evaluated 648 times by 66 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- ...
|
TRUE | never evaluated | FALSE | evaluated 648 times by 66 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- ...
|
| 0-648 |
2346 | return;executed 65 times by 18 tests: return; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
- tst_QWindow
| 65 |
2347 | | - |
2348 | const QPoint local(event_x, event_y); | - |
2349 | QWindowSystemInterface::handleEnterEvent(window(), local, global); | - |
2350 | }executed 648 times by 66 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- tst_QGraphicsView
- ...
| 648 |
2351 | | - |
2352 | void QXcbWindow::handleLeaveNotifyEvent(int root_x, int root_y, | - |
2353 | quint8 mode, quint8 detail, xcb_timestamp_t timestamp) | - |
2354 | { | - |
2355 | connection()->setTime(timestamp); | - |
2356 | | - |
2357 | if (ignoreLeaveEvent(mode, detail, connection()) || connection()->mousePressWindow())TRUE | never evaluated | FALSE | evaluated 141 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
|
TRUE | never evaluated | FALSE | evaluated 141 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
|
| 0-141 |
2358 | return; never executed: return; | 0 |
2359 | | - |
2360 | EnterEventChecker checker; | - |
2361 | xcb_enter_notify_event_t *enter = (xcb_enter_notify_event_t *)connection()->checkEvent(checker); | - |
2362 | QXcbWindow *enterWindow = enter ? connection()->platformWindowFromId(enter->event) : 0;TRUE | evaluated 9 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QGraphicsScene
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 132 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
|
| 9-132 |
2363 | | - |
2364 | if (enterWindow) {TRUE | evaluated 9 times by 5 testsEvaluated by:- tst_QFileDialog2
- tst_QGraphicsScene
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 132 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
|
| 9-132 |
2365 | QPoint local(enter->event_x, enter->event_y); | - |
2366 | QPoint global = QPoint(root_x, root_y); | - |
2367 | QWindowSystemInterface::handleEnterLeaveEvent(enterWindow->window(), window(), local, global); | - |
2368 | } else {executed 9 times by 5 tests: end of block Executed by:- tst_QFileDialog2
- tst_QGraphicsScene
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
| 9 |
2369 | QWindowSystemInterface::handleLeaveEvent(window()); | - |
2370 | }executed 132 times by 27 tests: end of block Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 132 |
2371 | | - |
2372 | free(enter); | - |
2373 | }executed 141 times by 27 tests: end of block Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 141 |
2374 | | - |
2375 | void QXcbWindow::handleMotionNotifyEvent(int event_x, int event_y, int root_x, int root_y, | - |
2376 | Qt::KeyboardModifiers modifiers, xcb_timestamp_t timestamp, Qt::MouseEventSource source) | - |
2377 | { | - |
2378 | QPoint local(event_x, event_y); | - |
2379 | QPoint global(root_x, root_y); | - |
2380 | | - |
2381 | | - |
2382 | | - |
2383 | const bool isMouseButtonPressed = (connection()->buttons() != Qt::NoButton); | - |
2384 | const bool hasMousePressWindow = (connection()->mousePressWindow() != Q_NULLPTR); | - |
2385 | if (isMouseButtonPressed && !hasMousePressWindow)TRUE | never evaluated | FALSE | evaluated 453 times by 17 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-453 |
2386 | connection()->setMousePressWindow(this); never executed: connection()->setMousePressWindow(this); | 0 |
2387 | else if (hasMousePressWindow && !isMouseButtonPressed)TRUE | never evaluated | FALSE | evaluated 453 times by 17 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-453 |
2388 | connection()->setMousePressWindow(Q_NULLPTR); never executed: connection()->setMousePressWindow(nullptr); | 0 |
2389 | | - |
2390 | handleMouseEvent(timestamp, local, global, modifiers, source); | - |
2391 | }executed 453 times by 17 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 453 |
2392 | | - |
2393 | | - |
2394 | void QXcbWindow::handleButtonPressEvent(const xcb_button_press_event_t *event) | - |
2395 | { | - |
2396 | Qt::KeyboardModifiers modifiers = connection()->keyboard()->translateModifiers(event->state); | - |
2397 | handleButtonPressEvent(event->event_x, event->event_y, event->root_x, event->root_y, event->detail, | - |
2398 | modifiers, event->time); | - |
2399 | } never executed: end of block | 0 |
2400 | | - |
2401 | void QXcbWindow::handleButtonReleaseEvent(const xcb_button_release_event_t *event) | - |
2402 | { | - |
2403 | Qt::KeyboardModifiers modifiers = connection()->keyboard()->translateModifiers(event->state); | - |
2404 | handleButtonReleaseEvent(event->event_x, event->event_y, event->root_x, event->root_y, event->detail, | - |
2405 | modifiers, event->time); | - |
2406 | } never executed: end of block | 0 |
2407 | | - |
2408 | void QXcbWindow::handleMotionNotifyEvent(const xcb_motion_notify_event_t *event) | - |
2409 | { | - |
2410 | Qt::KeyboardModifiers modifiers = connection()->keyboard()->translateModifiers(event->state); | - |
2411 | handleMotionNotifyEvent(event->event_x, event->event_y, event->root_x, event->root_y, modifiers, event->time); | - |
2412 | } never executed: end of block | 0 |
2413 | | - |
2414 | #ifdef XCB_USE_XINPUT22 | - |
2415 | static inline int fixed1616ToInt(FP1616 val) | - |
2416 | { | - |
2417 | return int((qreal(val >> 16)) + (val & 0xFFFF) / (qreal)0xFFFF);executed 4946 times by 70 tests: return int((qreal(val >> 16)) + (val & 0xFFFF) / (qreal)0xFFFF); Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 4946 |
2418 | } | - |
2419 | | - |
2420 | | - |
2421 | void QXcbWindow::handleXIMouseEvent(xcb_ge_event_t *event, Qt::MouseEventSource source) | - |
2422 | { | - |
2423 | QXcbConnection *conn = connection(); | - |
2424 | xXIDeviceEvent *ev = reinterpret_cast<xXIDeviceEvent *>(event); | - |
2425 | const Qt::KeyboardModifiers modifiers = conn->keyboard()->translateModifiers(ev->mods.effective_mods); | - |
2426 | const int event_x = fixed1616ToInt(ev->event_x); | - |
2427 | const int event_y = fixed1616ToInt(ev->event_y); | - |
2428 | const int root_x = fixed1616ToInt(ev->root_x); | - |
2429 | const int root_y = fixed1616ToInt(ev->root_y); | - |
2430 | | - |
2431 | conn->keyboard()->updateXKBStateFromXI(&ev->mods, &ev->group); | - |
2432 | | - |
2433 | const Qt::MouseButton button = conn->xiToQtMouseButton(ev->detail); | - |
2434 | | - |
2435 | if (ev->buttons_len > 0) {TRUE | evaluated 453 times by 17 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| FALSE | never evaluated |
| 0-453 |
2436 | unsigned char *buttonMask = (unsigned char *) &ev[1]; | - |
2437 | for (int i = 1; i <= 15; ++i)TRUE | evaluated 6795 times by 17 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 453 times by 17 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
|
| 453-6795 |
2438 | conn->setButton(conn->translateMouseButton(i), XIMaskIsSet(buttonMask, i));executed 6795 times by 17 tests: conn->setButton(conn->translateMouseButton(i), (((unsigned char*)(buttonMask))[(i)>>3] & (1 << ((i) & 7)))); Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 6795 |
2439 | }executed 453 times by 17 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 453 |
2440 | | - |
2441 | const char *sourceName = 0; | - |
2442 | if (Q_UNLIKELY(lcQpaXInputEvents().isDebugEnabled())) {TRUE | never evaluated | FALSE | evaluated 453 times by 17 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
|
| 0-453 |
2443 | const QMetaObject *metaObject = qt_getEnumMetaObject(source); | - |
2444 | const QMetaEnum me = metaObject->enumerator(metaObject->indexOfEnumerator(qt_getEnumName(source))); | - |
2445 | sourceName = me.valueToKey(source); | - |
2446 | } never executed: end of block | 0 |
2447 | | - |
2448 | switch (ev->evtype) { | - |
2449 | case XI_ButtonPress: never executed: case 4: | 0 |
2450 | if (Q_UNLIKELY(lcQpaXInputEvents().isDebugEnabled()))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2451 | qCDebug(lcQpaXInputEvents, "XI2 mouse press, button %d, time %d, source %s", button, ev->time, sourceName); never executed: QMessageLogger(__FILE__, 2451, __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("XI2 mouse press, button %d, time %d, source %s", button, ev->time, sourceName); TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2452 | conn->setButton(button, true); | - |
2453 | handleButtonPressEvent(event_x, event_y, root_x, root_y, ev->detail, modifiers, ev->time, source); | - |
2454 | break; never executed: break; | 0 |
2455 | case XI_ButtonRelease: never executed: case 5: | 0 |
2456 | if (Q_UNLIKELY(lcQpaXInputEvents().isDebugEnabled()))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2457 | qCDebug(lcQpaXInputEvents, "XI2 mouse release, button %d, time %d, source %s", button, ev->time, sourceName); never executed: QMessageLogger(__FILE__, 2457, __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("XI2 mouse release, button %d, time %d, source %s", button, ev->time, sourceName); TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2458 | conn->setButton(button, false); | - |
2459 | handleButtonReleaseEvent(event_x, event_y, root_x, root_y, ev->detail, modifiers, ev->time, source); | - |
2460 | break; never executed: break; | 0 |
2461 | case XI_Motion:executed 453 times by 17 tests: case 6: Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 453 |
2462 | if (Q_UNLIKELY(lcQpaXInputEvents().isDebugEnabled()))TRUE | never evaluated | FALSE | evaluated 453 times by 17 testsEvaluated by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
|
| 0-453 |
2463 | qCDebug(lcQpaXInputEvents, "XI2 mouse motion %d,%d, time %d, source %s", event_x, event_y, ev->time, sourceName); never executed: QMessageLogger(__FILE__, 2463, __PRETTY_FUNCTION__, lcQpaXInputEvents().categoryName()).debug("XI2 mouse motion %d,%d, time %d, source %s", event_x, event_y, ev->time, sourceName); TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2464 | handleMotionNotifyEvent(event_x, event_y, root_x, root_y, modifiers, ev->time, source); | - |
2465 | break;executed 453 times by 17 tests: break; Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 453 |
2466 | default: never executed: default: | 0 |
2467 | qWarning() << "Unrecognized XI2 mouse event" << ev->evtype; | - |
2468 | break; never executed: break; | 0 |
2469 | } | - |
2470 | } | - |
2471 | | - |
2472 | | - |
2473 | void QXcbWindow::handleXIEnterLeave(xcb_ge_event_t *event) | - |
2474 | { | - |
2475 | xXIEnterEvent *ev = reinterpret_cast<xXIEnterEvent *>(event); | - |
2476 | | - |
2477 | | - |
2478 | | - |
2479 | QXcbWindow *mouseGrabber = connection()->mouseGrabber(); | - |
2480 | if (mouseGrabber && mouseGrabber != thisTRUE | evaluated 94 times by 16 testsEvaluated by:- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
| FALSE | evaluated 772 times by 66 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
|
TRUE | evaluated 24 times by 8 testsEvaluated by:- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QToolButton
| FALSE | evaluated 70 times by 16 testsEvaluated by:- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QWidget
- tst_QWidgetAction
|
| 24-772 |
2481 | && (ev->evtype != XI_Leave || QGuiApplicationPrivate::currentMouseWindow != window())) {TRUE | evaluated 6 times by 4 testsEvaluated by:- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QMenu
| FALSE | evaluated 18 times by 8 testsEvaluated by:- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QToolButton
|
TRUE | evaluated 6 times by 4 testsEvaluated by:- tst_QComboBox
- tst_QFileDialog2
- tst_QMdiSubWindow
- tst_QMenu
| FALSE | evaluated 12 times by 8 testsEvaluated by:- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QToolButton
|
| 6-18 |
2482 | return;executed 12 times by 5 tests: return; Executed by:- tst_QComboBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QMdiSubWindow
- tst_QMenu
| 12 |
2483 | } | - |
2484 | | - |
2485 | const int root_x = fixed1616ToInt(ev->root_x); | - |
2486 | const int root_y = fixed1616ToInt(ev->root_y); | - |
2487 | | - |
2488 | switch (ev->evtype) { | - |
2489 | case XI_Enter: {executed 713 times by 70 tests: case 7: Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 713 |
2490 | const int event_x = fixed1616ToInt(ev->event_x); | - |
2491 | const int event_y = fixed1616ToInt(ev->event_y); | - |
2492 | qCDebug(lcQpaXInput, "XI2 mouse enter %d,%d, mode %d, detail %d, time %d", event_x, event_y, ev->mode, ev->detail, ev->time); never executed: QMessageLogger(__FILE__, 2492, __PRETTY_FUNCTION__, lcQpaXInput().categoryName()).debug("XI2 mouse enter %d,%d, mode %d, detail %d, time %d", event_x, event_y, ev->mode, ev->detail, ev->time); TRUE | never evaluated | FALSE | evaluated 713 times by 70 testsEvaluated by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
|
| 0-713 |
2493 | handleEnterNotifyEvent(event_x, event_y, root_x, root_y, ev->mode, ev->detail, ev->time); | - |
2494 | break;executed 713 times by 70 tests: break; Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 713 |
2495 | } | - |
2496 | case XI_Leave:executed 141 times by 27 tests: case 8: Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 141 |
2497 | qCDebug(lcQpaXInput, "XI2 mouse leave, mode %d, detail %d, time %d", ev->mode, ev->detail, ev->time); never executed: QMessageLogger(__FILE__, 2497, __PRETTY_FUNCTION__, lcQpaXInput().categoryName()).debug("XI2 mouse leave, mode %d, detail %d, time %d", ev->mode, ev->detail, ev->time); TRUE | never evaluated | FALSE | evaluated 141 times by 27 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
|
| 0-141 |
2498 | connection()->keyboard()->updateXKBStateFromXI(&ev->mods, &ev->group); | - |
2499 | handleLeaveNotifyEvent(root_x, root_y, ev->mode, ev->detail, ev->time); | - |
2500 | break;executed 141 times by 27 tests: break; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QComboBox
- tst_QCompleter
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGridLayout
- tst_QListView
- tst_QListWidget
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QOpenGLWidget
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- ...
| 141 |
2501 | } | - |
2502 | }executed 854 times by 70 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDesktopWidget
- tst_QDialog
- tst_QFileDialog2
- tst_QFileSystemModel
- tst_QFiledialog
- tst_QFocusEvent
- tst_QFontDialog
- tst_QGestureRecognizer
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsSceneIndex
- ...
| 854 |
2503 | #endif | - |
2504 | | - |
2505 | QXcbWindow *QXcbWindow::toWindow() { return this; }executed 9237 times by 110 tests: return this; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 9237 |
2506 | | - |
2507 | void QXcbWindow::handleMouseEvent(xcb_timestamp_t time, const QPoint &local, const QPoint &global, | - |
2508 | Qt::KeyboardModifiers modifiers, Qt::MouseEventSource source) | - |
2509 | { | - |
2510 | connection()->setTime(time); | - |
2511 | QWindowSystemInterface::handleMouseEvent(window(), time, local, global, connection()->buttons(), modifiers, source); | - |
2512 | }executed 453 times by 17 tests: end of block Executed by:- tst_QAbstractItemView
- tst_QCalendarWidget
- tst_QComboBox
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QItemView
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStackedLayout
- tst_QStyleSheetStyle
- tst_QTableView
- tst_QWidget
- tst_QWindow
| 453 |
2513 | | - |
2514 | void QXcbWindow::handleEnterNotifyEvent(const xcb_enter_notify_event_t *event) | - |
2515 | { | - |
2516 | handleEnterNotifyEvent(event->event_x, event->event_y, event->root_x, event->root_y, event->mode, event->detail, event->time); | - |
2517 | } never executed: end of block | 0 |
2518 | | - |
2519 | void QXcbWindow::handleLeaveNotifyEvent(const xcb_leave_notify_event_t *event) | - |
2520 | { | - |
2521 | handleLeaveNotifyEvent(event->root_x, event->root_y, event->mode, event->detail, event->time); | - |
2522 | } never executed: end of block | 0 |
2523 | | - |
2524 | void QXcbWindow::handlePropertyNotifyEvent(const xcb_property_notify_event_t *event) | - |
2525 | { | - |
2526 | connection()->setTime(event->time); | - |
2527 | | - |
2528 | const bool propertyDeleted = event->state == XCB_PROPERTY_DELETE; | - |
2529 | | - |
2530 | if (event->atom == atom(QXcbAtom::_NET_WM_STATE) || event->atom == atom(QXcbAtom::WM_STATE)) {TRUE | evaluated 9238 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 92913 times by 112 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
|
TRUE | evaluated 2411 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 90502 times by 112 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
|
| 2411-92913 |
2531 | if (propertyDeleted)TRUE | evaluated 92 times by 27 testsEvaluated by:- tst_QApplication
- tst_QCompleter
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QGuiApplication
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- tst_QWidget_window
- ...
| FALSE | evaluated 11557 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 92-11557 |
2532 | return;executed 92 times by 27 tests: return; Executed by:- tst_QApplication
- tst_QCompleter
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QGuiApplication
- tst_QLabel
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- tst_QWidget_window
- ...
| 92 |
2533 | | - |
2534 | Qt::WindowState newState = Qt::WindowNoState; | - |
2535 | if (event->atom == atom(QXcbAtom::WM_STATE)) { TRUE | evaluated 2411 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 9146 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 2411-9146 |
2536 | const xcb_get_property_cookie_t get_cookie = | - |
2537 | xcb_get_property(xcb_connection(), 0, m_window, atom(QXcbAtom::WM_STATE), | - |
2538 | XCB_ATOM_ANY, 0, 1024); | - |
2539 | | - |
2540 | xcb_get_property_reply_t *reply = | - |
2541 | xcb_get_property_reply(xcb_connection(), get_cookie, NULL); | - |
2542 | | - |
2543 | if (reply && reply->format == 32 && reply->type == atom(QXcbAtom::WM_STATE)) {TRUE | evaluated 2411 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
TRUE | evaluated 2411 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
TRUE | evaluated 2411 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
| 0-2411 |
2544 | const quint32 *data = (const quint32 *)xcb_get_property_value(reply); | - |
2545 | if (reply->length != 0) {TRUE | evaluated 2411 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | never evaluated |
| 0-2411 |
2546 | if (data[0] == XCB_WM_STATE_ICONICTRUE | evaluated 2 times by 2 tests | FALSE | evaluated 2409 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 2-2409 |
2547 | || (data[0] == XCB_WM_STATE_WITHDRAWNTRUE | evaluated 107 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QGuiApplication
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
| FALSE | evaluated 2302 times by 105 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 107-2302 |
2548 | && m_lastWindowStateEvent == Qt::WindowMinimized)) {TRUE | never evaluated | FALSE | evaluated 107 times by 28 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QCompleter
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QGuiApplication
- tst_QLineEdit
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QMessageBox
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QScrollBar
- tst_QSpinBox
- tst_QStyleSheetStyle
- tst_QToolButton
- tst_QWidget
- ...
|
| 0-107 |
2549 | newState = Qt::WindowMinimized; | - |
2550 | }executed 2 times by 2 tests: end of block | 2 |
2551 | }executed 2411 times by 105 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2411 |
2552 | }executed 2411 times by 105 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2411 |
2553 | free(reply); | - |
2554 | } else { executed 2411 times by 105 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2411 |
2555 | if (m_lastWindowStateEvent == Qt::WindowMinimized)TRUE | evaluated 4 times by 2 tests | FALSE | evaluated 9142 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 4-9142 |
2556 | newState = Qt::WindowMinimized;executed 4 times by 2 tests: newState = Qt::WindowMinimized; | 4 |
2557 | }executed 9146 times by 107 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 9146 |
2558 | | - |
2559 | if (newState != Qt::WindowMinimized) { TRUE | evaluated 11551 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 6 times by 2 tests |
| 6-11551 |
2560 | const NetWmStates states = netWmStates(); | - |
2561 | if (states & NetWmStateFullScreen)TRUE | evaluated 14 times by 3 testsEvaluated by:- tst_QSizeGrip
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 11537 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 14-11537 |
2562 | newState = Qt::WindowFullScreen;executed 14 times by 3 tests: newState = Qt::WindowFullScreen; Executed by:- tst_QSizeGrip
- tst_QWidget
- tst_QWindow
| 14 |
2563 | else if ((states & NetWmStateMaximizedHorz) && (states & NetWmStateMaximizedVert)) | - |
2564 | newState = Qt::WindowMaximized;executed 146 times by 15 tests: newState = Qt::WindowMaximized; Executed by:- tst_QBackingStore
- tst_QCommandLinkButton
- tst_QHeaderView
- tst_QListView
- tst_QMainWindow
- tst_QMdiArea
- tst_QMdiSubWindow
- tst_QOpenGLWidget
- tst_QPainter
- tst_QPrinter
- tst_QSplitter
- tst_QStatusBar
- tst_QTreeView
- tst_QWidget
- tst_QWindow
| 146 |
2565 | }executed 11551 times by 107 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 11551 |
2566 | | - |
2567 | if (m_lastWindowStateEvent != newState) {TRUE | evaluated 2469 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| FALSE | evaluated 9088 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 2469-9088 |
2568 | QWindowSystemInterface::handleWindowStateChanged(window(), newState); | - |
2569 | m_lastWindowStateEvent = newState; | - |
2570 | m_windowState = newState; | - |
2571 | if (m_windowState == Qt::WindowMinimized && connection()->mouseGrabber() == this)TRUE | evaluated 2 times by 2 tests | FALSE | evaluated 2467 times by 107 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
TRUE | never evaluated | FALSE | evaluated 2 times by 2 tests |
| 0-2467 |
2572 | connection()->setMouseGrabber(Q_NULLPTR); never executed: connection()->setMouseGrabber(nullptr); | 0 |
2573 | }executed 2469 times by 107 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2469 |
2574 | return;executed 11557 times by 107 tests: return; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 11557 |
2575 | } else if (event->atom == atom(QXcbAtom::_NET_FRAME_EXTENTS)) {TRUE | evaluated 2255 times by 106 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| FALSE | evaluated 88247 times by 112 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
|
| 2255-88247 |
2576 | m_dirtyFrameMargins = true; | - |
2577 | }executed 2255 times by 106 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- ...
| 2255 |
2578 | }executed 90502 times by 112 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- ...
| 90502 |
2579 | | - |
2580 | void QXcbWindow::handleFocusInEvent(const xcb_focus_in_event_t *event) | - |
2581 | { | - |
2582 | | - |
2583 | | - |
2584 | if (event->detail == XCB_NOTIFY_DETAIL_POINTER)TRUE | evaluated 54 times by 17 testsEvaluated by:- tst_QApplication
- tst_QDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- tst_languageChange
| FALSE | evaluated 2526 times by 103 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
|
| 54-2526 |
2585 | return;executed 54 times by 17 tests: return; Executed by:- tst_QApplication
- tst_QDialog
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGridLayout
- tst_QMdiSubWindow
- tst_QMenuBar
- tst_QMessageBox
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
- tst_languageChange
| 54 |
2586 | doFocusIn(); | - |
2587 | }executed 2526 times by 103 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 2526 |
2588 | | - |
2589 | | - |
2590 | void QXcbWindow::handleFocusOutEvent(const xcb_focus_out_event_t *event) | - |
2591 | { | - |
2592 | | - |
2593 | | - |
2594 | if (event->detail == XCB_NOTIFY_DETAIL_POINTER)TRUE | evaluated 30 times by 11 testsEvaluated by:- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
| FALSE | evaluated 400 times by 49 testsEvaluated by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- ...
|
| 30-400 |
2595 | return;executed 30 times by 11 tests: return; Executed by:- tst_QDialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsWidget
- tst_QNetworkAccessManager_And_QProgressDialog
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTreeWidget
- tst_QWidget
- tst_QWindow
| 30 |
2596 | doFocusOut(); | - |
2597 | }executed 400 times by 49 tests: end of block Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDialog
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsItem
- tst_QGraphicsProxyWidget
- tst_QGraphicsScene
- tst_QGraphicsView
- tst_QGraphicsWidget
- tst_QGridLayout
- tst_QGuiApplication
- tst_QItemDelegate
- tst_QLabel
- tst_QLineEdit
- tst_QListView
- tst_QListWidget
- tst_QMdiArea
- ...
| 400 |
2598 | | - |
2599 | void QXcbWindow::updateSyncRequestCounter() | - |
2600 | { | - |
2601 | if (m_syncState != SyncAndConfigureReceived) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2602 | | - |
2603 | return; never executed: return; | 0 |
2604 | } | - |
2605 | if (m_usingSyncProtocol && (m_syncValue.lo != 0 || m_syncValue.hi != 0)) {TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2606 | Q_XCB_CALL(xcb_sync_set_counter(xcb_connection(), m_syncCounter, m_syncValue)); | - |
2607 | xcb_flush(xcb_connection()); | - |
2608 | | - |
2609 | m_syncValue.lo = 0; | - |
2610 | m_syncValue.hi = 0; | - |
2611 | m_syncState = NoSyncNeeded; | - |
2612 | } never executed: end of block | 0 |
2613 | } never executed: end of block | 0 |
2614 | | - |
2615 | const xcb_visualtype_t *QXcbWindow::createVisual() | - |
2616 | { | - |
2617 | return xcbScreen() ? xcbScreen()->visualForFormat(m_format)executed 133 times by 12 tests: return xcbScreen() ? xcbScreen()->visualForFormat(m_format) : nullptr; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QLineEdit
- tst_QMouseEvent
- tst_QRasterWindow
- tst_QTouchEvent
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
| 133 |
2618 | : nullptr;executed 133 times by 12 tests: return xcbScreen() ? xcbScreen()->visualForFormat(m_format) : nullptr; Executed by:- tst_QAccessibility
- tst_QApplication
- tst_QBackingStore
- tst_QGuiApplication
- tst_QKeyEvent
- tst_QLineEdit
- tst_QMouseEvent
- tst_QRasterWindow
- tst_QTouchEvent
- tst_QWindow
- tst_QWindowContainer
- tst_qinputmethod
| 133 |
2619 | } | - |
2620 | | - |
2621 | bool QXcbWindow::setKeyboardGrabEnabled(bool grab) | - |
2622 | { | - |
2623 | if (grab && !connection()->canGrab())TRUE | evaluated 193 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| FALSE | evaluated 152 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
|
TRUE | never evaluated | FALSE | evaluated 193 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
|
| 0-193 |
2624 | return false; never executed: return false; | 0 |
2625 | | - |
2626 | if (!grab) {TRUE | evaluated 152 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| FALSE | evaluated 193 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
|
| 152-193 |
2627 | xcb_ungrab_keyboard(xcb_connection(), XCB_TIME_CURRENT_TIME); | - |
2628 | return true;executed 152 times by 19 tests: return true; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| 152 |
2629 | } | - |
2630 | xcb_grab_keyboard_cookie_t cookie = xcb_grab_keyboard(xcb_connection(), false, | - |
2631 | m_window, XCB_TIME_CURRENT_TIME, | - |
2632 | XCB_GRAB_MODE_ASYNC, XCB_GRAB_MODE_ASYNC); | - |
2633 | xcb_grab_keyboard_reply_t *reply = xcb_grab_keyboard_reply(xcb_connection(), cookie, NULL); | - |
2634 | bool result = !(!reply || reply->status != XCB_GRAB_STATUS_SUCCESS);TRUE | never evaluated | FALSE | evaluated 193 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
|
TRUE | evaluated 10 times by 4 testsEvaluated by:- tst_QCommandLinkButton
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
| FALSE | evaluated 183 times by 19 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
|
| 0-193 |
2635 | free(reply); | - |
2636 | return result;executed 193 times by 21 tests: return result; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QPushButton
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| 193 |
2637 | } | - |
2638 | | - |
2639 | bool QXcbWindow::setMouseGrabEnabled(bool grab) | - |
2640 | { | - |
2641 | if (!grab && connection()->mouseGrabber() == this)TRUE | evaluated 169 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| FALSE | evaluated 198 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
|
TRUE | evaluated 169 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| FALSE | never evaluated |
| 0-198 |
2642 | connection()->setMouseGrabber(Q_NULLPTR);executed 169 times by 21 tests: connection()->setMouseGrabber(nullptr); Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| 169 |
2643 | #ifdef XCB_USE_XINPUT22 | - |
2644 | if (connection()->isAtLeastXI22() && connection()->xi2MouseEvents()) {TRUE | evaluated 367 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| FALSE | never evaluated |
TRUE | evaluated 367 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| FALSE | never evaluated |
| 0-367 |
2645 | bool result = connection()->xi2SetMouseGrabEnabled(m_window, grab); | - |
2646 | if (grab && result)TRUE | evaluated 198 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| FALSE | evaluated 169 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
|
TRUE | evaluated 198 times by 21 testsEvaluated by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| FALSE | never evaluated |
| 0-198 |
2647 | connection()->setMouseGrabber(this);executed 198 times by 21 tests: connection()->setMouseGrabber(this); Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| 198 |
2648 | return result;executed 367 times by 21 tests: return result; Executed by:- tst_QAccessibility
- tst_QComboBox
- tst_QCompleter
- tst_QDateTimeEdit
- tst_QFileDialog2
- tst_QFiledialog
- tst_QFocusEvent
- tst_QGraphicsProxyWidget
- tst_QGraphicsWidget
- tst_QLabel
- tst_QLineEdit
- tst_QMainWindow
- tst_QMdiSubWindow
- tst_QMenu
- tst_QMenuBar
- tst_QStyleSheetStyle
- tst_QTextEdit
- tst_QToolButton
- tst_QToolTip
- tst_QWidget
- tst_QWidgetAction
| 367 |
2649 | } | - |
2650 | #endif | - |
2651 | if (grab && !connection()->canGrab())TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2652 | return false; never executed: return false; | 0 |
2653 | | - |
2654 | if (!grab) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2655 | xcb_ungrab_pointer(xcb_connection(), XCB_TIME_CURRENT_TIME); | - |
2656 | return true; never executed: return true; | 0 |
2657 | } | - |
2658 | xcb_grab_pointer_cookie_t cookie = xcb_grab_pointer(xcb_connection(), false, m_window, | - |
2659 | (XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | - |
2660 | | XCB_EVENT_MASK_BUTTON_MOTION | XCB_EVENT_MASK_ENTER_WINDOW | - |
2661 | | XCB_EVENT_MASK_LEAVE_WINDOW | XCB_EVENT_MASK_POINTER_MOTION), | - |
2662 | XCB_GRAB_MODE_ASYNC, XCB_GRAB_MODE_ASYNC, | - |
2663 | XCB_WINDOW_NONE, XCB_CURSOR_NONE, | - |
2664 | XCB_TIME_CURRENT_TIME); | - |
2665 | xcb_grab_pointer_reply_t *reply = xcb_grab_pointer_reply(xcb_connection(), cookie, NULL); | - |
2666 | bool result = !(!reply || reply->status != XCB_GRAB_STATUS_SUCCESS);TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2667 | free(reply); | - |
2668 | if (result)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2669 | connection()->setMouseGrabber(this); never executed: connection()->setMouseGrabber(this); | 0 |
2670 | return result; never executed: return result; | 0 |
2671 | } | - |
2672 | | - |
2673 | void QXcbWindow::setCursor(xcb_cursor_t cursor, bool isBitmapCursor) | - |
2674 | { | - |
2675 | xcb_connection_t *conn = xcb_connection(); | - |
2676 | | - |
2677 | xcb_change_window_attributes(conn, m_window, XCB_CW_CURSOR, &cursor); | - |
2678 | xcb_flush(conn); | - |
2679 | | - |
2680 | if (m_currentBitmapCursor != XCB_CURSOR_NONE) {TRUE | never evaluated | FALSE | evaluated 7794 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 0-7794 |
2681 | xcb_free_cursor(conn, m_currentBitmapCursor); | - |
2682 | } never executed: end of block | 0 |
2683 | | - |
2684 | if (isBitmapCursor) {TRUE | never evaluated | FALSE | evaluated 7794 times by 114 testsEvaluated by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
|
| 0-7794 |
2685 | m_currentBitmapCursor = cursor; | - |
2686 | } else { never executed: end of block | 0 |
2687 | m_currentBitmapCursor = XCB_CURSOR_NONE; | - |
2688 | }executed 7794 times by 114 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- tst_QDialogButtonBox
- ...
| 7794 |
2689 | } | - |
2690 | | - |
2691 | void QXcbWindow::windowEvent(QEvent *event) | - |
2692 | { | - |
2693 | switch (event->type()) { | - |
2694 | case QEvent::FocusIn:executed 19 times by 8 tests: case QEvent::FocusIn: Executed by:- tst_QAbstractItemView
- tst_QApplication
- tst_QFocusEvent
- tst_QGraphicsScene
- tst_QItemDelegate
- tst_QMdiSubWindow
- tst_QTableView
- tst_QWidget
| 19 |
2695 | if (m_embedded && !event->spontaneous()) {TRUE | never evaluated | FALSE | evaluated 19 times by 8 testsEvaluated by:- tst_QAbstractItemView
- tst_QApplication
- tst_QFocusEvent
- tst_QGraphicsScene
- tst_QItemDelegate
- tst_QMdiSubWindow
- tst_QTableView
- tst_QWidget
|
TRUE | never evaluated | FALSE | never evaluated |
| 0-19 |
2696 | QFocusEvent *focusEvent = static_cast<QFocusEvent *>(event); | - |
2697 | switch (focusEvent->reason()) { | - |
2698 | case Qt::TabFocusReason: never executed: case Qt::TabFocusReason: | 0 |
2699 | case Qt::BacktabFocusReason: never executed: case Qt::BacktabFocusReason: | 0 |
2700 | { | - |
2701 | const QXcbWindow *container = | - |
2702 | static_cast<const QXcbWindow *>(parent()); | - |
2703 | sendXEmbedMessage(container->xcb_window(), | - |
2704 | focusEvent->reason() == Qt::TabFocusReason ? | - |
2705 | XEMBED_FOCUS_NEXT : XEMBED_FOCUS_PREV); | - |
2706 | event->accept(); | - |
2707 | } | - |
2708 | break; never executed: break; | 0 |
2709 | default: never executed: default: | 0 |
2710 | break; never executed: break; | 0 |
2711 | } | - |
2712 | } | - |
2713 | break;executed 19 times by 8 tests: break; Executed by:- tst_QAbstractItemView
- tst_QApplication
- tst_QFocusEvent
- tst_QGraphicsScene
- tst_QItemDelegate
- tst_QMdiSubWindow
- tst_QTableView
- tst_QWidget
| 19 |
2714 | default:executed 24738 times by 128 tests: default: Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 24738 |
2715 | break;executed 24738 times by 128 tests: break; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 24738 |
2716 | } | - |
2717 | QPlatformWindow::windowEvent(event); | - |
2718 | }executed 24757 times by 128 tests: end of block Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 24757 |
2719 | | - |
2720 | bool QXcbWindow::startSystemResize(const QPoint &pos, Qt::Corner corner) | - |
2721 | { | - |
2722 | const xcb_atom_t moveResize = connection()->atom(QXcbAtom::_NET_WM_MOVERESIZE); | - |
2723 | if (!connection()->wmSupport()->isSupportedByWM(moveResize))TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2724 | return false; never executed: return false; | 0 |
2725 | xcb_client_message_event_t xev; | - |
2726 | xev.response_type = XCB_CLIENT_MESSAGE; | - |
2727 | xev.type = moveResize; | - |
2728 | xev.sequence = 0; | - |
2729 | xev.window = xcb_window(); | - |
2730 | xev.format = 32; | - |
2731 | const QPoint globalPos = window()->mapToGlobal(pos); | - |
2732 | xev.data.data32[0] = globalPos.x(); | - |
2733 | xev.data.data32[1] = globalPos.y(); | - |
2734 | const bool bottom = corner == Qt::BottomRightCorner || corner == Qt::BottomLeftCorner;TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2735 | const bool left = corner == Qt::BottomLeftCorner || corner == Qt::TopLeftCorner;TRUE | never evaluated | FALSE | never evaluated |
TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2736 | if (bottom)TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2737 | xev.data.data32[2] = left ? 6 : 4; never executed: xev.data.data32[2] = left ? 6 : 4; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2738 | else | - |
2739 | xev.data.data32[2] = left ? 0 : 2; never executed: xev.data.data32[2] = left ? 0 : 2; TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2740 | xev.data.data32[3] = XCB_BUTTON_INDEX_1; | - |
2741 | xev.data.data32[4] = 0; | - |
2742 | xcb_ungrab_pointer(connection()->xcb_connection(), XCB_CURRENT_TIME); | - |
2743 | xcb_send_event(connection()->xcb_connection(), false, xcbScreen()->root(), | - |
2744 | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY, | - |
2745 | (const char *)&xev); | - |
2746 | return true; never executed: return true; | 0 |
2747 | } | - |
2748 | | - |
2749 | | - |
2750 | void QXcbWindow::sendXEmbedMessage(xcb_window_t window, quint32 message, | - |
2751 | quint32 detail, quint32 data1, quint32 data2) | - |
2752 | { | - |
2753 | xcb_client_message_event_t event; | - |
2754 | | - |
2755 | event.response_type = XCB_CLIENT_MESSAGE; | - |
2756 | event.format = 32; | - |
2757 | event.sequence = 0; | - |
2758 | event.window = window; | - |
2759 | event.type = atom(QXcbAtom::_XEMBED); | - |
2760 | event.data.data32[0] = connection()->time(); | - |
2761 | event.data.data32[1] = message; | - |
2762 | event.data.data32[2] = detail; | - |
2763 | event.data.data32[3] = data1; | - |
2764 | event.data.data32[4] = data2; | - |
2765 | Q_XCB_CALL(xcb_send_event(xcb_connection(), false, window, | - |
2766 | XCB_EVENT_MASK_NO_EVENT, (const char *)&event)); | - |
2767 | } never executed: end of block | 0 |
2768 | | - |
2769 | static bool activeWindowChangeQueued(const QWindow *window) | - |
2770 | { | - |
2771 | | - |
2772 | | - |
2773 | | - |
2774 | QWindowSystemInterfacePrivate::ActivatedWindowEvent *systemEvent = | - |
2775 | static_cast<QWindowSystemInterfacePrivate::ActivatedWindowEvent *> | - |
2776 | (QWindowSystemInterfacePrivate::peekWindowSystemEvent(QWindowSystemInterfacePrivate::ActivatedWindow)); | - |
2777 | return systemEvent && systemEvent->activated != window; never executed: return systemEvent && systemEvent->activated != window; | 0 |
2778 | } | - |
2779 | | - |
2780 | void QXcbWindow::handleXEmbedMessage(const xcb_client_message_event_t *event) | - |
2781 | { | - |
2782 | connection()->setTime(event->data.data32[0]); | - |
2783 | switch (event->data.data32[1]) { | - |
2784 | case XEMBED_WINDOW_ACTIVATE: never executed: case XEMBED_WINDOW_ACTIVATE: | 0 |
2785 | case XEMBED_WINDOW_DEACTIVATE: never executed: case XEMBED_WINDOW_DEACTIVATE: | 0 |
2786 | break; never executed: break; | 0 |
2787 | case XEMBED_EMBEDDED_NOTIFY:executed 1 time by 1 test: case XEMBED_EMBEDDED_NOTIFY: | 1 |
2788 | Q_XCB_CALL(xcb_map_window(xcb_connection(), m_window)); | - |
2789 | xcbScreen()->windowShown(this); | - |
2790 | | - |
2791 | | - |
2792 | | - |
2793 | Q_XCB_CALL(xcb_clear_area(xcb_connection(), false, m_window, 0, 0, geometry().width(), geometry().height())); | - |
2794 | xcb_flush(xcb_connection()); | - |
2795 | break;executed 1 time by 1 test: break; | 1 |
2796 | case XEMBED_FOCUS_IN: never executed: case XEMBED_FOCUS_IN: | 0 |
2797 | Qt::FocusReason reason; | - |
2798 | switch (event->data.data32[2]) { | - |
2799 | case XEMBED_FOCUS_FIRST: never executed: case XEMBED_FOCUS_FIRST: | 0 |
2800 | reason = Qt::TabFocusReason; | - |
2801 | break; never executed: break; | 0 |
2802 | case XEMBED_FOCUS_LAST: never executed: case XEMBED_FOCUS_LAST: | 0 |
2803 | reason = Qt::BacktabFocusReason; | - |
2804 | break; never executed: break; | 0 |
2805 | case XEMBED_FOCUS_CURRENT: never executed: case XEMBED_FOCUS_CURRENT: | 0 |
2806 | default: never executed: default: | 0 |
2807 | reason = Qt::OtherFocusReason; | - |
2808 | break; never executed: break; | 0 |
2809 | } | - |
2810 | connection()->setFocusWindow(static_cast<QXcbWindow*>(window()->handle())); | - |
2811 | QWindowSystemInterface::handleWindowActivated(window(), reason); | - |
2812 | break; never executed: break; | 0 |
2813 | case XEMBED_FOCUS_OUT: never executed: case XEMBED_FOCUS_OUT: | 0 |
2814 | if (window() == QGuiApplication::focusWindow()TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2815 | && !activeWindowChangeQueued(window())) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2816 | connection()->setFocusWindow(0); | - |
2817 | QWindowSystemInterface::handleWindowActivated(0); | - |
2818 | } never executed: end of block | 0 |
2819 | break; never executed: break; | 0 |
2820 | } | - |
2821 | }executed 1 time by 1 test: end of block | 1 |
2822 | | - |
2823 | static inline xcb_rectangle_t qRectToXCBRectangle(const QRect &r) | - |
2824 | { | - |
2825 | xcb_rectangle_t result; | - |
2826 | result.x = qMax(SHRT_MIN, r.x()); | - |
2827 | result.y = qMax(SHRT_MIN, r.y()); | - |
2828 | result.width = qMin((int)USHRT_MAX, r.width()); | - |
2829 | result.height = qMin((int)USHRT_MAX, r.height()); | - |
2830 | return result;executed 243 times by 4 tests: return result; Executed by:- tst_QMdiArea
- tst_QSystemTrayIcon
- tst_QWidget
- tst_QWindow
| 243 |
2831 | } | - |
2832 | | - |
2833 | void QXcbWindow::setOpacity(qreal level) | - |
2834 | { | - |
2835 | if (!m_window)TRUE | never evaluated | FALSE | evaluated 3 times by 2 testsEvaluated by:- tst_QGraphicsProxyWidget
- tst_QWidget
|
| 0-3 |
2836 | return; never executed: return; | 0 |
2837 | | - |
2838 | quint32 value = qRound64(qBound(qreal(0), level, qreal(1)) * 0xffffffff); | - |
2839 | | - |
2840 | Q_XCB_CALL(xcb_change_property(xcb_connection(), | - |
2841 | XCB_PROP_MODE_REPLACE, | - |
2842 | m_window, | - |
2843 | atom(QXcbAtom::_NET_WM_WINDOW_OPACITY), | - |
2844 | XCB_ATOM_CARDINAL, | - |
2845 | 32, | - |
2846 | 1, | - |
2847 | (uchar *)&value)); | - |
2848 | }executed 3 times by 2 tests: end of block Executed by:- tst_QGraphicsProxyWidget
- tst_QWidget
| 3 |
2849 | | - |
2850 | void QXcbWindow::setMask(const QRegion ®ion) | - |
2851 | { | - |
2852 | if (!connection()->hasXShape())TRUE | never evaluated | FALSE | evaluated 19 times by 4 testsEvaluated by:- tst_QMdiArea
- tst_QSystemTrayIcon
- tst_QWidget
- tst_QWindow
|
| 0-19 |
2853 | return; never executed: return; | 0 |
2854 | if (region.isEmpty()) {TRUE | evaluated 2 times by 1 test | FALSE | evaluated 17 times by 4 testsEvaluated by:- tst_QMdiArea
- tst_QSystemTrayIcon
- tst_QWidget
- tst_QWindow
|
| 2-17 |
2855 | xcb_shape_mask(connection()->xcb_connection(), XCB_SHAPE_SO_SET, | - |
2856 | XCB_SHAPE_SK_BOUNDING, xcb_window(), 0, 0, XCB_NONE); | - |
2857 | } else {executed 2 times by 1 test: end of block | 2 |
2858 | QVector<xcb_rectangle_t> rects; | - |
2859 | const QVector<QRect> regionRects = region.rects(); | - |
2860 | rects.reserve(regionRects.count()); | - |
2861 | foreach (const QRect &r, regionRects) | - |
2862 | rects.push_back(qRectToXCBRectangle(r));executed 243 times by 4 tests: rects.push_back(qRectToXCBRectangle(r)); Executed by:- tst_QMdiArea
- tst_QSystemTrayIcon
- tst_QWidget
- tst_QWindow
| 243 |
2863 | xcb_shape_rectangles(connection()->xcb_connection(), XCB_SHAPE_SO_SET, | - |
2864 | XCB_SHAPE_SK_BOUNDING, XCB_CLIP_ORDERING_UNSORTED, | - |
2865 | xcb_window(), 0, 0, rects.size(), &rects[0]); | - |
2866 | }executed 17 times by 4 tests: end of block Executed by:- tst_QMdiArea
- tst_QSystemTrayIcon
- tst_QWidget
- tst_QWindow
| 17 |
2867 | } | - |
2868 | | - |
2869 | void QXcbWindow::setAlertState(bool enabled) | - |
2870 | { | - |
2871 | if (m_alertState == enabled)TRUE | never evaluated | FALSE | evaluated 1 time by 1 test |
| 0-1 |
2872 | return; never executed: return; | 0 |
2873 | | - |
2874 | m_alertState = enabled; | - |
2875 | | - |
2876 | changeNetWmState(enabled, atom(QXcbAtom::_NET_WM_STATE_DEMANDS_ATTENTION)); | - |
2877 | }executed 1 time by 1 test: end of block | 1 |
2878 | | - |
2879 | uint QXcbWindow::visualId() const | - |
2880 | { | - |
2881 | return m_visualId; never executed: return m_visualId; | 0 |
2882 | } | - |
2883 | | - |
2884 | bool QXcbWindow::needsSync() const | - |
2885 | { | - |
2886 | return m_syncState == SyncAndConfigureReceived;executed 10997 times by 101 tests: return m_syncState == SyncAndConfigureReceived; Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAccessibility
- tst_QAction
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDesktopWidget
- tst_QDialog
- tst_QDialogButtonBox
- tst_QDockWidget
- tst_QDoubleSpinBox
- tst_QFileDialog2
- tst_QFileSystemModel
- ...
| 10997 |
2887 | } | - |
2888 | | - |
2889 | void QXcbWindow::postSyncWindowRequest() | - |
2890 | { | - |
2891 | if (!m_pendingSyncRequest) {TRUE | never evaluated | FALSE | never evaluated |
| 0 |
2892 | QXcbSyncWindowRequest *e = new QXcbSyncWindowRequest(this); | - |
2893 | m_pendingSyncRequest = e; | - |
2894 | QCoreApplication::postEvent(xcbScreen()->connection(), e); | - |
2895 | } never executed: end of block | 0 |
2896 | } never executed: end of block | 0 |
2897 | | - |
2898 | QXcbScreen *QXcbWindow::xcbScreen() const | - |
2899 | { | - |
2900 | return static_cast<QXcbScreen *>(screen());executed 42048 times by 136 tests: return static_cast<QXcbScreen *>(screen()); Executed by:- tst_Gestures
- tst_QAbstractButton
- tst_QAbstractItemView
- tst_QAbstractScrollArea
- tst_QAbstractSlider
- tst_QAbstractSpinBox
- tst_QAccessibility
- tst_QAction
- tst_QActionGroup
- tst_QApplication
- tst_QBackingStore
- tst_QBoxLayout
- tst_QButtonGroup
- tst_QCalendarWidget
- tst_QCheckBox
- tst_QColorDialog
- tst_QColumnView
- tst_QComboBox
- tst_QCommandLinkButton
- tst_QCompleter
- tst_QDataWidgetMapper
- tst_QDateTimeEdit
- tst_QDesktopWidget
- tst_QDial
- tst_QDialog
- ...
| 42048 |
2901 | } | - |
2902 | | - |
2903 | QT_END_NAMESPACE | - |
2904 | | - |
| | |