kernel/qplatformtheme.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4QPlatformTheme::~QPlatformTheme() -
5{ -
6 -
7} -
8 -
9bool QPlatformTheme::usePlatformNativeDialog(DialogType type) const -
10{ -
11 (void)type;; -
12 return false;
never executed: return false;
0
13} -
14 -
15QPlatformDialogHelper *QPlatformTheme::createPlatformDialogHelper(DialogType type) const -
16{ -
17 (void)type;; -
18 return 0;
executed: return 0;
Execution Count:194
194
19} -
20 -
21const QPalette *QPlatformTheme::palette(Palette type) const -
22{ -
23 (void)type; -
24 return 0;
executed: return 0;
Execution Count:1263
1263
25} -
26 -
27const QFont *QPlatformTheme::font(Font type) const -
28{ -
29 (void)type; -
30 return 0;
never executed: return 0;
0
31} -
32 -
33QPixmap QPlatformTheme::standardPixmap(StandardPixmap sp, const QSizeF &size) const -
34{ -
35 (void)sp;; -
36 (void)size;; -
37 -
38 return QPixmap();
never executed: return QPixmap();
0
39} -
40 -
41QPixmap QPlatformTheme::fileIconPixmap(const QFileInfo &fileInfo, const QSizeF &size) const -
42{ -
43 (void)fileInfo;; -
44 (void)size;; -
45 -
46 return QPixmap();
never executed: return QPixmap();
0
47} -
48 -
49QVariant QPlatformTheme::themeHint(ThemeHint hint) const -
50{ -
51 return QPlatformTheme::defaultThemeHint(hint);
executed: return QPlatformTheme::defaultThemeHint(hint);
Execution Count:38248
38248
52} -
53 -
54QVariant QPlatformTheme::defaultThemeHint(ThemeHint hint) -
55{ -
56 switch (hint) { -
57 case QPlatformTheme::CursorFlashTime: -
58 return QVariant(1000);
executed: return QVariant(1000);
Execution Count:4198
4198
59 case QPlatformTheme::KeyboardInputInterval: -
60 return QVariant(400);
executed: return QVariant(400);
Execution Count:19
19
61 case QPlatformTheme::KeyboardAutoRepeatRate: -
62 return QVariant(30);
never executed: return QVariant(30);
0
63 case QPlatformTheme::MouseDoubleClickInterval: -
64 return QVariant(400);
executed: return QVariant(400);
Execution Count:785
785
65 case QPlatformTheme::StartDragDistance: -
66 return QVariant(10);
executed: return QVariant(10);
Execution Count:9
9
67 case QPlatformTheme::StartDragTime: -
68 return QVariant(500);
never executed: return QVariant(500);
0
69 case QPlatformTheme::PasswordMaskDelay: -
70 return QVariant(int(0));
executed: return QVariant(int(0));
Execution Count:4
4
71 case QPlatformTheme::StartDragVelocity: -
72 return QVariant(int(0));
never executed: return QVariant(int(0));
0
73 case QPlatformTheme::UseFullScreenForPopupMenu: -
74 return QVariant(false);
executed: return QVariant(false);
Execution Count:844
844
75 case QPlatformTheme::WindowAutoPlacement: -
76 return QVariant(false);
executed: return QVariant(false);
Execution Count:458
458
77 case QPlatformTheme::DialogButtonBoxLayout: -
78 return QVariant(int(0));
never executed: return QVariant(int(0));
0
79 case QPlatformTheme::DialogButtonBoxButtonsHaveIcons: -
80 return QVariant(false);
never executed: return QVariant(false);
0
81 case QPlatformTheme::ItemViewActivateItemOnSingleClick: -
82 return QVariant(false);
never executed: return QVariant(false);
0
83 case QPlatformTheme::ToolButtonStyle: -
84 return QVariant(int(Qt::ToolButtonIconOnly));
executed: return QVariant(int(Qt::ToolButtonIconOnly));
Execution Count:381
381
85 case QPlatformTheme::ToolBarIconSize: -
86 return QVariant(int(0));
executed: return QVariant(int(0));
Execution Count:69
69
87 case QPlatformTheme::SystemIconThemeName: -
88 case QPlatformTheme::SystemIconFallbackThemeName: -
89 return QVariant(QString());
never executed: return QVariant(QString());
0
90 case QPlatformTheme::IconThemeSearchPaths: -
91 return QVariant(QStringList());
never executed: return QVariant(QStringList());
0
92 case QPlatformTheme::StyleNames: -
93 return QVariant(QStringList());
never executed: return QVariant(QStringList());
0
94 case TextCursorWidth: -
95 return QVariant(1);
executed: return QVariant(1);
Execution Count:1053
1053
96 case DropShadow: -
97 return QVariant(false);
executed: return QVariant(false);
Execution Count:2
2
98 case MaximumScrollBarDragDistance: -
99 return QVariant(-1);
executed: return QVariant(-1);
Execution Count:6
6
100 case KeyboardScheme: -
101 return QVariant(int(WindowsKeyboardScheme));
never executed: return QVariant(int(WindowsKeyboardScheme));
0
102 case UiEffects: -
103 return QVariant(int(0));
executed: return QVariant(int(0));
Execution Count:215
215
104 case SpellCheckUnderlineStyle: -
105 return QVariant(int(QTextCharFormat::SpellCheckUnderline));
never executed: return QVariant(int(QTextCharFormat::SpellCheckUnderline));
0
106 case TabAllWidgets: -
107 return QVariant(true);
executed: return QVariant(true);
Execution Count:1768
1768
108 case IconPixmapSizes: -
109 return QVariant::fromValue(QList<int>());
executed: return QVariant::fromValue(QList<int>());
Execution Count:28437
28437
110 } -
111 return QVariant();
never executed: return QVariant();
0
112} -
113 -
114QPlatformMenuItem *QPlatformTheme::createPlatformMenuItem() const -
115{ -
116 return 0;
never executed: return 0;
0
117} -
118 -
119QPlatformMenu *QPlatformTheme::createPlatformMenu() const -
120{ -
121 return 0;
executed: return 0;
Execution Count:272
272
122} -
123 -
124QPlatformMenuBar *QPlatformTheme::createPlatformMenuBar() const -
125{ -
126 return 0;
executed: return 0;
Execution Count:23
23
127} -
128 -
129 -
130 -
131 -
132 -
133 -
134QPlatformSystemTrayIcon *QPlatformTheme::createPlatformSystemTrayIcon() const -
135{ -
136 return 0;
never executed: return 0;
0
137} -
138 -
139 -
140 -
141 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial