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 QBAR3DSERIES_P_H
15#define QBAR3DSERIES_P_H
16
17#include "qbar3dseries.h"
18#include "qabstract3dseries_p.h"
19
20QT_BEGIN_NAMESPACE
21
22class QBar3DSeriesPrivate : public QAbstract3DSeriesPrivate
23{
24 Q_DECLARE_PUBLIC(QBar3DSeries)
25
26public:
27 QBar3DSeriesPrivate(QBar3DSeries *q);
28 virtual ~QBar3DSeriesPrivate();
29
30 void setDataProxy(QAbstractDataProxy *proxy) override;
31 void connectControllerAndProxy(Abstract3DController *newController) override;
32 void createItemLabel() override;
33
34 void setSelectedBar(const QPoint &position);
35
36 void setRowColors(const QList<QColor> &colors);
37
38private:
39 QPoint m_selectedBar;
40 QList<QColor> m_rowColors;
41
42 friend class QQuickGraphsBars;
43};
44
45QT_END_NAMESPACE
46
47#endif
48

source code of qtgraphs/src/graphs/data/qbar3dseries_p.h