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
qquickrectangleextruder_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
RECTANGLEEXTRUDER_H
5
#
define
RECTANGLEEXTRUDER_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
"qquickparticleextruder_p.h"
19
20
QT_BEGIN_NAMESPACE
21
22
class
Q_QUICKPARTICLES_EXPORT
QQuickRectangleExtruder
:
public
QQuickParticleExtruder
23
{
24
Q_OBJECT
25
Q_PROPERTY(
bool
fill READ fill WRITE setFill NOTIFY fillChanged)
26
QML_NAMED_ELEMENT(RectangleShape)
27
QML_ADDED_IN_VERSION(2, 0)
28
29
public
:
30
explicit
QQuickRectangleExtruder(QObject *parent =
nullptr
);
31
QPointF extrude(
const
QRectF &) override;
32
bool
contains(
const
QRectF &bounds,
const
QPointF &point) override;
33
bool
fill()
const
34
{
35
return
m_fill;
36
}
37
38
Q_SIGNALS:
39
40
void
fillChanged(
bool
arg);
41
42
public
Q_SLOTS:
43
44
void
setFill(
bool
arg)
45
{
46
if
(m_fill != arg) {
47
m_fill = arg;
48
Q_EMIT fillChanged(arg);
49
}
50
}
51
protected
:
52
bool
m_fill;
53
};
54
55
QT_END_NAMESPACE
56
57
#
endif
// RectangleEXTRUDER_H
QQuickRectangleExtruder
Definition
qquickrectangleextruder_p.h:23
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
particles
qquickrectangleextruder_p.h
Generated on
for Qt by
1.18.0