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