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
22
QT_BEGIN_NAMESPACE
23
24
class
QQuickGradient
;
25
class
QQuickRectangle
;
26
class
QQuickRectanglePrivate
:
public
QQuickItemPrivate
27
{
28
Q_DECLARE_PUBLIC(
QQuickRectangle
)
29
30
public
:
31
QQuickRectanglePrivate
() :
32
color
(
Qt
::white),
gradient
(
QJSValue
::UndefinedValue),
pen
(0),
radius
(0)
33
{
34
}
35
36
~QQuickRectanglePrivate
()
37
{
38
}
39
40
QColor
color
;
41
QJSValue
gradient
;
42
QQuickPen
*
pen
;
43
qreal
radius
;
44
45
struct
ExtraData
{
46
ExtraData
()
47
:
topLeftRadius
(-1.),
48
topRightRadius
(-1.),
49
bottomLeftRadius
(-1.),
50
bottomRightRadius
(-1.)
51
{
52
}
53
54
qreal
topLeftRadius
;
55
qreal
topRightRadius
;
56
qreal
bottomLeftRadius
;
57
qreal
bottomRightRadius
;
58
};
59
QLazilyAllocated<ExtraData>
extra
;
60
61
static
int
doUpdateSlotIdx
;
62
63
void
maybeSetImplicitAntialiasing
();
64
};
65
66
QT_END_NAMESPACE
67
68
#endif
// QQUICKRECTANGLE_P_P_H
QColor
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition
qcolor.h:31
QJSValue
The QJSValue class acts as a container for Qt/JavaScript data types.
Definition
qjsvalue.h:31
QLazilyAllocated
Definition
qlazilyallocated_p.h:24
QQuickGradient
Definition
qquickrectangle_p.h:88
QQuickItemPrivate
Definition
qquickitem_p.h:223
QQuickPen
For specifying a pen used for drawing rectangle borders on a QQuickView.
Definition
qquickrectangle_p.h:27
QQuickRectanglePrivate
Definition
qquickrectangle_p_p.h:27
QQuickRectanglePrivate::extra
QLazilyAllocated< ExtraData > extra
Definition
qquickrectangle_p_p.h:59
QQuickRectanglePrivate::maybeSetImplicitAntialiasing
void maybeSetImplicitAntialiasing()
Definition
qquickrectangle.cpp:267
QQuickRectanglePrivate::doUpdateSlotIdx
static int doUpdateSlotIdx
Definition
qquickrectangle_p_p.h:61
QQuickRectanglePrivate::QQuickRectanglePrivate
QQuickRectanglePrivate()
Definition
qquickrectangle_p_p.h:31
QQuickRectanglePrivate::~QQuickRectanglePrivate
~QQuickRectanglePrivate()
Definition
qquickrectangle_p_p.h:36
QQuickRectanglePrivate::color
QColor color
Definition
qquickrectangle_p_p.h:40
QQuickRectanglePrivate::gradient
QJSValue gradient
Definition
qquickrectangle_p_p.h:41
QQuickRectanglePrivate::pen
QQuickPen * pen
Definition
qquickrectangle_p_p.h:42
QQuickRectanglePrivate::radius
qreal radius
Definition
qquickrectangle_p_p.h:43
QQuickRectangle
Definition
qquickrectangle_p.h:129
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
Qt
Definition
qnamespace.h:23
color
Definition
qssgutils_p.h:103
qquickitem_p.h
qreal
double qreal
Definition
qtypes.h:92
QQuickRectanglePrivate::ExtraData
Definition
qquickrectangle_p_p.h:45
QQuickRectanglePrivate::ExtraData::bottomRightRadius
qreal bottomRightRadius
Definition
qquickrectangle_p_p.h:57
QQuickRectanglePrivate::ExtraData::bottomLeftRadius
qreal bottomLeftRadius
Definition
qquickrectangle_p_p.h:56
QQuickRectanglePrivate::ExtraData::topRightRadius
qreal topRightRadius
Definition
qquickrectangle_p_p.h:55
QQuickRectanglePrivate::ExtraData::topLeftRadius
qreal topLeftRadius
Definition
qquickrectangle_p_p.h:54
QQuickRectanglePrivate::ExtraData::ExtraData
ExtraData()
Definition
qquickrectangle_p_p.h:46
qtdeclarative
src
quick
items
qquickrectangle_p_p.h
Generated by
1.9.7