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 QBOXPLOTLEGENDMARKER_P_H |
14 | #define QBOXPLOTLEGENDMARKER_P_H |
15 | |
16 | #include <QtCharts/QChartGlobal> |
17 | #include <private/qlegendmarker_p.h> |
18 | #include <private/legendmarkeritem_p.h> |
19 | #include <QtCharts/QBoxPlotSeries> |
20 | #include <QtCharts/private/qchartglobal_p.h> |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | |
24 | class QBoxPlotLegendMarker; |
25 | |
26 | class Q_CHARTS_PRIVATE_EXPORT QBoxPlotLegendMarkerPrivate : public QLegendMarkerPrivate |
27 | { |
28 | Q_OBJECT |
29 | public: |
30 | explicit QBoxPlotLegendMarkerPrivate(QBoxPlotLegendMarker *q, QBoxPlotSeries *series, QLegend *legend); |
31 | virtual ~QBoxPlotLegendMarkerPrivate(); |
32 | |
33 | QAbstractSeries *series() override; |
34 | QObject *relatedObject() override; |
35 | |
36 | public Q_SLOTS: |
37 | void updated() override; |
38 | |
39 | private: |
40 | QBoxPlotLegendMarker *q_ptr; |
41 | QBoxPlotSeries *m_series; |
42 | |
43 | Q_DECLARE_PUBLIC(QBoxPlotLegendMarker) |
44 | }; |
45 | |
46 | QT_END_NAMESPACE |
47 | |
48 | #endif // QBOXPLOTLEGENDMARKER_P_H |
49 |