PeriDyno
1.0.0
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Rendering
GUI
QtGUI
NodeEditor
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
19
QT_FORWARD_DECLARE_CLASS(QGridLayout)
20
21
namespace
Qt
22
{
23
class
QtNodeFlowWidget
:
public
QWidget
24
{
25
Q_OBJECT
26
27
public
:
28
explicit
QtNodeFlowWidget
(QWidget *parent =
nullptr
);
29
~QtNodeFlowWidget
();
30
31
inline
QtNodeFlowScene
*
flowScene
() {
return
node_scene
; }
32
33
signals:
34
35
private
:
36
QGridLayout*
m_MainLayout
;
37
38
QtNodeFlowScene
*
node_scene
=
nullptr
;
39
};
40
}
QtNodeFlowScene.h
Qt::QtNodeFlowScene
Scene holds connections and nodes.
Definition
QtNodeFlowScene.h:16
Qt::QtNodeFlowWidget::flowScene
QtNodeFlowScene * flowScene()
Definition
QtNodeFlowWidget.h:31
Qt::QtNodeFlowWidget::QtNodeFlowWidget
QtNodeFlowWidget(QWidget *parent=nullptr)
Definition
QtNodeFlowWidget.cpp:14
Qt::QtNodeFlowWidget::m_MainLayout
QGridLayout * m_MainLayout
Definition
QtNodeFlowWidget.h:36
Qt::QtNodeFlowWidget::node_scene
QtNodeFlowScene * node_scene
Definition
QtNodeFlowWidget.h:38
Qt::QtNodeFlowWidget::~QtNodeFlowWidget
~QtNodeFlowWidget()
Definition
QtNodeFlowWidget.cpp:41
Qt
Definition
QtFieldData.h:9
Generated by
1.13.2