1// Copyright (C) 2016 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 QQUICKRECTANGLE_P_P_H
5#define QQUICKRECTANGLE_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 "qquickitem_p.h"
19#include <QtCore/qmetaobject.h>
20
21QT_BEGIN_NAMESPACE
22
23class QQuickGradient;
24class QQuickRectangle;
25class QQuickRectanglePrivate : public QQuickItemPrivate
26{
27 Q_DECLARE_PUBLIC(QQuickRectangle)
28
29public:
30 QQuickRectanglePrivate() :
31 color(Qt::white), gradient(QJSValue::UndefinedValue), pen(0), radius(0)
32 {
33 }
34
35 ~QQuickRectanglePrivate()
36 {
37 }
38
39 QColor color;
40 QJSValue gradient;
41 QQuickPen *pen;
42 qreal radius;
43 static int doUpdateSlotIdx;
44};
45
46QT_END_NAMESPACE
47
48#endif // QQUICKRECTANGLE_P_P_H
49

source code of qtdeclarative/src/quick/items/qquickrectangle_p_p.h