PeriDyno 1.0.0
Loading...
Searching...
No Matches
QtNodeFlowWidget.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Scene Flow Widget
4 Module: PSceneFlowWidget.h
5
6 Copyright (c) Xiaowei He
7 All rights reserved.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12=========================================================================*/
13#pragma once
14
15#include <QWidget>
16
17#include "QtNodeFlowScene.h"
18
19QT_FORWARD_DECLARE_CLASS(QGridLayout)
20
21namespace Qt
22{
23 class QtNodeFlowWidget : public QWidget
24 {
25 Q_OBJECT
26
27 public:
28 explicit QtNodeFlowWidget(QWidget *parent = nullptr);
30
31 inline QtNodeFlowScene* flowScene() { return node_scene; }
32
33 signals:
34
35 private:
36 QGridLayout* m_MainLayout;
37
39 };
40}
Scene holds connections and nodes.
QtNodeFlowScene * flowScene()
QtNodeFlowWidget(QWidget *parent=nullptr)
QGridLayout * m_MainLayout
QtNodeFlowScene * node_scene