Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquickellipseextruder_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
ELLIPSEEXTRUDER_H
5
#
define
ELLIPSEEXTRUDER_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
#
include
"qquickparticleextruder_p.h"
18
19
QT_BEGIN_NAMESPACE
20
21
class
Q_QUICKPARTICLES_EXPORT
QQuickEllipseExtruder
:
public
QQuickParticleExtruder
22
{
23
Q_OBJECT
24
Q_PROPERTY(
bool
fill READ fill WRITE setFill NOTIFY fillChanged)
//###Use base class? If it's still box
25
QML_NAMED_ELEMENT(EllipseShape)
26
QML_ADDED_IN_VERSION(2, 0)
27
public
:
28
explicit
QQuickEllipseExtruder(QObject *parent =
nullptr
);
29
QPointF extrude(
const
QRectF &) override;
30
bool
contains(
const
QRectF &bounds,
const
QPointF &point) override;
31
32
bool
fill()
const
33
{
34
return
m_fill;
35
}
36
37
Q_SIGNALS:
38
39
void
fillChanged(
bool
arg);
40
41
public
Q_SLOTS:
42
43
void
setFill(
bool
arg)
44
{
45
if
(m_fill != arg) {
46
m_fill = arg;
47
Q_EMIT fillChanged(arg);
48
}
49
}
50
private
:
51
bool
m_fill;
52
};
53
54
QT_END_NAMESPACE
55
#
endif
// ELLIPSEEXTRUDER_H
QQuickEllipseExtruder
Definition
qquickellipseextruder_p.h:22
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
M_PI
#define M_PI
Definition
qmath.h:201
qtdeclarative
src
particles
qquickellipseextruder_p.h
Generated on
for Qt by
1.18.0