| 1 | // Copyright (C) 2024 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 Graphs 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 QAREASERIES_P_H | 
| 14 | #define QAREASERIES_P_H | 
| 15 |  | 
| 16 | #include <QtGraphs/qareaseries.h> | 
| 17 | #include <private/qabstractseries_p.h> | 
| 18 |  | 
| 19 | QT_BEGIN_NAMESPACE | 
| 20 |  | 
| 21 | class QAreaSeriesPrivate : public QAbstractSeriesPrivate | 
| 22 | { | 
| 23 | public: | 
| 24 |     QAreaSeriesPrivate(); | 
| 25 |  | 
| 26 | protected: | 
| 27 |     QColor m_color = QColor(Qt::transparent); | 
| 28 |     QColor m_selectedColor = QColor(Qt::transparent); | 
| 29 |     QColor m_borderColor = QColor(Qt::transparent); | 
| 30 |     QColor m_selectedBorderColor = QColor(Qt::transparent); | 
| 31 |     qreal m_borderWidth = -1.0; | 
| 32 |     bool m_selected = false; | 
| 33 |     QXYSeries *m_upperSeries = nullptr; | 
| 34 |     QXYSeries *m_lowerSeries = nullptr; | 
| 35 |  | 
| 36 | private: | 
| 37 |     Q_DECLARE_PUBLIC(QAreaSeries) | 
| 38 | }; | 
| 39 |  | 
| 40 | QT_END_NAMESPACE | 
| 41 |  | 
| 42 | #endif | 
| 43 |  |