2023-03-02 13:45:23 +00:00
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
2023-05-09 07:38:04 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2023-03-02 13:45:23 +00:00
|
|
|
|
|
|
|
|
#ifndef SCATTERGRAPH_H
|
|
|
|
|
#define SCATTERGRAPH_H
|
|
|
|
|
|
|
|
|
|
#include <QtCore/qobject.h>
|
|
|
|
|
#include <QtGraphs/q3dscatter.h>
|
2023-04-04 10:37:19 +00:00
|
|
|
#include "scatterdatamodifier.h"
|
2023-03-02 13:45:23 +00:00
|
|
|
|
|
|
|
|
class ScatterGraph : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
ScatterGraph();
|
|
|
|
|
|
|
|
|
|
void initialize();
|
|
|
|
|
QWidget *scatterWidget() { return m_scatterWidget; }
|
|
|
|
|
|
|
|
|
|
private:
|
2023-04-04 10:37:19 +00:00
|
|
|
ScatterDataModifier *m_modifier = nullptr;
|
2023-03-02 13:45:23 +00:00
|
|
|
Q3DScatter *m_scatterGraph = nullptr;
|
|
|
|
|
QWidget *m_scatterWidget = nullptr;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|