Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickfusiontheme.cpp
Go to the documentation of this file.
1// Copyright (C) 2022 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
5
6#include <QtQuickTemplates2/private/qquicktheme_p.h>
7#include <QtQuickControls2/private/qquickstyle_p.h>
8
10
12{
13 // Enable platform palettes for fusion theme.
14 if (theme)
15 theme->setUsePlatformPalette(true);
16}
17
static void initialize(QQuickTheme *theme)
void setUsePlatformPalette(const bool enable)
Combined button and popup list for selecting options.