1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the QtDataVisualization API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13
14#ifndef QCATEGORY3DAXIS_P_H
15#define QCATEGORY3DAXIS_P_H
16
17#include "qcategory3daxis.h"
18#include "qabstract3daxis_p.h"
19
20QT_BEGIN_NAMESPACE
21
22class QCategory3DAxisPrivate : public QAbstract3DAxisPrivate
23{
24 Q_OBJECT
25
26public:
27 QCategory3DAxisPrivate(QCategory3DAxis *q);
28 virtual ~QCategory3DAxisPrivate();
29
30 void setDataLabels(const QStringList &labels);
31
32protected:
33 bool allowZero() override;
34 bool allowNegatives() override;
35 bool allowMinMaxSame() override;
36
37private:
38 QCategory3DAxis *qptr();
39
40 bool m_labelsExplicitlySet;
41 friend class QCategory3DAxis;
42};
43
44QT_END_NAMESPACE
45
46#endif
47

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