| 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 VERTICALAXIS_P_H | 
| 14 | #define VERTICALAXIS_P_H | 
| 15 |  | 
| 16 | #include <private/cartesianchartaxis_p.h> | 
| 17 | #include <QtCharts/private/qchartglobal_p.h> | 
| 18 |  | 
| 19 | QT_BEGIN_NAMESPACE | 
| 20 |  | 
| 21 | class Q_CHARTS_EXPORT VerticalAxis : public CartesianChartAxis | 
| 22 | { | 
| 23 | public: | 
| 24 |     VerticalAxis(QAbstractAxis *axis, QGraphicsItem *item = nullptr, bool intervalAxis = false); | 
| 25 |     ~VerticalAxis(); | 
| 26 |  | 
| 27 |     QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const override; | 
| 28 |  | 
| 29 | protected: | 
| 30 |     void updateGeometry() override; | 
| 31 |  | 
| 32 | private: | 
| 33 |     void updateMinorTickGeometry(); | 
| 34 | }; | 
| 35 |  | 
| 36 | QT_END_NAMESPACE | 
| 37 |  | 
| 38 | #endif // VERTICALAXIS_P_H | 
| 39 |  |