Revision control
+ // Copyright (C) 2023 The Qt Company Ltd.
+ // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+ #ifndef SCATTERGRAPH_H
+ #define SCATTERGRAPH_H
+
+ #include <QtCore/qobject.h>
+ #include <QtDataVisualization/q3dscatter.h>
+
+ class ScatterGraph : public QObject
+ {
+ Q_OBJECT
+ public:
+ explicit ScatterGraph();
+ ~ScatterGraph();
+
+ bool initialize();
+ QWidget *scatterWidget() { return m_scatterWidget; }
+
+ private:
+ Q3DScatter *m_scatterGraph = nullptr;
+ QWidget *m_container = nullptr;
+ QWidget *m_scatterWidget = nullptr;
+ };
+
+ #endif