Qt
6.x
The Qt SDK
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_PRIVATE_EXPORT
QQuickRectangleExtruder
:
public
QQuickParticleExtruder
23
{
24
Q_OBJECT
25
Q_PROPERTY
(
bool
fill
READ
fill
WRITE setFill NOTIFY fillChanged FINAL)
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
QObject
\inmodule QtCore
Definition
qobject.h:90
QPointF
\inmodule QtCore\reentrant
Definition
qpoint.h:214
QQuickParticleExtruder
Definition
qquickparticleextruder_p.h:28
QQuickParticleExtruder::contains
virtual bool contains(const QRectF &bounds, const QPointF &point)
Definition
qquickparticleextruder.cpp:30
QQuickParticleExtruder::extrude
virtual QPointF extrude(const QRectF &)
Definition
qquickparticleextruder.cpp:24
QQuickRectangleExtruder
Definition
qquickrectangleextruder_p.h:23
QQuickRectangleExtruder::fill
bool fill() const
Definition
qquickrectangleextruder_p.h:33
QQuickRectangleExtruder::setFill
void setFill(bool arg)
Definition
qquickrectangleextruder_p.h:44
QQuickRectangleExtruder::m_fill
bool m_fill
Definition
qquickrectangleextruder_p.h:52
QQuickRectangleExtruder::fillChanged
void fillChanged(bool arg)
QRectF
\inmodule QtCore\reentrant
Definition
qrect.h:483
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
QML_NAMED_ELEMENT
#define QML_NAMED_ELEMENT(NAME)
Definition
qqmlintegration.h:52
QML_ADDED_IN_VERSION
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
Definition
qqmlintegration.h:86
qquickparticleextruder_p.h
arg
SSL_CTX int(*) void arg)
Definition
qsslsocket_openssl_symbols.cpp:404
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:56
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:117
Q_EMIT
#define Q_EMIT
Definition
qtmetamacros.h:47
Q_SLOTS
#define Q_SLOTS
Definition
qtmetamacros.h:44
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
fill
ba fill(true)
parent
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent
Definition
uiaclientinterfaces_p.h:209
qtdeclarative
src
particles
qquickrectangleextruder_p.h
Generated by
1.9.7