File: surfacegraphwidget.h

package info (click to toggle)
qt6-graphs 6.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,124 kB
  • sloc: cpp: 65,200; javascript: 204; makefile: 23
file content (25 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (3)
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 SURFACEGRAPHWIDGET_H
#define SURFACEGRAPHWIDGET_H

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

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

    SurfaceGraphWidget();
    ~SurfaceGraphWidget() override;

    void initialize();
    Q3DSurfaceWidgetItem *surfaceGraph() const;

private:
    Q3DSurfaceWidgetItem *m_surfaceGraph = nullptr;
};

#endif // SURFACEGRAPHWIDGET_H