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