blob: 6e34082d51b3f87390eeb13260c7288ca45bead7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// 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
|