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