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

source code of qtcharts/src/charts/legend/qcandlesticklegendmarker_p.h