Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickabstractpaletteprovider_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 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
#
ifndef
QQUICKABSTRACTPALETTEPROVIDER_P_H
5
#
define
QQUICKABSTRACTPALETTEPROVIDER_P_H
6
7
//
8
// W A R N I N G
9
// -------------
10
//
11
// This file is not part of the Qt API. It exists purely as an
12
// implementation detail. This header file may change from version to
13
// version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#
include
<
QtQuick
/
private
/
qtquickglobal_p
.
h
>
19
20
QT_BEGIN_NAMESPACE
21
22
class
QQuickAbstractPaletteProvider
23
{
24
public
:
25
virtual
~QQuickAbstractPaletteProvider() =
default
;
26
virtual
QPalette defaultPalette()
const
= 0;
27
virtual
QPalette parentPalette(
const
QPalette &fallbackPalette)
const
{
return
fallbackPalette; }
28
};
29
30
QT_END_NAMESPACE
31
32
#
endif
// QQUICKABSTRACTPALETTEPROVIDER_P_H
qtdeclarative
src
quick
items
qquickabstractpaletteprovider_p.h
Generated on
for Qt by
1.14.0