| 1 | // Copyright (C) 2023 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QTGRAPHS_QSCATTERSERIES_H |
| 5 | #define QTGRAPHS_QSCATTERSERIES_H |
| 6 | |
| 7 | #include <QtGraphs/qxyseries.h> |
| 8 | #include <QtGraphs/qgraphsglobal.h> |
| 9 | |
| 10 | QT_BEGIN_NAMESPACE |
| 11 | |
| 12 | class QScatterSeriesPrivate; |
| 13 | |
| 14 | class Q_GRAPHS_EXPORT QScatterSeries : public QXYSeries |
| 15 | { |
| 16 | Q_OBJECT |
| 17 | |
| 18 | QML_NAMED_ELEMENT(ScatterSeries) |
| 19 | public: |
| 20 | explicit QScatterSeries(QObject *parent = nullptr); |
| 21 | ~QScatterSeries() override; |
| 22 | QAbstractSeries::SeriesType type() const override; |
| 23 | |
| 24 | |
| 25 | protected: |
| 26 | QScatterSeries(QScatterSeriesPrivate &dd, QObject *parent = nullptr); |
| 27 | |
| 28 | void componentComplete() override; |
| 29 | |
| 30 | private: |
| 31 | Q_DECLARE_PRIVATE(QScatterSeries) |
| 32 | Q_DISABLE_COPY(QScatterSeries) |
| 33 | }; |
| 34 | |
| 35 | QT_END_NAMESPACE |
| 36 | |
| 37 | #endif // QTGRAPHS_QSCATTERSERIES_H |
| 38 | |