Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickrectangle_p_p.h
Go to the documentation of this file.
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#include <private/qlazilyallocated_p.h>
21
23
24class QQuickGradient;
25class QQuickRectangle;
27{
28 Q_DECLARE_PUBLIC(QQuickRectangle)
29
30public:
32 color(Qt::white), gradient(QJSValue::UndefinedValue), pen(0), radius(0)
33 {
34 }
35
37 {
38 }
39
44
45 struct ExtraData {
47 : topLeftRadius(-1.),
48 topRightRadius(-1.),
51 {
52 }
53
58 };
60
61 static int doUpdateSlotIdx;
62
64};
65
67
68#endif // QQUICKRECTANGLE_P_P_H
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition qcolor.h:31
The QJSValue class acts as a container for Qt/JavaScript data types.
Definition qjsvalue.h:31
For specifying a pen used for drawing rectangle borders on a QQuickView.
QLazilyAllocated< ExtraData > extra
Combined button and popup list for selecting options.
double qreal
Definition qtypes.h:92