1 | // Copyright (C) 2023 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QCATEGORY3DAXIS_H |
5 | #define QCATEGORY3DAXIS_H |
6 | |
7 | #include <QtGraphs/qabstract3daxis.h> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | class QCategory3DAxisPrivate; |
12 | |
13 | class Q_GRAPHS_EXPORT QCategory3DAxis : public QAbstract3DAxis |
14 | { |
15 | Q_OBJECT |
16 | Q_DECLARE_PRIVATE(QCategory3DAxis) |
17 | Q_PROPERTY(QStringList labels READ labels WRITE setLabels NOTIFY labelsChanged) |
18 | |
19 | public: |
20 | explicit QCategory3DAxis(QObject *parent = nullptr); |
21 | virtual ~QCategory3DAxis(); |
22 | |
23 | void setLabels(const QStringList &labels); |
24 | QStringList labels() const; |
25 | |
26 | private: |
27 | Q_DISABLE_COPY(QCategory3DAxis) |
28 | |
29 | friend class Bars3DController; |
30 | friend class Abstract3DController; |
31 | }; |
32 | |
33 | QT_END_NAMESPACE |
34 | |
35 | #endif |
36 |