Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickparticleextruder_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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 PARTICLEEXTRUDER_H
5#define PARTICLEEXTRUDER_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 <QObject>
19#include <QRectF>
20#include <QPointF>
21#include <QtQml/qqml.h>
22#include <QtCore/private/qglobal_p.h>
23#include <QtQuickParticles/qtquickparticlesexports.h>
24
26
27class Q_QUICKPARTICLES_EXPORT QQuickParticleExtruder : public QObject
28{
30
31 QML_NAMED_ELEMENT(ParticleExtruder)
33 QML_UNCREATABLE("Abstract type. Use one of the inheriting types instead.")
34
35public:
36 explicit QQuickParticleExtruder(QObject *parent = nullptr);
37 virtual QPointF extrude(const QRectF &);
38 virtual bool contains(const QRectF &bounds, const QPointF &point);
39};
40
42
43#endif // PARTICLEEXTRUDER_H
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore\reentrant
Definition qpoint.h:217
\inmodule QtCore\reentrant
Definition qrect.h:484
Combined button and popup list for selecting options.
static bool contains(const QJsonArray &haystack, unsigned needle)
Definition qopengl.cpp:116
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_OBJECT