1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QCANDLESTICKLEGENDMARKER_H |
5 | #define QCANDLESTICKLEGENDMARKER_H |
6 | |
7 | #include <QtCharts/QCandlestickSeries> |
8 | #include <QtCharts/QLegendMarker> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | class QCandlestickLegendMarkerPrivate; |
13 | |
14 | class Q_CHARTS_EXPORT QCandlestickLegendMarker : public QLegendMarker |
15 | { |
16 | Q_OBJECT |
17 | |
18 | public: |
19 | explicit QCandlestickLegendMarker(QCandlestickSeries *series, QLegend *legend, |
20 | QObject *parent = nullptr); |
21 | virtual ~QCandlestickLegendMarker(); |
22 | |
23 | LegendMarkerType type() override; |
24 | |
25 | // Related series |
26 | QCandlestickSeries* series() override; |
27 | |
28 | private: |
29 | Q_DECLARE_PRIVATE(QCandlestickLegendMarker) |
30 | Q_DISABLE_COPY(QCandlestickLegendMarker) |
31 | }; |
32 | |
33 | QT_END_NAMESPACE |
34 | |
35 | #endif // QCANDLESTICKLEGENDMARKER_H |
36 |