Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qwindowsthemecache_p.h
Go to the documentation of this file.
1
// Copyright (C) 2023 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QWINDOWSTHEME_CACHE_P_H
6
#
define
QWINDOWSTHEME_CACHE_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
"QtGui/private/qtguiglobal_p.h"
20
21
#
include
<
QtCore
/
qt_windows
.
h
>
22
#
include
<
uxtheme
.
h
>
23
24
QT_BEGIN_NAMESPACE
25
26
namespace
QWindowsThemeCache
27
{
28
Q_GUI_EXPORT QString
themeName
(
int
theme
);
29
Q_GUI_EXPORT HTHEME
createTheme
(
int
theme
,
HWND
hwnd
);
30
Q_GUI_EXPORT
void
clearThemeCache
(HWND hwnd);
31
Q_GUI_EXPORT
void
clearAllThemeCaches
();
32
}
33
34
QT_END_NAMESPACE
35
36
#
endif
// QWINDOWSTHEME_CACHE_P_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QWindowsThemeCache
Definition
qwindowsthemecache_p.h:27
QWindowsThemeCache::clearAllThemeCaches
Q_GUI_EXPORT void clearAllThemeCaches()
Definition
qwindowsthemecache.cpp:73
QWindowsThemeCache::clearThemeCache
Q_GUI_EXPORT void clearThemeCache(HWND hwnd)
Definition
qwindowsthemecache.cpp:64
Q_GLOBAL_STATIC
Q_GLOBAL_STATIC(QReadWriteLock, g_updateMutex)
ThemeArray
std::array< HTHEME, std::size(themeNames)> ThemeArray
Definition
qwindowsthemecache.cpp:19
clearThemes
static void clearThemes(ThemeArray &themes)
Definition
qwindowsthemecache.cpp:54
ThemesCache
QHash< HWND, ThemeArray > ThemesCache
Definition
qwindowsthemecache.cpp:20
themeNames
QT_BEGIN_NAMESPACE constexpr const wchar_t * themeNames[]
Definition
qwindowsthemecache.cpp:12
qtbase
src
gui
platform
windows
qwindowsthemecache_p.h
Generated on
for Qt by
1.18.0