PeriDyno
1.2.1
Loading...
Searching...
No Matches
D:
Peridyno
peridyno
src
Rendering
GUI
WtGUI
WNodeGraphics.cpp
Go to the documentation of this file.
1
#include "
WNodeGraphics.h
"
2
3
4
WNodeGraphics::WNodeGraphics
()
5
{
6
layout
= this->setLayout(std::make_unique<Wt::WVBoxLayout>());
7
layout
->setContentsMargins(0, 0, 0, 0);
8
this->setMargin(0);
9
10
// add node
11
addPanel
=
layout
->addWidget(std::make_unique<Wt::WPanel>());
12
addPanel
->setTitle(
"Add Node"
);
13
addPanel
->setCollapsible(
false
);
14
15
// node graphics
16
nodePanel
=
layout
->addWidget(std::make_unique<Wt::WPanel>());
17
nodePanel
->setTitleBar(
false
);
18
nodePanel
->setCollapsible(
false
);
19
nodePanel
->setMargin(0);
20
}
21
22
WNodeGraphics::~WNodeGraphics
() {}
WNodeGraphics.h
WNodeGraphics::layout
Wt::WVBoxLayout * layout
Definition
WNodeGraphics.h:18
WNodeGraphics::~WNodeGraphics
~WNodeGraphics()
Definition
WNodeGraphics.cpp:22
WNodeGraphics::WNodeGraphics
WNodeGraphics()
Definition
WNodeGraphics.cpp:4
WNodeGraphics::nodePanel
Wt::WPanel * nodePanel
Definition
WNodeGraphics.h:20
WNodeGraphics::addPanel
Wt::WPanel * addPanel
Definition
WNodeGraphics.h:19
Generated by
1.13.2