1// Copyright (C) 2023 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 QtGraphs 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_DECLARE_PUBLIC(QCategory3DAxis)
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 bool m_labelsExplicitlySet;
39};
40
41QT_END_NAMESPACE
42
43#endif
44

source code of qtgraphs/src/graphs/axis/qcategory3daxis_p.h