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