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
qquickdirection_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 VARYINGVECTOR_H
5#define VARYINGVECTOR_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 <QPointF>
20#include <QtQml/qqml.h>
21#include <QtCore/private/qglobal_p.h>
22#include <QtQuickParticles/qtquickparticlesexports.h>
23
25
26class Q_QUICKPARTICLES_EXPORT QQuickDirection : public QObject
27{
29 QML_NAMED_ELEMENT(NullVector)
31 QML_UNCREATABLE("Abstract type. Use one of the inheriting types instead.")
32
33public:
34 explicit QQuickDirection(QObject *parent = nullptr);
35
36 virtual QPointF sample(const QPointF &from);
38
39public Q_SLOTS:
40
41protected:
42};
43
45#endif // VARYINGVECTOR_H
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore\reentrant
Definition qpoint.h:217
Combined button and popup list for selecting options.
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS