OpenCoverage

qasciikey.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/testlib/qasciikey.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2**-
3** Copyright (C) 2016 The Qt Company Ltd.-
4** Contact: https://www.qt.io/licensing/-
5**-
6** This file is part of the QtTest module of the Qt Toolkit.-
7**-
8** $QT_BEGIN_LICENSE:LGPL$-
9** Commercial License Usage-
10** Licensees holding valid commercial Qt licenses may use this file in-
11** accordance with the commercial license agreement provided with the-
12** Software or, alternatively, in accordance with the terms contained in-
13** a written agreement between you and The Qt Company. For licensing terms-
14** and conditions see https://www.qt.io/terms-conditions. For further-
15** information use the contact form at https://www.qt.io/contact-us.-
16**-
17** GNU Lesser General Public License Usage-
18** Alternatively, this file may be used under the terms of the GNU Lesser-
19** General Public License version 3 as published by the Free Software-
20** Foundation and appearing in the file LICENSE.LGPL3 included in the-
21** packaging of this file. Please review the following information to-
22** ensure the GNU Lesser General Public License version 3 requirements-
23** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.-
24**-
25** GNU General Public License Usage-
26** Alternatively, this file may be used under the terms of the GNU-
27** General Public License version 2.0 or (at your option) the GNU General-
28** Public license version 3 or any later version approved by the KDE Free-
29** Qt Foundation. The licenses are as published by the Free Software-
30** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3-
31** included in the packaging of this file. Please review the following-
32** information to ensure the GNU General Public License requirements will-
33** be met: https://www.gnu.org/licenses/gpl-2.0.html and-
34** https://www.gnu.org/licenses/gpl-3.0.html.-
35**-
36** $QT_END_LICENSE$-
37**-
38****************************************************************************/-
39-
40#include <QtTest/qtestcase.h>-
41#include <QtTest/qtestassert.h>-
42-
43QT_BEGIN_NAMESPACE-
44-
45/*! \internal-
46 Convert an ascii char key value to a Qt Key value.-
47 If the key is unknown a 0 is returned.-
48-
49 Note: this may happen more than you like since not all known-
50 ascii keys _are_ converted already. So feel free to add all the keys you need.-
51 */-
52Qt::Key QTest::asciiToKey(char ascii)-
53{-
54 switch ((unsigned char)ascii) {-
55 case 0x08: return Qt::Key_Backspace;
never executed: return Qt::Key_Backspace;
never executed: case 0x08:
0
56 case 0x09: return Qt::Key_Tab;
never executed: return Qt::Key_Tab;
never executed: case 0x09:
0
57 case 0x0b: return Qt::Key_Backtab;
never executed: return Qt::Key_Backtab;
never executed: case 0x0b:
0
58 case 0x0d: return Qt::Key_Return;
never executed: return Qt::Key_Return;
never executed: case 0x0d:
0
59 case 0x1b: return Qt::Key_Escape;
never executed: return Qt::Key_Escape;
never executed: case 0x1b:
0
60 case 0x13: return Qt::Key_Up;
never executed: return Qt::Key_Up;
never executed: case 0x13:
0
61 case 0x15: return Qt::Key_Down;
never executed: return Qt::Key_Down;
never executed: case 0x15:
0
62 case 0x20: return Qt::Key_Space;
executed 83 times by 8 tests: return Qt::Key_Space;
Executed by:
  • tst_QAbstractButton
  • tst_QCheckBox
  • tst_QCommandLinkButton
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QPushButton
  • tst_QTextEdit
executed 83 times by 8 tests: case 0x20:
Executed by:
  • tst_QAbstractButton
  • tst_QCheckBox
  • tst_QCommandLinkButton
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QPushButton
  • tst_QTextEdit
83
63 case 0x21: return Qt::Key_Exclam;
executed 5 times by 2 tests: return Qt::Key_Exclam;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 5 times by 2 tests: case 0x21:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
5
64 case 0x22: return Qt::Key_QuoteDbl;
executed 2 times by 2 tests: return Qt::Key_QuoteDbl;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x22:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
65 case 0x23: return Qt::Key_NumberSign;
executed 3 times by 2 tests: return Qt::Key_NumberSign;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 3 times by 2 tests: case 0x23:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
3
66 case 0x24: return Qt::Key_Dollar;
executed 2 times by 2 tests: return Qt::Key_Dollar;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x24:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
67 case 0x25: return Qt::Key_Percent;
executed 2 times by 2 tests: return Qt::Key_Percent;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x25:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
68 case 0x26: return Qt::Key_Ampersand;
executed 2 times by 2 tests: return Qt::Key_Ampersand;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x26:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
69 case 0x27: return Qt::Key_Apostrophe;
executed 2 times by 2 tests: return Qt::Key_Apostrophe;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x27:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
70 case 0x28: return Qt::Key_ParenLeft;
executed 2 times by 2 tests: return Qt::Key_ParenLeft;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x28:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
71 case 0x29: return Qt::Key_ParenRight;
executed 2 times by 2 tests: return Qt::Key_ParenRight;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x29:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
72 case 0x2a: return Qt::Key_Asterisk;
executed 6 times by 4 tests: return Qt::Key_Asterisk;
Executed by:
  • tst_QComboBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QTextEdit
executed 6 times by 4 tests: case 0x2a:
Executed by:
  • tst_QComboBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QTextEdit
6
73 case 0x2b: return Qt::Key_Plus;
executed 2 times by 2 tests: return Qt::Key_Plus;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x2b:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
74 case 0x2c: return Qt::Key_Comma;
executed 12 times by 3 tests: return Qt::Key_Comma;
Executed by:
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
executed 12 times by 3 tests: case 0x2c:
Executed by:
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
12
75 case 0x2d: return Qt::Key_Minus;
executed 58 times by 3 tests: return Qt::Key_Minus;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 58 times by 3 tests: case 0x2d:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
58
76 case 0x2e: return Qt::Key_Period;
executed 78 times by 4 tests: return Qt::Key_Period;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QLineEdit
executed 78 times by 4 tests: case 0x2e:
Executed by:
  • tst_QDoubleSpinBox
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QLineEdit
78
77 case 0x2f: return Qt::Key_Slash;
executed 6 times by 4 tests: return Qt::Key_Slash;
Executed by:
  • tst_QCompleter
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QLineEdit
executed 6 times by 4 tests: case 0x2f:
Executed by:
  • tst_QCompleter
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QLineEdit
6
78 case 0x30: return Qt::Key_0;
executed 193 times by 5 tests: return Qt::Key_0;
Executed by:
  • tst_QCalendarWidget
  • tst_QDateTimeEdit
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 193 times by 5 tests: case 0x30:
Executed by:
  • tst_QCalendarWidget
  • tst_QDateTimeEdit
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
193
79 case 0x31: return Qt::Key_1;
executed 116 times by 8 tests: return Qt::Key_1;
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QListWidget
  • tst_QSpinBox
  • tst_QTableWidget
executed 116 times by 8 tests: case 0x31:
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QListWidget
  • tst_QSpinBox
  • tst_QTableWidget
116
80 case 0x32: return Qt::Key_2;
executed 105 times by 7 tests: return Qt::Key_2;
Executed by:
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 105 times by 7 tests: case 0x32:
Executed by:
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
105
81 case 0x33: return Qt::Key_3;
executed 14 times by 2 tests: return Qt::Key_3;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 14 times by 2 tests: case 0x33:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
14
82 case 0x34: return Qt::Key_4;
executed 28 times by 4 tests: return Qt::Key_4;
Executed by:
  • tst_QDateTimeEdit
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 28 times by 4 tests: case 0x34:
Executed by:
  • tst_QDateTimeEdit
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
28
83 case 0x35: return Qt::Key_5;
executed 56 times by 4 tests: return Qt::Key_5;
Executed by:
  • tst_QDateTimeEdit
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 56 times by 4 tests: case 0x35:
Executed by:
  • tst_QDateTimeEdit
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
56
84 case 0x36: return Qt::Key_6;
executed 8 times by 4 tests: return Qt::Key_6;
Executed by:
  • tst_QCalendarWidget
  • tst_QDateTimeEdit
  • tst_QInputDialog
  • tst_QLineEdit
executed 8 times by 4 tests: case 0x36:
Executed by:
  • tst_QCalendarWidget
  • tst_QDateTimeEdit
  • tst_QInputDialog
  • tst_QLineEdit
8
85 case 0x37: return Qt::Key_7;
executed 9 times by 4 tests: return Qt::Key_7;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 9 times by 4 tests: case 0x37:
Executed by:
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
9
86 case 0x38: return Qt::Key_8;
executed 7 times by 2 tests: return Qt::Key_8;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 7 times by 2 tests: case 0x38:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
7
87 case 0x39: return Qt::Key_9;
executed 25 times by 5 tests: return Qt::Key_9;
Executed by:
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 25 times by 5 tests: case 0x39:
Executed by:
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
25
88 case 0x3a: return Qt::Key_Colon;
executed 7 times by 2 tests: return Qt::Key_Colon;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 7 times by 2 tests: case 0x3a:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
7
89 case 0x3b: return Qt::Key_Semicolon;
executed 3 times by 2 tests: return Qt::Key_Semicolon;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 3 times by 2 tests: case 0x3b:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
3
90 case 0x3c: return Qt::Key_Less;
executed 2 times by 2 tests: return Qt::Key_Less;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x3c:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
91 case 0x3d: return Qt::Key_Equal;
executed 2 times by 2 tests: return Qt::Key_Equal;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x3d:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
92 case 0x3e: return Qt::Key_Greater;
executed 2 times by 2 tests: return Qt::Key_Greater;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x3e:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
93 case 0x3f: return Qt::Key_Question;
executed 2 times by 2 tests: return Qt::Key_Question;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x3f:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
94 case 0x40: return Qt::Key_At;
executed 2 times by 2 tests: return Qt::Key_At;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x40:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
95 case 0x41: return Qt::Key_A;
executed 29 times by 6 tests: return Qt::Key_A;
Executed by:
  • tst_QAbstractButton
  • tst_QAccessibility
  • tst_QCommandLinkButton
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QPushButton
executed 29 times by 6 tests: case 0x41:
Executed by:
  • tst_QAbstractButton
  • tst_QAccessibility
  • tst_QCommandLinkButton
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QPushButton
29
96 case 0x42: return Qt::Key_B;
executed 10 times by 1 test: return Qt::Key_B;
Executed by:
  • tst_QLineEdit
executed 10 times by 1 test: case 0x42:
Executed by:
  • tst_QLineEdit
10
97 case 0x43: return Qt::Key_C;
executed 16 times by 3 tests: return Qt::Key_C;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QLineEdit
executed 16 times by 3 tests: case 0x43:
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QLineEdit
16
98 case 0x44: return Qt::Key_D;
executed 6 times by 2 tests: return Qt::Key_D;
Executed by:
  • tst_QAccessibility
  • tst_QLineEdit
executed 6 times by 2 tests: case 0x44:
Executed by:
  • tst_QAccessibility
  • tst_QLineEdit
6
99 case 0x45: return Qt::Key_E;
executed 13 times by 2 tests: return Qt::Key_E;
Executed by:
  • tst_QAccessibility
  • tst_QLineEdit
executed 13 times by 2 tests: case 0x45:
Executed by:
  • tst_QAccessibility
  • tst_QLineEdit
13
100 case 0x46: return Qt::Key_F;
executed 3 times by 1 test: return Qt::Key_F;
Executed by:
  • tst_QLineEdit
executed 3 times by 1 test: case 0x46:
Executed by:
  • tst_QLineEdit
3
101 case 0x47: return Qt::Key_G;
executed 4 times by 1 test: return Qt::Key_G;
Executed by:
  • tst_QLineEdit
executed 4 times by 1 test: case 0x47:
Executed by:
  • tst_QLineEdit
4
102 case 0x48: return Qt::Key_H;
executed 6 times by 2 tests: return Qt::Key_H;
Executed by:
  • tst_QLineEdit
  • tst_QTextEdit
executed 6 times by 2 tests: case 0x48:
Executed by:
  • tst_QLineEdit
  • tst_QTextEdit
6
103 case 0x49: return Qt::Key_I;
executed 3 times by 1 test: return Qt::Key_I;
Executed by:
  • tst_QLineEdit
executed 3 times by 1 test: case 0x49:
Executed by:
  • tst_QLineEdit
3
104 case 0x4a: return Qt::Key_J;
never executed: return Qt::Key_J;
never executed: case 0x4a:
0
105 case 0x4b: return Qt::Key_K;
executed 2 times by 1 test: return Qt::Key_K;
Executed by:
  • tst_QLineEdit
executed 2 times by 1 test: case 0x4b:
Executed by:
  • tst_QLineEdit
2
106 case 0x4c: return Qt::Key_L;
never executed: return Qt::Key_L;
never executed: case 0x4c:
0
107 case 0x4d: return Qt::Key_M;
never executed: return Qt::Key_M;
never executed: case 0x4d:
0
108 case 0x4e: return Qt::Key_N;
executed 1 time by 1 test: return Qt::Key_N;
Executed by:
  • tst_QTextEdit
executed 1 time by 1 test: case 0x4e:
Executed by:
  • tst_QTextEdit
1
109 case 0x4f: return Qt::Key_O;
executed 2 times by 2 tests: return Qt::Key_O;
Executed by:
  • tst_QAccessibility
  • tst_QTextEdit
executed 2 times by 2 tests: case 0x4f:
Executed by:
  • tst_QAccessibility
  • tst_QTextEdit
2
110 case 0x50: return Qt::Key_P;
executed 2 times by 2 tests: return Qt::Key_P;
Executed by:
  • tst_QLineEdit
  • tst_QPrinter
executed 2 times by 2 tests: case 0x50:
Executed by:
  • tst_QLineEdit
  • tst_QPrinter
2
111 case 0x51: return Qt::Key_Q;
never executed: return Qt::Key_Q;
never executed: case 0x51:
0
112 case 0x52: return Qt::Key_R;
executed 2 times by 1 test: return Qt::Key_R;
Executed by:
  • tst_QLineEdit
executed 2 times by 1 test: case 0x52:
Executed by:
  • tst_QLineEdit
2
113 case 0x53: return Qt::Key_S;
executed 5 times by 2 tests: return Qt::Key_S;
Executed by:
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 5 times by 2 tests: case 0x53:
Executed by:
  • tst_QPlainTextEdit
  • tst_QTextEdit
5
114 case 0x54: return Qt::Key_T;
executed 7 times by 2 tests: return Qt::Key_T;
Executed by:
  • tst_QLineEdit
  • tst_QTextEdit
executed 7 times by 2 tests: case 0x54:
Executed by:
  • tst_QLineEdit
  • tst_QTextEdit
7
115 case 0x55: return Qt::Key_U;
never executed: return Qt::Key_U;
never executed: case 0x55:
0
116 case 0x56: return Qt::Key_V;
executed 1 time by 1 test: return Qt::Key_V;
Executed by:
  • tst_QLineEdit
executed 1 time by 1 test: case 0x56:
Executed by:
  • tst_QLineEdit
1
117 case 0x57: return Qt::Key_W;
executed 4 times by 2 tests: return Qt::Key_W;
Executed by:
  • tst_QLineEdit
  • tst_QTextEdit
executed 4 times by 2 tests: case 0x57:
Executed by:
  • tst_QLineEdit
  • tst_QTextEdit
4
118 case 0x58: return Qt::Key_X;
never executed: return Qt::Key_X;
never executed: case 0x58:
0
119 case 0x59: return Qt::Key_Y;
executed 1 time by 1 test: return Qt::Key_Y;
Executed by:
  • tst_QLineEdit
executed 1 time by 1 test: case 0x59:
Executed by:
  • tst_QLineEdit
1
120 case 0x5a: return Qt::Key_Z;
executed 7 times by 4 tests: return Qt::Key_Z;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 7 times by 4 tests: case 0x5a:
Executed by:
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
7
121 case 0x5b: return Qt::Key_BracketLeft;
executed 2 times by 2 tests: return Qt::Key_BracketLeft;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x5b:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
122 case 0x5c: return Qt::Key_Backslash;
executed 2 times by 2 tests: return Qt::Key_Backslash;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x5c:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
123 case 0x5d: return Qt::Key_BracketRight;
executed 2 times by 2 tests: return Qt::Key_BracketRight;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x5d:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
124 case 0x5e: return Qt::Key_AsciiCircum;
executed 2 times by 2 tests: return Qt::Key_AsciiCircum;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x5e:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
125 case 0x5f: return Qt::Key_Underscore;
executed 2 times by 2 tests: return Qt::Key_Underscore;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x5f:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
126 case 0x60: return Qt::Key_QuoteLeft;
executed 2 times by 2 tests: return Qt::Key_QuoteLeft;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x60:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
127 case 0x61: return Qt::Key_A;
executed 113 times by 8 tests: return Qt::Key_A;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QSpinBox
  • tst_QTextEdit
executed 113 times by 8 tests: case 0x61:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QSpinBox
  • tst_QTextEdit
113
128 case 0x62: return Qt::Key_B;
executed 88 times by 7 tests: return Qt::Key_B;
Executed by:
  • tst_QComboBox
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 88 times by 7 tests: case 0x62:
Executed by:
  • tst_QComboBox
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
88
129 case 0x63: return Qt::Key_C;
executed 24 times by 6 tests: return Qt::Key_C;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 24 times by 6 tests: case 0x63:
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
24
130 case 0x64: return Qt::Key_D;
executed 35 times by 4 tests: return Qt::Key_D;
Executed by:
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 35 times by 4 tests: case 0x64:
Executed by:
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
35
131 case 0x65: return Qt::Key_E;
executed 106 times by 6 tests: return Qt::Key_E;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 106 times by 6 tests: case 0x65:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
106
132 case 0x66: return Qt::Key_F;
executed 56 times by 6 tests: return Qt::Key_F;
Executed by:
  • tst_QComboBox
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 56 times by 6 tests: case 0x66:
Executed by:
  • tst_QComboBox
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
56
133 case 0x67: return Qt::Key_G;
executed 20 times by 6 tests: return Qt::Key_G;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 20 times by 6 tests: case 0x67:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
20
134 case 0x68: return Qt::Key_H;
executed 28 times by 4 tests: return Qt::Key_H;
Executed by:
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 28 times by 4 tests: case 0x68:
Executed by:
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
28
135 case 0x69: return Qt::Key_I;
executed 71 times by 5 tests: return Qt::Key_I;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 71 times by 5 tests: case 0x69:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
71
136 case 0x6a: return Qt::Key_J;
executed 3 times by 1 test: return Qt::Key_J;
Executed by:
  • tst_QLineEdit
executed 3 times by 1 test: case 0x6a:
Executed by:
  • tst_QLineEdit
3
137 case 0x6b: return Qt::Key_K;
executed 3 times by 1 test: return Qt::Key_K;
Executed by:
  • tst_QLineEdit
executed 3 times by 1 test: case 0x6b:
Executed by:
  • tst_QLineEdit
3
138 case 0x6c: return Qt::Key_L;
executed 23 times by 3 tests: return Qt::Key_L;
Executed by:
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 23 times by 3 tests: case 0x6c:
Executed by:
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
23
139 case 0x6d: return Qt::Key_M;
executed 26 times by 5 tests: return Qt::Key_M;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 26 times by 5 tests: case 0x6d:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
26
140 case 0x6e: return Qt::Key_N;
executed 65 times by 5 tests: return Qt::Key_N;
Executed by:
  • tst_QComboBox
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 65 times by 5 tests: case 0x6e:
Executed by:
  • tst_QComboBox
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
65
141 case 0x6f: return Qt::Key_O;
executed 99 times by 6 tests: return Qt::Key_O;
Executed by:
  • tst_QComboBox
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 99 times by 6 tests: case 0x6f:
Executed by:
  • tst_QComboBox
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
99
142 case 0x70: return Qt::Key_P;
executed 21 times by 5 tests: return Qt::Key_P;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 21 times by 5 tests: case 0x70:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
21
143 case 0x71: return Qt::Key_Q;
executed 3 times by 1 test: return Qt::Key_Q;
Executed by:
  • tst_QLineEdit
executed 3 times by 1 test: case 0x71:
Executed by:
  • tst_QLineEdit
3
144 case 0x72: return Qt::Key_R;
executed 107 times by 8 tests: return Qt::Key_R;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 107 times by 8 tests: case 0x72:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFiledialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
107
145 case 0x73: return Qt::Key_S;
executed 73 times by 5 tests: return Qt::Key_S;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 73 times by 5 tests: case 0x73:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
73
146 case 0x74: return Qt::Key_T;
executed 75 times by 6 tests: return Qt::Key_T;
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLabel
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 75 times by 6 tests: case 0x74:
Executed by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QLabel
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
75
147 case 0x75: return Qt::Key_U;
executed 12 times by 3 tests: return Qt::Key_U;
Executed by:
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QTextEdit
executed 12 times by 3 tests: case 0x75:
Executed by:
  • tst_QCompleter
  • tst_QLineEdit
  • tst_QTextEdit
12
148 case 0x76: return Qt::Key_V;
executed 2 times by 1 test: return Qt::Key_V;
Executed by:
  • tst_QLineEdit
executed 2 times by 1 test: case 0x76:
Executed by:
  • tst_QLineEdit
2
149 case 0x77: return Qt::Key_W;
executed 2 times by 1 test: return Qt::Key_W;
Executed by:
  • tst_QLineEdit
executed 2 times by 1 test: case 0x77:
Executed by:
  • tst_QLineEdit
2
150 case 0x78: return Qt::Key_X;
executed 8 times by 5 tests: return Qt::Key_X;
Executed by:
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 8 times by 5 tests: case 0x78:
Executed by:
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
8
151 case 0x79: return Qt::Key_Y;
executed 4 times by 3 tests: return Qt::Key_Y;
Executed by:
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 4 times by 3 tests: case 0x79:
Executed by:
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
4
152 case 0x7a: return Qt::Key_Z;
executed 12 times by 3 tests: return Qt::Key_Z;
Executed by:
  • tst_QCompleter
  • tst_QInputDialog
  • tst_QLineEdit
executed 12 times by 3 tests: case 0x7a:
Executed by:
  • tst_QCompleter
  • tst_QInputDialog
  • tst_QLineEdit
12
153 case 0x7b: return Qt::Key_BraceLeft;
executed 2 times by 2 tests: return Qt::Key_BraceLeft;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x7b:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
154 case 0x7c: return Qt::Key_Bar;
executed 2 times by 2 tests: return Qt::Key_Bar;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x7c:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
155 case 0x7d: return Qt::Key_BraceRight;
executed 2 times by 2 tests: return Qt::Key_BraceRight;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x7d:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
156 case 0x7e: return Qt::Key_AsciiTilde;
executed 2 times by 2 tests: return Qt::Key_AsciiTilde;
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
executed 2 times by 2 tests: case 0x7e:
Executed by:
  • tst_QInputDialog
  • tst_QLineEdit
2
157-
158 // Latin 1 codes adapted from X: keysymdef.h,v 1.21 94/08/28 16:17:06-
159 case 0xa0: return Qt::Key_nobreakspace;
never executed: return Qt::Key_nobreakspace;
never executed: case 0xa0:
0
160 case 0xa1: return Qt::Key_exclamdown;
never executed: return Qt::Key_exclamdown;
never executed: case 0xa1:
0
161 case 0xa2: return Qt::Key_cent;
never executed: return Qt::Key_cent;
never executed: case 0xa2:
0
162 case 0xa3: return Qt::Key_sterling;
never executed: return Qt::Key_sterling;
never executed: case 0xa3:
0
163 case 0xa4: return Qt::Key_currency;
never executed: return Qt::Key_currency;
never executed: case 0xa4:
0
164 case 0xa5: return Qt::Key_yen;
never executed: return Qt::Key_yen;
never executed: case 0xa5:
0
165 case 0xa6: return Qt::Key_brokenbar;
never executed: return Qt::Key_brokenbar;
never executed: case 0xa6:
0
166 case 0xa7: return Qt::Key_section;
never executed: return Qt::Key_section;
never executed: case 0xa7:
0
167 case 0xa8: return Qt::Key_diaeresis;
never executed: return Qt::Key_diaeresis;
never executed: case 0xa8:
0
168 case 0xa9: return Qt::Key_copyright;
never executed: return Qt::Key_copyright;
never executed: case 0xa9:
0
169 case 0xaa: return Qt::Key_ordfeminine;
never executed: return Qt::Key_ordfeminine;
never executed: case 0xaa:
0
170 case 0xab: return Qt::Key_guillemotleft;
never executed: return Qt::Key_guillemotleft;
never executed: case 0xab:
0
171 case 0xac: return Qt::Key_notsign;
never executed: return Qt::Key_notsign;
never executed: case 0xac:
0
172 case 0xad: return Qt::Key_hyphen;
never executed: return Qt::Key_hyphen;
never executed: case 0xad:
0
173 case 0xae: return Qt::Key_registered;
never executed: return Qt::Key_registered;
never executed: case 0xae:
0
174 case 0xaf: return Qt::Key_macron;
never executed: return Qt::Key_macron;
never executed: case 0xaf:
0
175 case 0xb0: return Qt::Key_degree;
never executed: return Qt::Key_degree;
never executed: case 0xb0:
0
176 case 0xb1: return Qt::Key_plusminus;
never executed: return Qt::Key_plusminus;
never executed: case 0xb1:
0
177 case 0xb2: return Qt::Key_twosuperior;
never executed: return Qt::Key_twosuperior;
never executed: case 0xb2:
0
178 case 0xb3: return Qt::Key_threesuperior;
never executed: return Qt::Key_threesuperior;
never executed: case 0xb3:
0
179 case 0xb4: return Qt::Key_acute;
never executed: return Qt::Key_acute;
never executed: case 0xb4:
0
180 case 0xb5: return Qt::Key_mu;
never executed: return Qt::Key_mu;
never executed: case 0xb5:
0
181 case 0xb6: return Qt::Key_paragraph;
never executed: return Qt::Key_paragraph;
never executed: case 0xb6:
0
182 case 0xb7: return Qt::Key_periodcentered;
never executed: return Qt::Key_periodcentered;
never executed: case 0xb7:
0
183 case 0xb8: return Qt::Key_cedilla;
never executed: return Qt::Key_cedilla;
never executed: case 0xb8:
0
184 case 0xb9: return Qt::Key_onesuperior;
never executed: return Qt::Key_onesuperior;
never executed: case 0xb9:
0
185 case 0xba: return Qt::Key_masculine;
never executed: return Qt::Key_masculine;
never executed: case 0xba:
0
186 case 0xbb: return Qt::Key_guillemotright;
never executed: return Qt::Key_guillemotright;
never executed: case 0xbb:
0
187 case 0xbc: return Qt::Key_onequarter;
never executed: return Qt::Key_onequarter;
never executed: case 0xbc:
0
188 case 0xbd: return Qt::Key_onehalf;
never executed: return Qt::Key_onehalf;
never executed: case 0xbd:
0
189 case 0xbe: return Qt::Key_threequarters;
never executed: return Qt::Key_threequarters;
never executed: case 0xbe:
0
190 case 0xbf: return Qt::Key_questiondown;
never executed: return Qt::Key_questiondown;
never executed: case 0xbf:
0
191 case 0xc0: return Qt::Key_Agrave;
never executed: return Qt::Key_Agrave;
never executed: case 0xc0:
0
192 case 0xc1: return Qt::Key_Aacute;
never executed: return Qt::Key_Aacute;
never executed: case 0xc1:
0
193 case 0xc2: return Qt::Key_Acircumflex;
never executed: return Qt::Key_Acircumflex;
never executed: case 0xc2:
0
194 case 0xc3: return Qt::Key_Atilde;
never executed: return Qt::Key_Atilde;
never executed: case 0xc3:
0
195 case 0xc4: return Qt::Key_Adiaeresis;
never executed: return Qt::Key_Adiaeresis;
never executed: case 0xc4:
0
196 case 0xc5: return Qt::Key_Aring;
never executed: return Qt::Key_Aring;
never executed: case 0xc5:
0
197 case 0xc6: return Qt::Key_AE;
never executed: return Qt::Key_AE;
never executed: case 0xc6:
0
198 case 0xc7: return Qt::Key_Ccedilla;
never executed: return Qt::Key_Ccedilla;
never executed: case 0xc7:
0
199 case 0xc8: return Qt::Key_Egrave;
never executed: return Qt::Key_Egrave;
never executed: case 0xc8:
0
200 case 0xc9: return Qt::Key_Eacute;
never executed: return Qt::Key_Eacute;
never executed: case 0xc9:
0
201 case 0xca: return Qt::Key_Ecircumflex;
never executed: return Qt::Key_Ecircumflex;
never executed: case 0xca:
0
202 case 0xcb: return Qt::Key_Ediaeresis;
never executed: return Qt::Key_Ediaeresis;
never executed: case 0xcb:
0
203 case 0xcc: return Qt::Key_Igrave;
never executed: return Qt::Key_Igrave;
never executed: case 0xcc:
0
204 case 0xcd: return Qt::Key_Iacute;
never executed: return Qt::Key_Iacute;
never executed: case 0xcd:
0
205 case 0xce: return Qt::Key_Icircumflex;
never executed: return Qt::Key_Icircumflex;
never executed: case 0xce:
0
206 case 0xcf: return Qt::Key_Idiaeresis;
never executed: return Qt::Key_Idiaeresis;
never executed: case 0xcf:
0
207 case 0xd0: return Qt::Key_ETH;
never executed: return Qt::Key_ETH;
never executed: case 0xd0:
0
208 case 0xd1: return Qt::Key_Ntilde;
never executed: return Qt::Key_Ntilde;
never executed: case 0xd1:
0
209 case 0xd2: return Qt::Key_Ograve;
never executed: return Qt::Key_Ograve;
never executed: case 0xd2:
0
210 case 0xd3: return Qt::Key_Oacute;
never executed: return Qt::Key_Oacute;
never executed: case 0xd3:
0
211 case 0xd4: return Qt::Key_Ocircumflex;
never executed: return Qt::Key_Ocircumflex;
never executed: case 0xd4:
0
212 case 0xd5: return Qt::Key_Otilde;
never executed: return Qt::Key_Otilde;
never executed: case 0xd5:
0
213 case 0xd6: return Qt::Key_Odiaeresis;
never executed: return Qt::Key_Odiaeresis;
never executed: case 0xd6:
0
214 case 0xd7: return Qt::Key_multiply;
never executed: return Qt::Key_multiply;
never executed: case 0xd7:
0
215 case 0xd8: return Qt::Key_Ooblique;
never executed: return Qt::Key_Ooblique;
never executed: case 0xd8:
0
216 case 0xd9: return Qt::Key_Ugrave;
never executed: return Qt::Key_Ugrave;
never executed: case 0xd9:
0
217 case 0xda: return Qt::Key_Uacute;
never executed: return Qt::Key_Uacute;
never executed: case 0xda:
0
218 case 0xdb: return Qt::Key_Ucircumflex;
never executed: return Qt::Key_Ucircumflex;
never executed: case 0xdb:
0
219 case 0xdc: return Qt::Key_Udiaeresis;
never executed: return Qt::Key_Udiaeresis;
never executed: case 0xdc:
0
220 case 0xdd: return Qt::Key_Yacute;
never executed: return Qt::Key_Yacute;
never executed: case 0xdd:
0
221 case 0xde: return Qt::Key_THORN;
never executed: return Qt::Key_THORN;
never executed: case 0xde:
0
222 case 0xdf: return Qt::Key_ssharp;
never executed: return Qt::Key_ssharp;
never executed: case 0xdf:
0
223 case 0xe5: return Qt::Key_Aring;
never executed: return Qt::Key_Aring;
never executed: case 0xe5:
0
224 case 0xe6: return Qt::Key_AE;
never executed: return Qt::Key_AE;
never executed: case 0xe6:
0
225 case 0xf7: return Qt::Key_division;
never executed: return Qt::Key_division;
never executed: case 0xf7:
0
226 case 0xf8: return Qt::Key_Ooblique;
never executed: return Qt::Key_Ooblique;
never executed: case 0xf8:
0
227 case 0xff: return Qt::Key_ydiaeresis;
never executed: return Qt::Key_ydiaeresis;
never executed: case 0xff:
0
228 default: QTEST_ASSERT(false); return Qt::Key(0);
never executed: qt_assert("false",__FILE__,228);
never executed: return Qt::Key(0);
!(false)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: default:
0
229 }-
230}-
231-
232/*! \internal-
233 Convert a Qt Key to an ascii char value.-
234 If the Qt key is unknown a 0 is returned.-
235-
236 Note: this may happen more than you like since not all known-
237 Qt keys _are_ converted already. So feel free to add all the keys you need.-
238*/-
239char QTest::keyToAscii(Qt::Key key)-
240{-
241 switch (key) {-
242 case Qt::Key_Backspace: return 0x8; //BS
executed 161 times by 9 tests: return 0x8;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QItemView
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 161 times by 9 tests: case Qt::Key_Backspace:
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QItemView
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QTextEdit
161
243 case Qt::Key_Tab: return 0x09; // HT
executed 349 times by 20 tests: return 0x09;
Executed by:
  • tst_QAbstractItemView
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QFocusEvent
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPrinter
  • tst_QPushButton
  • tst_QSpinBox
  • tst_QTabWidget
  • tst_QTableView
  • tst_QWidget
executed 349 times by 20 tests: case Qt::Key_Tab:
Executed by:
  • tst_QAbstractItemView
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QFocusEvent
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPrinter
  • tst_QPushButton
  • tst_QSpinBox
  • tst_QTabWidget
  • tst_QTableView
  • tst_QWidget
349
244 case Qt::Key_Backtab: return 0x0b; // VT
executed 59 times by 10 tests: return 0x0b;
Executed by:
  • tst_QApplication
  • tst_QDateTimeEdit
  • tst_QFocusEvent
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • tst_QItemDelegate
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QTableView
executed 59 times by 10 tests: case Qt::Key_Backtab:
Executed by:
  • tst_QApplication
  • tst_QDateTimeEdit
  • tst_QFocusEvent
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • tst_QItemDelegate
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QTableView
59
245 case Qt::Key_Enter:
executed 394 times by 20 tests: case Qt::Key_Enter:
Executed by:
  • tst_QAbstractButton
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QPushButton
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTextBrowser
  • tst_QTextEdit
  • tst_QTreeWidget
394
246 case Qt::Key_Return: return 0x0d; // CR
executed 534 times by 24 tests: return 0x0d;
Executed by:
  • tst_QAbstractButton
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialogButtonBox
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QPushButton
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTextBrowser
  • tst_QTextEdit
  • tst_QTreeWidget
executed 140 times by 14 tests: case Qt::Key_Return:
Executed by:
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QMenu
  • tst_QSpinBox
  • tst_QTextEdit
140-534
247 case Qt::Key_Escape: return 0x1b; // ESC
executed 23 times by 9 tests: return 0x1b;
Executed by:
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QCommandLinkButton
  • tst_QFileDialog2
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPushButton
executed 23 times by 9 tests: case Qt::Key_Escape:
Executed by:
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QCommandLinkButton
  • tst_QFileDialog2
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPushButton
23
248 case Qt::Key_Space: return 0x20; // 7 bit printable ASCII
executed 30 times by 11 tests: return 0x20;
Executed by:
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QPushButton
  • tst_QTreeView
executed 30 times by 11 tests: case Qt::Key_Space:
Executed by:
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QLineEdit
  • tst_QPlainTextEdit
  • tst_QPushButton
  • tst_QTreeView
30
249 case Qt::Key_Exclam: return 0x21;
executed 2 times by 1 test: return 0x21;
Executed by:
  • tst_QLineEdit
executed 2 times by 1 test: case Qt::Key_Exclam:
Executed by:
  • tst_QLineEdit
2
250 case Qt::Key_QuoteDbl: return 0x22;
never executed: return 0x22;
never executed: case Qt::Key_QuoteDbl:
0
251 case Qt::Key_NumberSign: return 0x23;
never executed: return 0x23;
never executed: case Qt::Key_NumberSign:
0
252 case Qt::Key_Dollar: return 0x24;
never executed: return 0x24;
never executed: case Qt::Key_Dollar:
0
253 case Qt::Key_Percent: return 0x25;
never executed: return 0x25;
never executed: case Qt::Key_Percent:
0
254 case Qt::Key_Ampersand: return 0x26;
never executed: return 0x26;
never executed: case Qt::Key_Ampersand:
0
255 case Qt::Key_Apostrophe: return 0x27;
never executed: return 0x27;
never executed: case Qt::Key_Apostrophe:
0
256 case Qt::Key_ParenLeft: return 0x28;
never executed: return 0x28;
never executed: case Qt::Key_ParenLeft:
0
257 case Qt::Key_ParenRight: return 0x29;
never executed: return 0x29;
never executed: case Qt::Key_ParenRight:
0
258 case Qt::Key_Asterisk: return 0x2a;
never executed: return 0x2a;
never executed: case Qt::Key_Asterisk:
0
259 case Qt::Key_Plus: return 0x2b;
executed 8 times by 3 tests: return 0x2b;
Executed by:
  • tst_QLineEdit
  • tst_QSpinBox
  • tst_QTreeView
executed 8 times by 3 tests: case Qt::Key_Plus:
Executed by:
  • tst_QLineEdit
  • tst_QSpinBox
  • tst_QTreeView
8
260 case Qt::Key_Comma: return 0x2c;
executed 1 time by 1 test: return 0x2c;
Executed by:
  • tst_QItemDelegate
executed 1 time by 1 test: case Qt::Key_Comma:
Executed by:
  • tst_QItemDelegate
1
261 case Qt::Key_Minus: return 0x2d;
executed 3 times by 3 tests: return 0x2d;
Executed by:
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QTreeView
executed 3 times by 3 tests: case Qt::Key_Minus:
Executed by:
  • tst_QItemDelegate
  • tst_QSpinBox
  • tst_QTreeView
3
262 case Qt::Key_Period: return 0x2e;
executed 5 times by 4 tests: return 0x2e;
Executed by:
  • tst_QDoubleSpinBox
  • tst_QGuiApplication
  • tst_QItemDelegate
  • tst_QLineEdit
executed 5 times by 4 tests: case Qt::Key_Period:
Executed by:
  • tst_QDoubleSpinBox
  • tst_QGuiApplication
  • tst_QItemDelegate
  • tst_QLineEdit
5
263 case Qt::Key_Slash: return 0x2f;
executed 1 time by 1 test: return 0x2f;
Executed by:
  • tst_QDateTimeEdit
executed 1 time by 1 test: case Qt::Key_Slash:
Executed by:
  • tst_QDateTimeEdit
1
264 case Qt::Key_0: return 0x30;
executed 10 times by 6 tests: return 0x30;
Executed by:
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QGuiApplication
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QSpinBox
executed 10 times by 6 tests: case Qt::Key_0:
Executed by:
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QGuiApplication
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QSpinBox
10
265 case Qt::Key_1: return 0x31;
executed 118 times by 7 tests: return 0x31;
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QMenuBar
  • tst_QSpinBox
executed 118 times by 7 tests: case Qt::Key_1:
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QMenuBar
  • tst_QSpinBox
118
266 case Qt::Key_2: return 0x32;
executed 101 times by 5 tests: return 0x32;
Executed by:
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
  • tst_QMenuBar
  • tst_QSpinBox
executed 101 times by 5 tests: case Qt::Key_2:
Executed by:
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
  • tst_QMenuBar
  • tst_QSpinBox
101
267 case Qt::Key_3: return 0x33;
executed 50 times by 3 tests: return 0x33;
Executed by:
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
executed 50 times by 3 tests: case Qt::Key_3:
Executed by:
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
50
268 case Qt::Key_4: return 0x34;
executed 5 times by 2 tests: return 0x34;
Executed by:
  • tst_QDateTimeEdit
  • tst_QLineEdit
executed 5 times by 2 tests: case Qt::Key_4:
Executed by:
  • tst_QDateTimeEdit
  • tst_QLineEdit
5
269 case Qt::Key_5: return 0x35;
executed 9 times by 4 tests: return 0x35;
Executed by:
  • tst_QDateTimeEdit
  • tst_QGuiApplication
  • tst_QLineEdit
  • tst_QPushButton
executed 9 times by 4 tests: case Qt::Key_5:
Executed by:
  • tst_QDateTimeEdit
  • tst_QGuiApplication
  • tst_QLineEdit
  • tst_QPushButton
9
270 case Qt::Key_6: return 0x36;
executed 1 time by 1 test: return 0x36;
Executed by:
  • tst_QLineEdit
executed 1 time by 1 test: case Qt::Key_6:
Executed by:
  • tst_QLineEdit
1
271 case Qt::Key_7: return 0x37;
executed 4 times by 1 test: return 0x37;
Executed by:
  • tst_QLineEdit
executed 4 times by 1 test: case Qt::Key_7:
Executed by:
  • tst_QLineEdit
4
272 case Qt::Key_8: return 0x38;
executed 2 times by 1 test: return 0x38;
Executed by:
  • tst_QDateTimeEdit
executed 2 times by 1 test: case Qt::Key_8:
Executed by:
  • tst_QDateTimeEdit
2
273 case Qt::Key_9: return 0x39;
executed 1 time by 1 test: return 0x39;
Executed by:
  • tst_QDateTimeEdit
executed 1 time by 1 test: case Qt::Key_9:
Executed by:
  • tst_QDateTimeEdit
1
274 case Qt::Key_Colon: return 0x3a;
never executed: return 0x3a;
never executed: case Qt::Key_Colon:
0
275 case Qt::Key_Semicolon: return 0x3b;
never executed: return 0x3b;
never executed: case Qt::Key_Semicolon:
0
276 case Qt::Key_Less: return 0x3c;
never executed: return 0x3c;
never executed: case Qt::Key_Less:
0
277 case Qt::Key_Equal: return 0x3d;
never executed: return 0x3d;
never executed: case Qt::Key_Equal:
0
278 case Qt::Key_Greater: return 0x3e;
never executed: return 0x3e;
never executed: case Qt::Key_Greater:
0
279 case Qt::Key_Question: return 0x3f;
never executed: return 0x3f;
never executed: case Qt::Key_Question:
0
280 case Qt::Key_At: return 0x40;
executed 5 times by 1 test: return 0x40;
Executed by:
  • tst_QPlainTextEdit
executed 5 times by 1 test: case Qt::Key_At:
Executed by:
  • tst_QPlainTextEdit
5
281 case Qt::Key_A: return 0x61; // 0x41 == 'A', 0x61 == 'a'
executed 149 times by 19 tests: return 0x61;
Executed by:
  • tst_QAbstractItemView
  • tst_QAction
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QKeyEvent
  • tst_QLineEdit
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QShortcut
  • tst_QStateMachine
  • tst_QTableView
  • tst_QTextEdit
  • tst_QToolTip
  • tst_QTreeWidget
  • tst_QWidget
  • tst_QWindow
executed 149 times by 19 tests: case Qt::Key_A:
Executed by:
  • tst_QAbstractItemView
  • tst_QAction
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsWidget
  • tst_QKeyEvent
  • tst_QLineEdit
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QShortcut
  • tst_QStateMachine
  • tst_QTableView
  • tst_QTextEdit
  • tst_QToolTip
  • tst_QTreeWidget
  • tst_QWidget
  • tst_QWindow
149
282 case Qt::Key_B: return 0x62;
executed 34 times by 7 tests: return 0x62;
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QGraphicsWidget
  • tst_QLineEdit
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 34 times by 7 tests: case Qt::Key_B:
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QGraphicsWidget
  • tst_QLineEdit
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QTextEdit
34
283 case Qt::Key_C: return 0x63;
executed 21 times by 7 tests: return 0x63;
Executed by:
  • tst_QDateTimeEdit
  • tst_QGuiApplication
  • tst_QLineEdit
  • tst_QListWidget
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QTextEdit
executed 21 times by 7 tests: case Qt::Key_C:
Executed by:
  • tst_QDateTimeEdit
  • tst_QGuiApplication
  • tst_QLineEdit
  • tst_QListWidget
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QTextEdit
21
284 case Qt::Key_D: return 0x64;
executed 4 times by 2 tests: return 0x64;
Executed by:
  • tst_QLineEdit
  • tst_QMenuBar
executed 4 times by 2 tests: case Qt::Key_D:
Executed by:
  • tst_QLineEdit
  • tst_QMenuBar
4
285 case Qt::Key_E: return 0x65;
executed 7 times by 5 tests: return 0x65;
Executed by:
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QGuiApplication
  • tst_QLineEdit
  • tst_QMenuBar
executed 7 times by 5 tests: case Qt::Key_E:
Executed by:
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QGuiApplication
  • tst_QLineEdit
  • tst_QMenuBar
7
286 case Qt::Key_F: return 0x66;
executed 15 times by 6 tests: return 0x66;
Executed by:
  • tst_QAction
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QLineEdit
  • tst_QMenu
  • tst_QMenuBar
executed 15 times by 6 tests: case Qt::Key_F:
Executed by:
  • tst_QAction
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QLineEdit
  • tst_QMenu
  • tst_QMenuBar
15
287 case Qt::Key_G: return 0x67;
never executed: return 0x67;
never executed: case Qt::Key_G:
0
288 case Qt::Key_H: return 0x68;
executed 1 time by 1 test: return 0x68;
Executed by:
  • tst_QComboBox
executed 1 time by 1 test: case Qt::Key_H:
Executed by:
  • tst_QComboBox
1
289 case Qt::Key_I: return 0x69;
executed 3 times by 2 tests: return 0x69;
Executed by:
  • tst_QLineEdit
  • tst_QMenuBar
executed 3 times by 2 tests: case Qt::Key_I:
Executed by:
  • tst_QLineEdit
  • tst_QMenuBar
3
290 case Qt::Key_J: return 0x6a;
executed 3 times by 2 tests: return 0x6a;
Executed by:
  • tst_QDateTimeEdit
  • tst_QMenuBar
executed 3 times by 2 tests: case Qt::Key_J:
Executed by:
  • tst_QDateTimeEdit
  • tst_QMenuBar
3
291 case Qt::Key_K: return 0x6b;
executed 1 time by 1 test: return 0x6b;
Executed by:
  • tst_QListView
executed 1 time by 1 test: case Qt::Key_K:
Executed by:
  • tst_QListView
1
292 case Qt::Key_L: return 0x6c;
never executed: return 0x6c;
never executed: case Qt::Key_L:
0
293 case Qt::Key_M: return 0x6d;
executed 4 times by 1 test: return 0x6d;
Executed by:
  • tst_QMenuBar
executed 4 times by 1 test: case Qt::Key_M:
Executed by:
  • tst_QMenuBar
4
294 case Qt::Key_N: return 0x6e;
executed 12 times by 3 tests: return 0x6e;
Executed by:
  • tst_QDateTimeEdit
  • tst_QKeySequenceEdit
  • tst_QListView
executed 12 times by 3 tests: case Qt::Key_N:
Executed by:
  • tst_QDateTimeEdit
  • tst_QKeySequenceEdit
  • tst_QListView
12
295 case Qt::Key_O: return 0x6f;
executed 6 times by 4 tests: return 0x6f;
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QListView
  • tst_QRadioButton
executed 6 times by 4 tests: case Qt::Key_O:
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QListView
  • tst_QRadioButton
6
296 case Qt::Key_P: return 0x70;
executed 2 times by 2 tests: return 0x70;
Executed by:
  • tst_QComboBox
  • tst_QLineEdit
executed 2 times by 2 tests: case Qt::Key_P:
Executed by:
  • tst_QComboBox
  • tst_QLineEdit
2
297 case Qt::Key_Q: return 0x71;
never executed: return 0x71;
never executed: case Qt::Key_Q:
0
298 case Qt::Key_R: return 0x72;
executed 2 times by 1 test: return 0x72;
Executed by:
  • tst_QDateTimeEdit
executed 2 times by 1 test: case Qt::Key_R:
Executed by:
  • tst_QDateTimeEdit
2
299 case Qt::Key_S: return 0x73;
executed 4 times by 3 tests: return 0x73;
Executed by:
  • tst_QCompleter
  • tst_QFileDialog2
  • tst_QMenu
executed 4 times by 3 tests: case Qt::Key_S:
Executed by:
  • tst_QCompleter
  • tst_QFileDialog2
  • tst_QMenu
4
300 case Qt::Key_T: return 0x74;
executed 23 times by 8 tests: return 0x74;
Executed by:
  • tst_QAction
  • tst_QComboBox
  • tst_QFileDialog2
  • tst_QFocusEvent
  • tst_QGuiApplication
  • tst_QPlainTextEdit
  • tst_QTextEdit
  • tst_QToolBar
executed 23 times by 8 tests: case Qt::Key_T:
Executed by:
  • tst_QAction
  • tst_QComboBox
  • tst_QFileDialog2
  • tst_QFocusEvent
  • tst_QGuiApplication
  • tst_QPlainTextEdit
  • tst_QTextEdit
  • tst_QToolBar
23
301 case Qt::Key_U: return 0x75;
executed 5 times by 3 tests: return 0x75;
Executed by:
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QGuiApplication
executed 5 times by 3 tests: case Qt::Key_U:
Executed by:
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QGuiApplication
5
302 case Qt::Key_V: return 0x76;
executed 1 time by 1 test: return 0x76;
Executed by:
  • tst_QLineEdit
executed 1 time by 1 test: case Qt::Key_V:
Executed by:
  • tst_QLineEdit
1
303 case Qt::Key_W: return 0x77;
never executed: return 0x77;
never executed: case Qt::Key_W:
0
304 case Qt::Key_X: return 0x78;
executed 19 times by 6 tests: return 0x78;
Executed by:
  • tst_QFileDialog2
  • tst_QLineEdit
  • tst_QMenu
  • tst_QPlainTextEdit
  • tst_QTableView
  • tst_QTextEdit
executed 19 times by 6 tests: case Qt::Key_X:
Executed by:
  • tst_QFileDialog2
  • tst_QLineEdit
  • tst_QMenu
  • tst_QPlainTextEdit
  • tst_QTableView
  • tst_QTextEdit
19
305 case Qt::Key_Y: return 0x79;
executed 1 time by 1 test: return 0x79;
Executed by:
  • tst_QDateTimeEdit
executed 1 time by 1 test: case Qt::Key_Y:
Executed by:
  • tst_QDateTimeEdit
1
306 case Qt::Key_Z: return 0x7a;
executed 4 times by 1 test: return 0x7a;
Executed by:
  • tst_QLineEdit
executed 4 times by 1 test: case Qt::Key_Z:
Executed by:
  • tst_QLineEdit
4
307 case Qt::Key_BracketLeft: return 0x5b;
never executed: return 0x5b;
never executed: case Qt::Key_BracketLeft:
0
308 case Qt::Key_Backslash: return 0x5c;
executed 3 times by 1 test: return 0x5c;
Executed by:
  • tst_QFileDialog2
executed 3 times by 1 test: case Qt::Key_Backslash:
Executed by:
  • tst_QFileDialog2
3
309 case Qt::Key_BracketRight: return 0x5d;
never executed: return 0x5d;
never executed: case Qt::Key_BracketRight:
0
310 case Qt::Key_AsciiCircum: return 0x5e;
never executed: return 0x5e;
never executed: case Qt::Key_AsciiCircum:
0
311 case Qt::Key_Underscore: return 0x5f;
never executed: return 0x5f;
never executed: case Qt::Key_Underscore:
0
312 case Qt::Key_QuoteLeft: return 0x60;
never executed: return 0x60;
never executed: case Qt::Key_QuoteLeft:
0
313-
314 case Qt::Key_BraceLeft: return 0x7b;
never executed: return 0x7b;
never executed: case Qt::Key_BraceLeft:
0
315 case Qt::Key_Bar: return 0x7c;
never executed: return 0x7c;
never executed: case Qt::Key_Bar:
0
316 case Qt::Key_BraceRight: return 0x7d;
never executed: return 0x7d;
never executed: case Qt::Key_BraceRight:
0
317 case Qt::Key_AsciiTilde: return 0x7e;
never executed: return 0x7e;
never executed: case Qt::Key_AsciiTilde:
0
318-
319 case Qt::Key_Delete: return 0;
executed 115 times by 6 tests: return 0;
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
executed 115 times by 6 tests: case Qt::Key_Delete:
Executed by:
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QInputDialog
  • tst_QLineEdit
  • tst_QSpinBox
115
320 case Qt::Key_Insert: return 0; // = 0x1006,
never executed: return 0;
never executed: case Qt::Key_Insert:
0
321 case Qt::Key_Pause: return 0; // = 0x1008,
never executed: return 0;
never executed: case Qt::Key_Pause:
0
322 case Qt::Key_Print: return 0; // = 0x1009,
never executed: return 0;
never executed: case Qt::Key_Print:
0
323 case Qt::Key_SysReq: return 0; // = 0x100a,
never executed: return 0;
never executed: case Qt::Key_SysReq:
0
324-
325 case Qt::Key_Clear: return 0; // = 0x100b,
never executed: return 0;
never executed: case Qt::Key_Clear:
0
326-
327 case Qt::Key_Home: return 0; // = 0x1010, // cursor movement
executed 96 times by 7 tests: return 0;
Executed by:
  • tst_QAbstractSlider
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
  • tst_QSpinBox
  • tst_QTextEdit
executed 96 times by 7 tests: case Qt::Key_Home:
Executed by:
  • tst_QAbstractSlider
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
  • tst_QSpinBox
  • tst_QTextEdit
96
328 case Qt::Key_End: return 0; // = 0x1011,
executed 56 times by 8 tests: return 0;
Executed by:
  • tst_QAbstractSlider
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTextEdit
executed 56 times by 8 tests: case Qt::Key_End:
Executed by:
  • tst_QAbstractSlider
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTextEdit
56
329 case Qt::Key_Left: return 0; // = 0x1012,
executed 464 times by 13 tests: return 0;
Executed by:
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QDateTimeEdit
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QTableView
  • tst_QTextEdit
  • tst_QTreeView
  • tst_QTreeWidget
executed 464 times by 13 tests: case Qt::Key_Left:
Executed by:
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QDateTimeEdit
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QTableView
  • tst_QTextEdit
  • tst_QTreeView
  • tst_QTreeWidget
464
330 case Qt::Key_Up: return 0; // = 0x1013,
executed 1468 times by 17 tests: return 0;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDial
  • tst_QDoubleSpinBox
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QMenu
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
executed 1468 times by 17 tests: case Qt::Key_Up:
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDial
  • tst_QDoubleSpinBox
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QMenu
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
1468
331 case Qt::Key_Right: return 0; // = 0x1014,
executed 410 times by 13 tests: return 0;
Executed by:
  • tst_QAbstractSlider
  • tst_QButtonGroup
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
  • tst_QListView
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QTableView
  • tst_QTextEdit
  • tst_QTreeView
  • tst_QTreeWidget
executed 410 times by 13 tests: case Qt::Key_Right:
Executed by:
  • tst_QAbstractSlider
  • tst_QButtonGroup
  • tst_QDateTimeEdit
  • tst_QDoubleSpinBox
  • tst_QLineEdit
  • tst_QListView
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QTableView
  • tst_QTextEdit
  • tst_QTreeView
  • tst_QTreeWidget
410
332 case Qt::Key_Down: return 0; // = 0x1015,
executed 650 times by 22 tests: return 0;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSlider
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDial
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QLineEdit
  • tst_QListView
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTextEdit
  • tst_QTreeView
  • tst_QTreeWidget
executed 650 times by 22 tests: case Qt::Key_Down:
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSlider
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDial
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontComboBox
  • tst_QLineEdit
  • tst_QListView
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPlainTextEdit
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTextEdit
  • tst_QTreeView
  • tst_QTreeWidget
650
333 case Qt::Key_PageUp: return 0; // = 0x1016,
executed 21 times by 6 tests: return 0;
Executed by:
  • tst_QAbstractSlider
  • tst_QComboBox
  • tst_QDoubleSpinBox
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTreeView
executed 21 times by 6 tests: case Qt::Key_PageUp:
Executed by:
  • tst_QAbstractSlider
  • tst_QComboBox
  • tst_QDoubleSpinBox
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTreeView
21
334 case Qt::Key_PageDown: return 0; // = 0x1017,
executed 34 times by 6 tests: return 0;
Executed by:
  • tst_QAbstractSlider
  • tst_QComboBox
  • tst_QDoubleSpinBox
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTreeView
executed 34 times by 6 tests: case Qt::Key_PageDown:
Executed by:
  • tst_QAbstractSlider
  • tst_QComboBox
  • tst_QDoubleSpinBox
  • tst_QSpinBox
  • tst_QTableView
  • tst_QTreeView
34
335 case Qt::Key_Shift: return 0; // = 0x1020, // modifiers
executed 1 time by 1 test: return 0;
Executed by:
  • tst_QToolTip
executed 1 time by 1 test: case Qt::Key_Shift:
Executed by:
  • tst_QToolTip
1
336 case Qt::Key_Control: return 0; // = 0x1021,
executed 9 times by 2 tests: return 0;
Executed by:
  • tst_QMdiArea
  • tst_QToolTip
executed 9 times by 2 tests: case Qt::Key_Control:
Executed by:
  • tst_QMdiArea
  • tst_QToolTip
9
337 case Qt::Key_Meta: return 0; // = 0x1022,
executed 1 time by 1 test: return 0;
Executed by:
  • tst_QToolTip
executed 1 time by 1 test: case Qt::Key_Meta:
Executed by:
  • tst_QToolTip
1
338 case Qt::Key_Alt: return 0; // = 0x1023,
executed 3 times by 2 tests: return 0;
Executed by:
  • tst_QMenuBar
  • tst_QToolTip
executed 3 times by 2 tests: case Qt::Key_Alt:
Executed by:
  • tst_QMenuBar
  • tst_QToolTip
3
339 case Qt::Key_CapsLock: return 0; // = 0x1024,
never executed: return 0;
never executed: case Qt::Key_CapsLock:
0
340 case Qt::Key_NumLock: return 0; // = 0x1025,
never executed: return 0;
never executed: case Qt::Key_NumLock:
0
341 case Qt::Key_ScrollLock: return 0; // = 0x1026,
never executed: return 0;
never executed: case Qt::Key_ScrollLock:
0
342 case Qt::Key_F1: return 0; // = 0x1030, // function keys
never executed: return 0;
never executed: case Qt::Key_F1:
0
343 case Qt::Key_F2: return 0; // = 0x1031,
executed 5 times by 1 test: return 0;
Executed by:
  • tst_QTreeView
executed 5 times by 1 test: case Qt::Key_F2:
Executed by:
  • tst_QTreeView
5
344 case Qt::Key_F3: return 0; // = 0x1032,
never executed: return 0;
never executed: case Qt::Key_F3:
0
345 case Qt::Key_F4: return 0; // = 0x1033,
never executed: return 0;
never executed: case Qt::Key_F4:
0
346 case Qt::Key_F5: return 0; // = 0x1034,
never executed: return 0;
never executed: case Qt::Key_F5:
0
347 case Qt::Key_F6: return 0; // = 0x1035,
never executed: return 0;
never executed: case Qt::Key_F6:
0
348 case Qt::Key_F7: return 0; // = 0x1036,
never executed: return 0;
never executed: case Qt::Key_F7:
0
349 case Qt::Key_F8: return 0; // = 0x1037,
never executed: return 0;
never executed: case Qt::Key_F8:
0
350 case Qt::Key_F9: return 0; // = 0x1038,
never executed: return 0;
never executed: case Qt::Key_F9:
0
351 case Qt::Key_F10: return 0; // = 0x1039,
never executed: return 0;
never executed: case Qt::Key_F10:
0
352 case Qt::Key_F11: return 0; // = 0x103a,
never executed: return 0;
never executed: case Qt::Key_F11:
0
353 case Qt::Key_F12: return 0; // = 0x103b,
never executed: return 0;
never executed: case Qt::Key_F12:
0
354 case Qt::Key_F13: return 0; // = 0x103c,
never executed: return 0;
never executed: case Qt::Key_F13:
0
355 case Qt::Key_F14: return 0; // = 0x103d,
never executed: return 0;
never executed: case Qt::Key_F14:
0
356 case Qt::Key_F15: return 0; // = 0x103e,
never executed: return 0;
never executed: case Qt::Key_F15:
0
357 case Qt::Key_F16: return 0; // = 0x103f,
never executed: return 0;
never executed: case Qt::Key_F16:
0
358 case Qt::Key_F17: return 0; // = 0x1040,
never executed: return 0;
never executed: case Qt::Key_F17:
0
359 case Qt::Key_F18: return 0; // = 0x1041,
never executed: return 0;
never executed: case Qt::Key_F18:
0
360 case Qt::Key_F19: return 0; // = 0x1042,
never executed: return 0;
never executed: case Qt::Key_F19:
0
361 case Qt::Key_F20: return 0; // = 0x1043,
never executed: return 0;
never executed: case Qt::Key_F20:
0
362 case Qt::Key_F21: return 0; // = 0x1044,
never executed: return 0;
never executed: case Qt::Key_F21:
0
363 case Qt::Key_F22: return 0; // = 0x1045,
never executed: return 0;
never executed: case Qt::Key_F22:
0
364 case Qt::Key_F23: return 0; // = 0x1046,
never executed: return 0;
never executed: case Qt::Key_F23:
0
365 case Qt::Key_F24: return 0; // = 0x1047,
never executed: return 0;
never executed: case Qt::Key_F24:
0
366 case Qt::Key_F25: return 0; // = 0x1048, // F25 .. F35 only on X11
never executed: return 0;
never executed: case Qt::Key_F25:
0
367 case Qt::Key_F26: return 0; // = 0x1049,
never executed: return 0;
never executed: case Qt::Key_F26:
0
368 case Qt::Key_F27: return 0; // = 0x104a,
never executed: return 0;
never executed: case Qt::Key_F27:
0
369 case Qt::Key_F28: return 0; // = 0x104b,
never executed: return 0;
never executed: case Qt::Key_F28:
0
370 case Qt::Key_F29: return 0; // = 0x104c,
never executed: return 0;
never executed: case Qt::Key_F29:
0
371 case Qt::Key_F30: return 0; // = 0x104d,
never executed: return 0;
never executed: case Qt::Key_F30:
0
372 case Qt::Key_F31: return 0; // = 0x104e,
never executed: return 0;
never executed: case Qt::Key_F31:
0
373 case Qt::Key_F32: return 0; // = 0x104f,
never executed: return 0;
never executed: case Qt::Key_F32:
0
374 case Qt::Key_F33: return 0; // = 0x1050,
never executed: return 0;
never executed: case Qt::Key_F33:
0
375 case Qt::Key_F34: return 0; // = 0x1051,
never executed: return 0;
never executed: case Qt::Key_F34:
0
376 case Qt::Key_F35: return 0; // = 0x1052,
never executed: return 0;
never executed: case Qt::Key_F35:
0
377 case Qt::Key_Super_L: return 0; // = 0x1053, // extra keys
never executed: return 0;
never executed: case Qt::Key_Super_L:
0
378 case Qt::Key_Super_R: return 0; // = 0x1054,
never executed: return 0;
never executed: case Qt::Key_Super_R:
0
379 case Qt::Key_Menu: return 0; // = 0x1055,
never executed: return 0;
never executed: case Qt::Key_Menu:
0
380 case Qt::Key_Hyper_L: return 0; // = 0x1056,
never executed: return 0;
never executed: case Qt::Key_Hyper_L:
0
381 case Qt::Key_Hyper_R: return 0; // = 0x1057,
never executed: return 0;
never executed: case Qt::Key_Hyper_R:
0
382 case Qt::Key_Help: return 0; // = 0x1058,
never executed: return 0;
never executed: case Qt::Key_Help:
0
383 case Qt::Key_Direction_L: return 0; // = 0x1059,
never executed: return 0;
never executed: case Qt::Key_Direction_L:
0
384 case Qt::Key_Direction_R: return 0; // = 0x1060,
never executed: return 0;
never executed: case Qt::Key_Direction_R:
0
385-
386 // Latin 1 codes adapted from X: keysymdef.h,v 1.21 94/08/28 16:17:06-
387 case Qt::Key_nobreakspace: return char(0xa0);
never executed: return char(0xa0);
never executed: case Qt::Key_nobreakspace:
0
388 case Qt::Key_exclamdown: return char(0xa1);
never executed: return char(0xa1);
never executed: case Qt::Key_exclamdown:
0
389 case Qt::Key_cent: return char(0xa2);
never executed: return char(0xa2);
never executed: case Qt::Key_cent:
0
390 case Qt::Key_sterling: return char(0xa3);
never executed: return char(0xa3);
never executed: case Qt::Key_sterling:
0
391 case Qt::Key_currency: return char(0xa4);
never executed: return char(0xa4);
never executed: case Qt::Key_currency:
0
392 case Qt::Key_yen: return char(0xa5);
never executed: return char(0xa5);
never executed: case Qt::Key_yen:
0
393 case Qt::Key_brokenbar: return char(0xa6);
never executed: return char(0xa6);
never executed: case Qt::Key_brokenbar:
0
394 case Qt::Key_section: return char(0xa7);
never executed: return char(0xa7);
never executed: case Qt::Key_section:
0
395 case Qt::Key_diaeresis: return char(0xa8);
never executed: return char(0xa8);
never executed: case Qt::Key_diaeresis:
0
396 case Qt::Key_copyright: return char(0xa9);
never executed: return char(0xa9);
never executed: case Qt::Key_copyright:
0
397 case Qt::Key_ordfeminine: return char(0xaa);
never executed: return char(0xaa);
never executed: case Qt::Key_ordfeminine:
0
398 case Qt::Key_guillemotleft: return char(0xab); // left angle quotation mar
never executed: return char(0xab);
never executed: case Qt::Key_guillemotleft:
0
399 case Qt::Key_notsign: return char(0xac);
never executed: return char(0xac);
never executed: case Qt::Key_notsign:
0
400 case Qt::Key_hyphen: return char(0xad);
never executed: return char(0xad);
never executed: case Qt::Key_hyphen:
0
401 case Qt::Key_registered: return char(0xae);
never executed: return char(0xae);
never executed: case Qt::Key_registered:
0
402 case Qt::Key_macron: return char(0xaf);
never executed: return char(0xaf);
never executed: case Qt::Key_macron:
0
403 case Qt::Key_degree: return char(0xb0);
never executed: return char(0xb0);
never executed: case Qt::Key_degree:
0
404 case Qt::Key_plusminus: return char(0xb1);
never executed: return char(0xb1);
never executed: case Qt::Key_plusminus:
0
405 case Qt::Key_twosuperior: return char(0xb2);
never executed: return char(0xb2);
never executed: case Qt::Key_twosuperior:
0
406 case Qt::Key_threesuperior: return char(0xb3);
never executed: return char(0xb3);
never executed: case Qt::Key_threesuperior:
0
407 case Qt::Key_acute: return char(0xb4);
never executed: return char(0xb4);
never executed: case Qt::Key_acute:
0
408 case Qt::Key_mu: return char(0xb5);
never executed: return char(0xb5);
never executed: case Qt::Key_mu:
0
409 case Qt::Key_paragraph: return char(0xb6);
never executed: return char(0xb6);
never executed: case Qt::Key_paragraph:
0
410 case Qt::Key_periodcentered: return char(0xb7);
never executed: return char(0xb7);
never executed: case Qt::Key_periodcentered:
0
411 case Qt::Key_cedilla: return char(0xb8);
never executed: return char(0xb8);
never executed: case Qt::Key_cedilla:
0
412 case Qt::Key_onesuperior: return char(0xb9);
never executed: return char(0xb9);
never executed: case Qt::Key_onesuperior:
0
413 case Qt::Key_masculine: return char(0xba);
never executed: return char(0xba);
never executed: case Qt::Key_masculine:
0
414 case Qt::Key_guillemotright: return char(0xbb); // right angle quotation mar
never executed: return char(0xbb);
never executed: case Qt::Key_guillemotright:
0
415 case Qt::Key_onequarter: return char(0xbc);
never executed: return char(0xbc);
never executed: case Qt::Key_onequarter:
0
416 case Qt::Key_onehalf: return char(0xbd);
never executed: return char(0xbd);
never executed: case Qt::Key_onehalf:
0
417 case Qt::Key_threequarters: return char(0xbe);
never executed: return char(0xbe);
never executed: case Qt::Key_threequarters:
0
418 case Qt::Key_questiondown: return char(0xbf);
never executed: return char(0xbf);
never executed: case Qt::Key_questiondown:
0
419 case Qt::Key_Agrave: return char(0xc0);
never executed: return char(0xc0);
never executed: case Qt::Key_Agrave:
0
420 case Qt::Key_Aacute: return char(0xc1);
never executed: return char(0xc1);
never executed: case Qt::Key_Aacute:
0
421 case Qt::Key_Acircumflex: return char(0xc2);
never executed: return char(0xc2);
never executed: case Qt::Key_Acircumflex:
0
422 case Qt::Key_Atilde: return char(0xc3);
never executed: return char(0xc3);
never executed: case Qt::Key_Atilde:
0
423 case Qt::Key_Adiaeresis: return char(0xc4);
never executed: return char(0xc4);
never executed: case Qt::Key_Adiaeresis:
0
424 case Qt::Key_Aring: return char(0xe5);
never executed: return char(0xe5);
never executed: case Qt::Key_Aring:
0
425 case Qt::Key_AE: return char(0xe6);
never executed: return char(0xe6);
never executed: case Qt::Key_AE:
0
426 case Qt::Key_Ccedilla: return char(0xc7);
never executed: return char(0xc7);
never executed: case Qt::Key_Ccedilla:
0
427 case Qt::Key_Egrave: return char(0xc8);
never executed: return char(0xc8);
never executed: case Qt::Key_Egrave:
0
428 case Qt::Key_Eacute: return char(0xc9);
never executed: return char(0xc9);
never executed: case Qt::Key_Eacute:
0
429 case Qt::Key_Ecircumflex: return char(0xca);
never executed: return char(0xca);
never executed: case Qt::Key_Ecircumflex:
0
430 case Qt::Key_Ediaeresis: return char(0xcb);
never executed: return char(0xcb);
never executed: case Qt::Key_Ediaeresis:
0
431 case Qt::Key_Igrave: return char(0xcc);
never executed: return char(0xcc);
never executed: case Qt::Key_Igrave:
0
432 case Qt::Key_Iacute: return char(0xcd);
never executed: return char(0xcd);
never executed: case Qt::Key_Iacute:
0
433 case Qt::Key_Icircumflex: return char(0xce);
never executed: return char(0xce);
never executed: case Qt::Key_Icircumflex:
0
434 case Qt::Key_Idiaeresis: return char(0xcf);
never executed: return char(0xcf);
never executed: case Qt::Key_Idiaeresis:
0
435 case Qt::Key_ETH: return char(0xd0);
never executed: return char(0xd0);
never executed: case Qt::Key_ETH:
0
436 case Qt::Key_Ntilde: return char(0xd1);
never executed: return char(0xd1);
never executed: case Qt::Key_Ntilde:
0
437 case Qt::Key_Ograve: return char(0xd2);
never executed: return char(0xd2);
never executed: case Qt::Key_Ograve:
0
438 case Qt::Key_Oacute: return char(0xd3);
never executed: return char(0xd3);
never executed: case Qt::Key_Oacute:
0
439 case Qt::Key_Ocircumflex: return char(0xd4);
never executed: return char(0xd4);
never executed: case Qt::Key_Ocircumflex:
0
440 case Qt::Key_Otilde: return char(0xd5);
never executed: return char(0xd5);
never executed: case Qt::Key_Otilde:
0
441 case Qt::Key_Odiaeresis: return char(0xd6);
never executed: return char(0xd6);
never executed: case Qt::Key_Odiaeresis:
0
442 case Qt::Key_multiply: return char(0xd7);
never executed: return char(0xd7);
never executed: case Qt::Key_multiply:
0
443 case Qt::Key_Ooblique: return char(0xf8);
never executed: return char(0xf8);
never executed: case Qt::Key_Ooblique:
0
444 case Qt::Key_Ugrave: return char(0xd9);
never executed: return char(0xd9);
never executed: case Qt::Key_Ugrave:
0
445 case Qt::Key_Uacute: return char(0xda);
never executed: return char(0xda);
never executed: case Qt::Key_Uacute:
0
446 case Qt::Key_Ucircumflex: return char(0xdb);
never executed: return char(0xdb);
never executed: case Qt::Key_Ucircumflex:
0
447 case Qt::Key_Udiaeresis: return char(0xdc);
never executed: return char(0xdc);
never executed: case Qt::Key_Udiaeresis:
0
448 case Qt::Key_Yacute: return char(0xdd);
never executed: return char(0xdd);
never executed: case Qt::Key_Yacute:
0
449 case Qt::Key_THORN: return char(0xde);
never executed: return char(0xde);
never executed: case Qt::Key_THORN:
0
450 case Qt::Key_ssharp: return char(0xdf);
never executed: return char(0xdf);
never executed: case Qt::Key_ssharp:
0
451 case Qt::Key_division: return char(0xf7);
never executed: return char(0xf7);
never executed: case Qt::Key_division:
0
452 case Qt::Key_ydiaeresis: return char(0xff);
never executed: return char(0xff);
never executed: case Qt::Key_ydiaeresis:
0
453-
454 // multimedia/internet keys - ignored by default - see QKeyEvent c'tor-
455-
456 case Qt::Key_Back : return 0; // = 0x1061,
never executed: return 0;
never executed: case Qt::Key_Back :
0
457 case Qt::Key_Forward : return 0; // = 0x1062,
never executed: return 0;
never executed: case Qt::Key_Forward :
0
458 case Qt::Key_Stop : return 0; // = 0x1063,
never executed: return 0;
never executed: case Qt::Key_Stop :
0
459 case Qt::Key_Refresh : return 0; // = 0x1064,
never executed: return 0;
never executed: case Qt::Key_Refresh :
0
460-
461 case Qt::Key_VolumeDown: return 0; // = 0x1070,
never executed: return 0;
never executed: case Qt::Key_VolumeDown:
0
462 case Qt::Key_VolumeMute : return 0; // = 0x1071,
never executed: return 0;
never executed: case Qt::Key_VolumeMute :
0
463 case Qt::Key_VolumeUp: return 0; // = 0x1072,
never executed: return 0;
never executed: case Qt::Key_VolumeUp:
0
464 case Qt::Key_BassBoost: return 0; // = 0x1073,
never executed: return 0;
never executed: case Qt::Key_BassBoost:
0
465 case Qt::Key_BassUp: return 0; // = 0x1074,
never executed: return 0;
never executed: case Qt::Key_BassUp:
0
466 case Qt::Key_BassDown: return 0; // = 0x1075,
never executed: return 0;
never executed: case Qt::Key_BassDown:
0
467 case Qt::Key_TrebleUp: return 0; // = 0x1076,
never executed: return 0;
never executed: case Qt::Key_TrebleUp:
0
468 case Qt::Key_TrebleDown: return 0; // = 0x1077,
never executed: return 0;
never executed: case Qt::Key_TrebleDown:
0
469-
470 case Qt::Key_MediaPlay : return 0; // = 0x1080,
never executed: return 0;
never executed: case Qt::Key_MediaPlay :
0
471 case Qt::Key_MediaStop : return 0; // = 0x1081,
never executed: return 0;
never executed: case Qt::Key_MediaStop :
0
472 case Qt::Key_MediaPrevious : return 0; // = 0x1082,
never executed: return 0;
never executed: case Qt::Key_MediaPrevious :
0
473 case Qt::Key_MediaNext : return 0; // = 0x1083,
never executed: return 0;
never executed: case Qt::Key_MediaNext :
0
474 case Qt::Key_MediaRecord: return 0; // = 0x1084,
never executed: return 0;
never executed: case Qt::Key_MediaRecord:
0
475-
476 case Qt::Key_HomePage : return 0; // = 0x1090,
never executed: return 0;
never executed: case Qt::Key_HomePage :
0
477 case Qt::Key_Favorites : return 0; // = 0x1091,
never executed: return 0;
never executed: case Qt::Key_Favorites :
0
478 case Qt::Key_Search : return 0; // = 0x1092,
never executed: return 0;
never executed: case Qt::Key_Search :
0
479 case Qt::Key_Standby: return 0; // = 0x1093,
never executed: return 0;
never executed: case Qt::Key_Standby:
0
480 case Qt::Key_OpenUrl: return 0; // = 0x1094,
never executed: return 0;
never executed: case Qt::Key_OpenUrl:
0
481-
482 case Qt::Key_LaunchMail : return 0; // = 0x10a0,
never executed: return 0;
never executed: case Qt::Key_LaunchMail :
0
483 case Qt::Key_LaunchMedia: return 0; // = 0x10a1,
never executed: return 0;
never executed: case Qt::Key_LaunchMedia:
0
484 case Qt::Key_Launch0 : return 0; // = 0x10a2,
never executed: return 0;
never executed: case Qt::Key_Launch0 :
0
485 case Qt::Key_Launch1 : return 0; // = 0x10a3,
never executed: return 0;
never executed: case Qt::Key_Launch1 :
0
486 case Qt::Key_Launch2 : return 0; // = 0x10a4,
never executed: return 0;
never executed: case Qt::Key_Launch2 :
0
487 case Qt::Key_Launch3 : return 0; // = 0x10a5,
never executed: return 0;
never executed: case Qt::Key_Launch3 :
0
488 case Qt::Key_Launch4 : return 0; // = 0x10a6,
never executed: return 0;
never executed: case Qt::Key_Launch4 :
0
489 case Qt::Key_Launch5 : return 0; // = 0x10a7,
never executed: return 0;
never executed: case Qt::Key_Launch5 :
0
490 case Qt::Key_Launch6 : return 0; // = 0x10a8,
never executed: return 0;
never executed: case Qt::Key_Launch6 :
0
491 case Qt::Key_Launch7 : return 0; // = 0x10a9,
never executed: return 0;
never executed: case Qt::Key_Launch7 :
0
492 case Qt::Key_Launch8 : return 0; // = 0x10aa,
never executed: return 0;
never executed: case Qt::Key_Launch8 :
0
493 case Qt::Key_Launch9 : return 0; // = 0x10ab,
never executed: return 0;
never executed: case Qt::Key_Launch9 :
0
494 case Qt::Key_LaunchA : return 0; // = 0x10ac,
never executed: return 0;
never executed: case Qt::Key_LaunchA :
0
495 case Qt::Key_LaunchB : return 0; // = 0x10ad,
never executed: return 0;
never executed: case Qt::Key_LaunchB :
0
496 case Qt::Key_LaunchC : return 0; // = 0x10ae,
never executed: return 0;
never executed: case Qt::Key_LaunchC :
0
497 case Qt::Key_LaunchD : return 0; // = 0x10af,
never executed: return 0;
never executed: case Qt::Key_LaunchD :
0
498 case Qt::Key_LaunchE : return 0; // = 0x10b0,
never executed: return 0;
never executed: case Qt::Key_LaunchE :
0
499 case Qt::Key_LaunchF : return 0; // = 0x10b1,
never executed: return 0;
never executed: case Qt::Key_LaunchF :
0
500-
501 default: QTEST_ASSERT(false); return 0;
never executed: qt_assert("false",__FILE__,501);
never executed: return 0;
!(false)Description
TRUEnever evaluated
FALSEnever evaluated
never executed: default:
0
502 }-
503}-
504-
505QT_END_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9