1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | // W A R N I N G |
5 | // ------------- |
6 | // |
7 | // This file is not part of the Qt Chart API. It exists purely as an |
8 | // implementation detail. This header file may change from version to |
9 | // version without notice, or even be removed. |
10 | // |
11 | // We mean it. |
12 | |
13 | #ifndef QSPLINESERIES_P_H |
14 | #define QSPLINESERIES_P_H |
15 | |
16 | #include <private/qlineseries_p.h> |
17 | #include <QtCharts/private/qchartglobal_p.h> |
18 | |
19 | QT_BEGIN_NAMESPACE |
20 | |
21 | |
22 | class Q_CHARTS_PRIVATE_EXPORT QSplineSeriesPrivate: public QLineSeriesPrivate |
23 | { |
24 | Q_OBJECT |
25 | public: |
26 | QSplineSeriesPrivate(QSplineSeries *q); |
27 | |
28 | void initializeTheme(int index, ChartTheme* theme, bool forced = false) override; |
29 | void initializeGraphics(QGraphicsItem* parent) override; |
30 | void initializeAnimations(QChart::AnimationOptions options, int duration, |
31 | QEasingCurve &curve) override; |
32 | |
33 | private: |
34 | Q_DECLARE_PUBLIC(QSplineSeries) |
35 | }; |
36 | |
37 | QT_END_NAMESPACE |
38 | |
39 | #endif |
40 |