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
12QT_BEGIN_NAMESPACE
13
14class QSplineSeriesPrivate;
15
16class Q_CHARTS_EXPORT QSplineSeries : public QLineSeries
17{
18 Q_OBJECT
19
20public:
21 explicit QSplineSeries(QObject *parent = nullptr);
22 ~QSplineSeries();
23 QAbstractSeries::SeriesType type() const override;
24
25private:
26 Q_DECLARE_PRIVATE(QSplineSeries)
27 Q_DISABLE_COPY(QSplineSeries)
28 friend class SplineChartItem;
29};
30
31QT_END_NAMESPACE
32
33#endif // QT_CONFIG(charts_spline_chart)
34#endif // QSPLINESERIES_H
35
36

source code of qtcharts/src/charts/splinechart/qsplineseries.h