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
qquicklineextruder_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
LINEEXTRUDER_H
5
#
define
LINEEXTRUDER_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
QQuickLineExtruder
:
public
QQuickParticleExtruder
22
{
23
Q_OBJECT
24
//Default is topleft to bottom right. Flipped makes it topright to bottom left
25
Q_PROPERTY(
bool
mirrored READ mirrored WRITE setMirrored NOTIFY mirroredChanged)
26
QML_NAMED_ELEMENT(LineShape)
27
QML_ADDED_IN_VERSION(2, 0)
28
29
public
:
30
explicit
QQuickLineExtruder(QObject *parent =
nullptr
);
31
QPointF extrude(
const
QRectF &) override;
32
bool
mirrored()
const
33
{
34
return
m_mirrored;
35
}
36
37
Q_SIGNALS:
38
39
void
mirroredChanged(
bool
arg);
40
41
public
Q_SLOTS:
42
43
void
setMirrored(
bool
arg)
44
{
45
if
(m_mirrored != arg) {
46
m_mirrored = arg;
47
Q_EMIT mirroredChanged(arg);
48
}
49
}
50
private
:
51
bool
m_mirrored;
52
};
53
54
QT_END_NAMESPACE
55
56
#
endif
// LINEEXTRUDER_H
QQuickLineExtruder
Definition
qquicklineextruder_p.h:22
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
particles
qquicklineextruder_p.h
Generated on
for Qt by
1.18.0