| 1 | // Copyright (C) 2016 The Qt Company Ltd. | 
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only | 
| 3 | |
| 4 | #ifndef QSPLINESERIES_H | 
| 5 | #define QSPLINESERIES_H | 
| 6 | #include <QtCharts/QChartGlobal> | 
| 7 | #if QT_CONFIG(charts_spline_chart) | 
| 8 | #include <QtCharts/qlineseries.h> | 
| 9 | #include <QtCore/QList> | 
| 10 | #include <QtCore/QPointF> | 
| 11 | |
| 12 | QT_BEGIN_NAMESPACE | 
| 13 | |
| 14 | class QSplineSeriesPrivate; | 
| 15 | |
| 16 | class Q_CHARTS_EXPORT QSplineSeries : public QLineSeries | 
| 17 | { | 
| 18 | Q_OBJECT | 
| 19 | |
| 20 | public: | 
| 21 | explicit QSplineSeries(QObject *parent = nullptr); | 
| 22 | ~QSplineSeries(); | 
| 23 | QAbstractSeries::SeriesType type() const override; | 
| 24 | |
| 25 | private: | 
| 26 | Q_DECLARE_PRIVATE(QSplineSeries) | 
| 27 | Q_DISABLE_COPY(QSplineSeries) | 
| 28 | friend class SplineChartItem; | 
| 29 | }; | 
| 30 | |
| 31 | QT_END_NAMESPACE | 
| 32 | |
| 33 | #endif // QT_CONFIG(charts_spline_chart) | 
| 34 | #endif // QSPLINESERIES_H | 
| 35 | |
| 36 | 
