Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qquickitemdelegate_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2017 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
4#ifndef QQUICKITEMDELEGATE_P_P_H
5#define QQUICKITEMDELEGATE_P_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 <QtQuickTemplates2/private/qquickabstractbutton_p_p.h>
19
21
22class Q_QUICKTEMPLATES2_PRIVATE_EXPORT QQuickItemDelegatePrivate : public QQuickAbstractButtonPrivate
23{
24 Q_DECLARE_PUBLIC(QQuickItemDelegate)
25
26public:
27 QPalette defaultPalette() const override;
28
29 bool highlighted = false;
30};
31
33
34#endif // QQUICKITEMDELEGATE_P_P_H
The QPalette class contains color groups for each widget state.
Definition qpalette.h:19
QPalette defaultPalette() const override
Combined button and popup list for selecting options.