summaryrefslogtreecommitdiffstats
path: root/examples/graphs/3d/widgetgraphgallery/scattergraphwidget.h
blob: 4ed33ad48096886206fec73a66f16ad3bd14f3c5 (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
// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef SCATTERGRAPHWIDGET_H
#define SCATTERGRAPHWIDGET_H

#include <QtGraphsWidgets/q3dscatterwidgetitem.h>
#include <QtQuickWidgets/qquickwidget.h>

class ScatterGraphWidget : public QQuickWidget
{
    Q_OBJECT
public:
    Q_DISABLE_COPY_MOVE(ScatterGraphWidget)

    ScatterGraphWidget();
    ~ScatterGraphWidget();
    void initialize();

    Q3DScatterWidgetItem *scatterGraph() const;

private:
    Q3DScatterWidgetItem *m_scatterGraph = nullptr;
};

#endif // SCATTERGRAPHWIDGET_H