qstylehints.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qstylehints.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 QtGui 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 <qstylehints.h>-
41#include <qpa/qplatformintegration.h>-
42#include <qpa/qplatformtheme.h>-
43#include <private/qguiapplication_p.h>-
44#include <qdebug.h>-
45-
46QT_BEGIN_NAMESPACE-
47-
48static inline QVariant hint(QPlatformIntegration::StyleHint h)-
49{-
50 return QGuiApplicationPrivate::platformIntegration()->styleHint(h);
never executed: return QGuiApplicationPrivate::platformIntegration()->styleHint(h);
0
51}-
52-
53static inline QVariant themeableHint(QPlatformTheme::ThemeHint th,-
54 QPlatformIntegration::StyleHint ih)-
55{-
56 if (!QCoreApplication::instance()) {
!QCoreApplication::instance()Description
TRUEnever evaluated
FALSEnever evaluated
0
57 qWarning("Must construct a QGuiApplication before accessing a platform theme hint.");-
58 return QVariant();
never executed: return QVariant();
0
59 }-
60 if (const QPlatformTheme *theme = QGuiApplicationPrivate::platformTheme()) {
const QPlatfor...latformTheme()Description
TRUEnever evaluated
FALSEnever evaluated
0
61 const QVariant themeHint = theme->themeHint(th);-
62 if (themeHint.isValid())
themeHint.isValid()Description
TRUEnever evaluated
FALSEnever evaluated
0
63 return themeHint;
never executed: return themeHint;
0
64 }
never executed: end of block
0
65 return QGuiApplicationPrivate::platformIntegration()->styleHint(ih);
never executed: return QGuiApplicationPrivate::platformIntegration()->styleHint(ih);
0
66}-
67-
68class QStyleHintsPrivate : public QObjectPrivate-
69{-
70 Q_DECLARE_PUBLIC(QStyleHints)-
71public:-
72 inline QStyleHintsPrivate()-
73 : m_mouseDoubleClickInterval(-1)-
74 , m_mousePressAndHoldInterval(-1)-
75 , m_startDragDistance(-1)-
76 , m_startDragTime(-1)-
77 , m_keyboardInputInterval(-1)-
78 , m_cursorFlashTime(-1)-
79 , m_tabFocusBehavior(-1)-
80 {}
never executed: end of block
0
81-
82 int m_mouseDoubleClickInterval;-
83 int m_mousePressAndHoldInterval;-
84 int m_startDragDistance;-
85 int m_startDragTime;-
86 int m_keyboardInputInterval;-
87 int m_cursorFlashTime;-
88 int m_tabFocusBehavior;-
89};-
90-
91/*!-
92 \class QStyleHints-
93 \since 5.0-
94 \brief The QStyleHints class contains platform specific hints and settings.-
95 \inmodule QtGui-
96-
97 An object of this class, obtained from QGuiApplication, provides access to certain global-
98 user interface parameters of the current platform.-
99-
100 Access is read only; typically the platform itself provides the user a way to tune these-
101 parameters.-
102-
103 Access to these parameters are useful when implementing custom user interface components, in that-
104 they allow the components to exhibit the same behaviour and feel as other components.-
105-
106 \sa QGuiApplication::styleHints()-
107 */-
108QStyleHints::QStyleHints()-
109 : QObject(*new QStyleHintsPrivate(), 0)-
110{-
111}
never executed: end of block
0
112-
113/*!-
114 Sets the \a mouseDoubleClickInterval.-
115 \internal-
116 \sa mouseDoubleClickInterval()-
117 \since 5.3-
118*/-
119void QStyleHints::setMouseDoubleClickInterval(int mouseDoubleClickInterval)-
120{-
121 Q_D(QStyleHints);-
122 if (d->m_mouseDoubleClickInterval == mouseDoubleClickInterval)
d->m_mouseDoub...eClickIntervalDescription
TRUEnever evaluated
FALSEnever evaluated
0
123 return;
never executed: return;
0
124 d->m_mouseDoubleClickInterval = mouseDoubleClickInterval;-
125 emit mouseDoubleClickIntervalChanged(mouseDoubleClickInterval);-
126}
never executed: end of block
0
127-
128/*!-
129 \property QStyleHints::mouseDoubleClickInterval-
130 \brief the time limit in milliseconds that distinguishes a double click-
131 from two consecutive mouse clicks.-
132*/-
133int QStyleHints::mouseDoubleClickInterval() const-
134{-
135 Q_D(const QStyleHints);-
136 return d->m_mouseDoubleClickInterval >= 0 ?
never executed: return d->m_mouseDoubleClickInterval >= 0 ? d->m_mouseDoubleClickInterval : themeableHint(QPlatformTheme::MouseDoubleClickInterval, QPlatformIntegration::MouseDoubleClickInterval).toInt();
0
137 d->m_mouseDoubleClickInterval :
never executed: return d->m_mouseDoubleClickInterval >= 0 ? d->m_mouseDoubleClickInterval : themeableHint(QPlatformTheme::MouseDoubleClickInterval, QPlatformIntegration::MouseDoubleClickInterval).toInt();
0
138 themeableHint(QPlatformTheme::MouseDoubleClickInterval, QPlatformIntegration::MouseDoubleClickInterval).toInt();
never executed: return d->m_mouseDoubleClickInterval >= 0 ? d->m_mouseDoubleClickInterval : themeableHint(QPlatformTheme::MouseDoubleClickInterval, QPlatformIntegration::MouseDoubleClickInterval).toInt();
0
139}-
140-
141/*!-
142 Sets the \a mousePressAndHoldInterval.-
143 \internal-
144 \sa mousePressAndHoldInterval()-
145 \since 5.7-
146*/-
147void QStyleHints::setMousePressAndHoldInterval(int mousePressAndHoldInterval)-
148{-
149 Q_D(QStyleHints);-
150 if (d->m_mousePressAndHoldInterval == mousePressAndHoldInterval)
d->m_mousePres...ndHoldIntervalDescription
TRUEnever evaluated
FALSEnever evaluated
0
151 return;
never executed: return;
0
152 d->m_mousePressAndHoldInterval = mousePressAndHoldInterval;-
153 emit mousePressAndHoldIntervalChanged(mousePressAndHoldInterval);-
154}
never executed: end of block
0
155-
156/*!-
157 \property QStyleHints::mousePressAndHoldInterval-
158 \brief the time limit in milliseconds that activates-
159 a press and hold.-
160-
161 \since 5.3-
162*/-
163int QStyleHints::mousePressAndHoldInterval() const-
164{-
165 Q_D(const QStyleHints);-
166 return d->m_mousePressAndHoldInterval >= 0 ?
never executed: return d->m_mousePressAndHoldInterval >= 0 ? d->m_mousePressAndHoldInterval : themeableHint(QPlatformTheme::MousePressAndHoldInterval, QPlatformIntegration::MousePressAndHoldInterval).toInt();
0
167 d->m_mousePressAndHoldInterval :
never executed: return d->m_mousePressAndHoldInterval >= 0 ? d->m_mousePressAndHoldInterval : themeableHint(QPlatformTheme::MousePressAndHoldInterval, QPlatformIntegration::MousePressAndHoldInterval).toInt();
0
168 themeableHint(QPlatformTheme::MousePressAndHoldInterval, QPlatformIntegration::MousePressAndHoldInterval).toInt();
never executed: return d->m_mousePressAndHoldInterval >= 0 ? d->m_mousePressAndHoldInterval : themeableHint(QPlatformTheme::MousePressAndHoldInterval, QPlatformIntegration::MousePressAndHoldInterval).toInt();
0
169}-
170-
171/*!-
172 Sets the \a startDragDistance.-
173 \internal-
174 \sa startDragDistance()-
175 \since 5.3-
176*/-
177void QStyleHints::setStartDragDistance(int startDragDistance)-
178{-
179 Q_D(QStyleHints);-
180 if (d->m_startDragDistance == startDragDistance)
d->m_startDrag...rtDragDistanceDescription
TRUEnever evaluated
FALSEnever evaluated
0
181 return;
never executed: return;
0
182 d->m_startDragDistance = startDragDistance;-
183 emit startDragDistanceChanged(startDragDistance);-
184}
never executed: end of block
0
185-
186/*!-
187 \property QStyleHints::startDragDistance-
188 \brief the distance, in pixels, that the mouse must be moved with a button-
189 held down before a drag and drop operation will begin.-
190-
191 If you support drag and drop in your application, and want to start a drag-
192 and drop operation after the user has moved the cursor a certain distance-
193 with a button held down, you should use this property's value as the-
194 minimum distance required.-
195-
196 For example, if the mouse position of the click is stored in \c startPos-
197 and the current position (e.g. in the mouse move event) is \c currentPos,-
198 you can find out if a drag should be started with code like this:-
199-
200 \snippet code/src_gui_kernel_qapplication.cpp 6-
201-
202 \sa startDragTime, QPoint::manhattanLength(), {Drag and Drop}-
203*/-
204int QStyleHints::startDragDistance() const-
205{-
206 Q_D(const QStyleHints);-
207 return d->m_startDragDistance >= 0 ?
never executed: return d->m_startDragDistance >= 0 ? d->m_startDragDistance : themeableHint(QPlatformTheme::StartDragDistance, QPlatformIntegration::StartDragDistance).toInt();
0
208 d->m_startDragDistance :
never executed: return d->m_startDragDistance >= 0 ? d->m_startDragDistance : themeableHint(QPlatformTheme::StartDragDistance, QPlatformIntegration::StartDragDistance).toInt();
0
209 themeableHint(QPlatformTheme::StartDragDistance, QPlatformIntegration::StartDragDistance).toInt();
never executed: return d->m_startDragDistance >= 0 ? d->m_startDragDistance : themeableHint(QPlatformTheme::StartDragDistance, QPlatformIntegration::StartDragDistance).toInt();
0
210}-
211-
212/*!-
213 Sets the \a startDragDragTime.-
214 \internal-
215 \sa startDragTime()-
216 \since 5.3-
217*/-
218void QStyleHints::setStartDragTime(int startDragTime)-
219{-
220 Q_D(QStyleHints);-
221 if (d->m_startDragTime == startDragTime)
d->m_startDrag... startDragTimeDescription
TRUEnever evaluated
FALSEnever evaluated
0
222 return;
never executed: return;
0
223 d->m_startDragTime = startDragTime;-
224 emit startDragTimeChanged(startDragTime);-
225}
never executed: end of block
0
226-
227/*!-
228 \property QStyleHints::startDragTime-
229 \brief the time, in milliseconds, that a mouse button must be held down-
230 before a drag and drop operation will begin.-
231-
232 If you support drag and drop in your application, and want to start a drag-
233 and drop operation after the user has held down a mouse button for a-
234 certain amount of time, you should use this property's value as the delay.-
235-
236 \sa startDragDistance, {Drag and Drop}-
237*/-
238int QStyleHints::startDragTime() const-
239{-
240 Q_D(const QStyleHints);-
241 return d->m_startDragTime >= 0 ?
never executed: return d->m_startDragTime >= 0 ? d->m_startDragTime : themeableHint(QPlatformTheme::StartDragTime, QPlatformIntegration::StartDragTime).toInt();
0
242 d->m_startDragTime :
never executed: return d->m_startDragTime >= 0 ? d->m_startDragTime : themeableHint(QPlatformTheme::StartDragTime, QPlatformIntegration::StartDragTime).toInt();
0
243 themeableHint(QPlatformTheme::StartDragTime, QPlatformIntegration::StartDragTime).toInt();
never executed: return d->m_startDragTime >= 0 ? d->m_startDragTime : themeableHint(QPlatformTheme::StartDragTime, QPlatformIntegration::StartDragTime).toInt();
0
244}-
245-
246/*!-
247 \property QStyleHints::startDragVelocity-
248 \brief the limit for the velocity, in pixels per second, that the mouse may-
249 be moved, with a button held down, for a drag and drop operation to begin.-
250 A value of 0 means there is no such limit.-
251-
252 \sa startDragDistance, {Drag and Drop}-
253*/-
254int QStyleHints::startDragVelocity() const-
255{-
256 return themeableHint(QPlatformTheme::StartDragVelocity, QPlatformIntegration::StartDragVelocity).toInt();
never executed: return themeableHint(QPlatformTheme::StartDragVelocity, QPlatformIntegration::StartDragVelocity).toInt();
0
257}-
258-
259/*!-
260 Sets the \a keyboardInputInterval.-
261 \internal-
262 \sa keyboardInputInterval()-
263 \since 5.3-
264*/-
265void QStyleHints::setKeyboardInputInterval(int keyboardInputInterval)-
266{-
267 Q_D(QStyleHints);-
268 if (d->m_keyboardInputInterval == keyboardInputInterval)
d->m_keyboardI...dInputIntervalDescription
TRUEnever evaluated
FALSEnever evaluated
0
269 return;
never executed: return;
0
270 d->m_keyboardInputInterval = keyboardInputInterval;-
271 emit keyboardInputIntervalChanged(keyboardInputInterval);-
272}
never executed: end of block
0
273-
274/*!-
275 \property QStyleHints::keyboardInputInterval-
276 \brief the time limit, in milliseconds, that distinguishes a key press-
277 from two consecutive key presses.-
278*/-
279int QStyleHints::keyboardInputInterval() const-
280{-
281 Q_D(const QStyleHints);-
282 return d->m_keyboardInputInterval >= 0 ?
never executed: return d->m_keyboardInputInterval >= 0 ? d->m_keyboardInputInterval : themeableHint(QPlatformTheme::KeyboardInputInterval, QPlatformIntegration::KeyboardInputInterval).toInt();
0
283 d->m_keyboardInputInterval :
never executed: return d->m_keyboardInputInterval >= 0 ? d->m_keyboardInputInterval : themeableHint(QPlatformTheme::KeyboardInputInterval, QPlatformIntegration::KeyboardInputInterval).toInt();
0
284 themeableHint(QPlatformTheme::KeyboardInputInterval, QPlatformIntegration::KeyboardInputInterval).toInt();
never executed: return d->m_keyboardInputInterval >= 0 ? d->m_keyboardInputInterval : themeableHint(QPlatformTheme::KeyboardInputInterval, QPlatformIntegration::KeyboardInputInterval).toInt();
0
285}-
286-
287/*!-
288 \property QStyleHints::keyboardAutoRepeatRate-
289 \brief the rate, in events per second, in which additional repeated key-
290 presses will automatically be generated if a key is being held down.-
291*/-
292int QStyleHints::keyboardAutoRepeatRate() const-
293{-
294 return themeableHint(QPlatformTheme::KeyboardAutoRepeatRate, QPlatformIntegration::KeyboardAutoRepeatRate).toInt();
never executed: return themeableHint(QPlatformTheme::KeyboardAutoRepeatRate, QPlatformIntegration::KeyboardAutoRepeatRate).toInt();
0
295}-
296-
297/*!-
298 Sets the \a cursorFlashTime.-
299 \internal-
300 \sa cursorFlashTime()-
301 \since 5.3-
302*/-
303void QStyleHints::setCursorFlashTime(int cursorFlashTime)-
304{-
305 Q_D(QStyleHints);-
306 if (d->m_cursorFlashTime == cursorFlashTime)
d->m_cursorFla...ursorFlashTimeDescription
TRUEnever evaluated
FALSEnever evaluated
0
307 return;
never executed: return;
0
308 d->m_cursorFlashTime = cursorFlashTime;-
309 emit cursorFlashTimeChanged(cursorFlashTime);-
310}
never executed: end of block
0
311-
312/*!-
313 \property QStyleHints::cursorFlashTime-
314 \brief the text cursor's flash (blink) time in milliseconds.-
315-
316 The flash time is the time used to display, invert and restore the-
317 caret display. Usually the text cursor is displayed for half the cursor-
318 flash time, then hidden for the same amount of time.-
319*/-
320int QStyleHints::cursorFlashTime() const-
321{-
322 Q_D(const QStyleHints);-
323 return d->m_cursorFlashTime >= 0 ?
never executed: return d->m_cursorFlashTime >= 0 ? d->m_cursorFlashTime : themeableHint(QPlatformTheme::CursorFlashTime, QPlatformIntegration::CursorFlashTime).toInt();
0
324 d->m_cursorFlashTime :
never executed: return d->m_cursorFlashTime >= 0 ? d->m_cursorFlashTime : themeableHint(QPlatformTheme::CursorFlashTime, QPlatformIntegration::CursorFlashTime).toInt();
0
325 themeableHint(QPlatformTheme::CursorFlashTime, QPlatformIntegration::CursorFlashTime).toInt();
never executed: return d->m_cursorFlashTime >= 0 ? d->m_cursorFlashTime : themeableHint(QPlatformTheme::CursorFlashTime, QPlatformIntegration::CursorFlashTime).toInt();
0
326}-
327-
328/*!-
329 \property QStyleHints::showIsFullScreen-
330 \brief \c true if the platform defaults to windows being fullscreen,-
331 otherwise \c false.-
332-
333 \note The platform may still choose to show certain windows non-fullscreen,-
334 such as popups or dialogs. This property only reports the default behavior.-
335-
336 \sa QWindow::show(), showIsMaximized()-
337*/-
338bool QStyleHints::showIsFullScreen() const-
339{-
340 return hint(QPlatformIntegration::ShowIsFullScreen).toBool();
never executed: return hint(QPlatformIntegration::ShowIsFullScreen).toBool();
0
341}-
342-
343/*!-
344 \property QStyleHints::showIsMaximized-
345 \brief \c true if the platform defaults to windows being maximized,-
346 otherwise \c false.-
347-
348 \note The platform may still choose to show certain windows non-maximized,-
349 such as popups or dialogs. This property only reports the default behavior.-
350-
351 \sa QWindow::show(), showIsFullScreen()-
352 \since 5.6-
353*/-
354bool QStyleHints::showIsMaximized() const-
355{-
356 return hint(QPlatformIntegration::ShowIsMaximized).toBool();
never executed: return hint(QPlatformIntegration::ShowIsMaximized).toBool();
0
357}-
358-
359/*!-
360 \property QStyleHints::passwordMaskDelay-
361 \brief the time, in milliseconds, a typed letter is displayed unshrouded-
362 in a text input field in password mode.-
363*/-
364int QStyleHints::passwordMaskDelay() const-
365{-
366 return themeableHint(QPlatformTheme::PasswordMaskDelay, QPlatformIntegration::PasswordMaskDelay).toInt();
never executed: return themeableHint(QPlatformTheme::PasswordMaskDelay, QPlatformIntegration::PasswordMaskDelay).toInt();
0
367}-
368-
369/*!-
370 \property QStyleHints::passwordMaskCharacter-
371 \brief the character used to mask the characters typed into text input-
372 fields in password mode.-
373*/-
374QChar QStyleHints::passwordMaskCharacter() const-
375{-
376 return themeableHint(QPlatformTheme::PasswordMaskCharacter, QPlatformIntegration::PasswordMaskCharacter).toChar();
never executed: return themeableHint(QPlatformTheme::PasswordMaskCharacter, QPlatformIntegration::PasswordMaskCharacter).toChar();
0
377}-
378-
379/*!-
380 \property QStyleHints::fontSmoothingGamma-
381 \brief the gamma value used in font smoothing.-
382*/-
383qreal QStyleHints::fontSmoothingGamma() const-
384{-
385 return hint(QPlatformIntegration::FontSmoothingGamma).toReal();
never executed: return hint(QPlatformIntegration::FontSmoothingGamma).toReal();
0
386}-
387-
388/*!-
389 \property QStyleHints::useRtlExtensions-
390 \brief \c true if right-to-left writing direction is enabled,-
391 otherwise \c false.-
392*/-
393bool QStyleHints::useRtlExtensions() const-
394{-
395 return hint(QPlatformIntegration::UseRtlExtensions).toBool();
never executed: return hint(QPlatformIntegration::UseRtlExtensions).toBool();
0
396}-
397-
398/*!-
399 \property QStyleHints::setFocusOnTouchRelease-
400 \brief \c true if focus objects (line edits etc) should receive-
401 input focus after a touch/mouse release. This is normal behavior on-
402 touch platforms. On desktop platforms, the standard is to set-
403 focus already on touch/mouse press.-
404*/-
405bool QStyleHints::setFocusOnTouchRelease() const-
406{-
407 return hint(QPlatformIntegration::SetFocusOnTouchRelease).toBool();
never executed: return hint(QPlatformIntegration::SetFocusOnTouchRelease).toBool();
0
408}-
409-
410/*!-
411 \property QStyleHints::tabFocusBehavior-
412 \since 5.5-
413 \brief The focus behavior on press of the tab key.-
414-
415 \note Do not bind this value in QML because the change notifier-
416 signal is not implemented yet.-
417*/-
418-
419Qt::TabFocusBehavior QStyleHints::tabFocusBehavior() const-
420{-
421 Q_D(const QStyleHints);-
422 return Qt::TabFocusBehavior(d->m_tabFocusBehavior >= 0 ?
never executed: return Qt::TabFocusBehavior(d->m_tabFocusBehavior >= 0 ? d->m_tabFocusBehavior : themeableHint(QPlatformTheme::TabFocusBehavior, QPlatformIntegration::TabFocusBehavior).toInt());
0
423 d->m_tabFocusBehavior :
never executed: return Qt::TabFocusBehavior(d->m_tabFocusBehavior >= 0 ? d->m_tabFocusBehavior : themeableHint(QPlatformTheme::TabFocusBehavior, QPlatformIntegration::TabFocusBehavior).toInt());
0
424 themeableHint(QPlatformTheme::TabFocusBehavior, QPlatformIntegration::TabFocusBehavior).toInt());
never executed: return Qt::TabFocusBehavior(d->m_tabFocusBehavior >= 0 ? d->m_tabFocusBehavior : themeableHint(QPlatformTheme::TabFocusBehavior, QPlatformIntegration::TabFocusBehavior).toInt());
0
425}-
426-
427/*!-
428 Sets the \a tabFocusBehavior.-
429 \internal-
430 \sa tabFocusBehavior()-
431 \since 5.7-
432*/-
433void QStyleHints::setTabFocusBehavior(Qt::TabFocusBehavior tabFocusBehavior)-
434{-
435 Q_D(QStyleHints);-
436 if (d->m_tabFocusBehavior == tabFocusBehavior)
d->m_tabFocusB...bFocusBehaviorDescription
TRUEnever evaluated
FALSEnever evaluated
0
437 return;
never executed: return;
0
438 d->m_tabFocusBehavior = tabFocusBehavior;-
439 emit tabFocusBehaviorChanged(tabFocusBehavior);-
440}
never executed: end of block
0
441-
442/*!-
443 \property QStyleHints::singleClickActivation-
444 \brief \c true if items should be activated by single click, \b false-
445 if they should be activated by double click instead.-
446-
447 \since 5.5-
448*/-
449bool QStyleHints::singleClickActivation() const-
450{-
451 return themeableHint(QPlatformTheme::ItemViewActivateItemOnSingleClick, QPlatformIntegration::ItemViewActivateItemOnSingleClick).toBool();
never executed: return themeableHint(QPlatformTheme::ItemViewActivateItemOnSingleClick, QPlatformIntegration::ItemViewActivateItemOnSingleClick).toBool();
0
452}-
453-
454QT_END_NAMESPACE-
Source codeSwitch to Preprocessed file

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