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