blob: 5ec29930aae062a527cc2dcceb5f07f9f94082c2 (
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 BSD-3-Clause
#ifndef SURFACEGRAPH_H
#define SURFACEGRAPH_H
#include <QtCore/qobject.h>
#include <QtDataVisualization/q3dsurface.h>
class SurfaceGraph : public QObject
{
Q_OBJECT
public:
SurfaceGraph();
~SurfaceGraph();
bool initialize(const QSize &minimumGraphSize, const QSize &maximumGraphSize);
QWidget *surfaceWidget() { return m_surfaceWidget; }
private:
Q3DSurface *m_surfaceGraph = nullptr;
QWidget *m_container = nullptr;
QWidget *m_surfaceWidget = nullptr;
};
#endif
|