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 QSURFACE3DSERIES_P_H
15#define QSURFACE3DSERIES_P_H
16
17#include "qsurface3dseries.h"
18#include "qabstract3dseries_p.h"
19
20QT_BEGIN_NAMESPACE
21
22class QSurface3DSeriesPrivate : public QAbstract3DSeriesPrivate
23{
24 Q_DECLARE_PUBLIC(QSurface3DSeries)
25
26public:
27 QSurface3DSeriesPrivate(QSurface3DSeries *q);
28 virtual ~QSurface3DSeriesPrivate();
29
30 void setDataProxy(QAbstractDataProxy *proxy) override;
31 void connectControllerAndProxy(Abstract3DController *newController) override;
32 void createItemLabel() override;
33
34 void setSelectedPoint(const QPoint &position);
35 void setFlatShadingEnabled(bool enabled);
36 void setDrawMode(QSurface3DSeries::DrawFlags mode);
37 void setTexture(const QImage &texture);
38 void setWireframeColor(const QColor &color);
39
40private:
41 QPoint m_selectedPoint;
42 bool m_flatShadingEnabled;
43 QSurface3DSeries::DrawFlags m_drawMode;
44 QImage m_texture;
45 QString m_textureFile;
46 QColor m_wireframeColor;
47};
48
49QT_END_NAMESPACE
50
51#endif
52

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