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

source code of qtdatavis3d/src/datavisualization/axis/qcategory3daxis.h