1 | // Copyright (C) 2016 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 <QtDataVisualization/qabstract3daxis.h> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | class QCategory3DAxisPrivate; |
12 | |
13 | class Q_DATAVISUALIZATION_EXPORT QCategory3DAxis : public QAbstract3DAxis |
14 | { |
15 | Q_OBJECT |
16 | Q_PROPERTY(QStringList labels READ labels WRITE setLabels NOTIFY labelsChanged) |
17 | |
18 | public: |
19 | explicit QCategory3DAxis(QObject *parent = nullptr); |
20 | virtual ~QCategory3DAxis(); |
21 | |
22 | void setLabels(const QStringList &labels); |
23 | QStringList labels() const; |
24 | |
25 | Q_SIGNALS: |
26 | void labelsChanged(); |
27 | |
28 | protected: |
29 | QCategory3DAxisPrivate *dptr(); |
30 | |
31 | private: |
32 | Q_DISABLE_COPY(QCategory3DAxis) |
33 | friend class Bars3DController; |
34 | }; |
35 | |
36 | QT_END_NAMESPACE |
37 | |
38 | #endif |
39 |