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 POLARCHARTVALUEAXISANGULAR_P_H
14#define POLARCHARTVALUEAXISANGULAR_P_H
15
16#include <private/polarchartaxisangular_p.h>
17#include <QtCharts/QValueAxis>
18#include <QtCharts/private/qchartglobal_p.h>
19
20QT_BEGIN_NAMESPACE
21
22class QValueAxis;
23
24class Q_CHARTS_PRIVATE_EXPORT PolarChartValueAxisAngular : public PolarChartAxisAngular
25{
26 Q_OBJECT
27public:
28 PolarChartValueAxisAngular(QValueAxis *axis, QGraphicsItem *item);
29 ~PolarChartValueAxisAngular();
30
31 QList<qreal> calculateLayout() const override;
32 void createAxisLabels(const QList<qreal> &layout) override;
33
34private Q_SLOTS:
35 void handleTickCountChanged(int tick);
36 void handleMinorTickCountChanged(int tick);
37 void handleLabelFormatChanged(const QString &format);
38};
39
40QT_END_NAMESPACE
41
42#endif // POLARCHARTVALUEAXISANGULAR_P_H
43

source code of qtcharts/src/charts/axis/valueaxis/polarchartvalueaxisangular_p.h