PeriDyno 1.2.1
Loading...
Searching...
No Matches
WModuleGraphics.cpp
Go to the documentation of this file.
1#include "WModuleGraphics.h"
2
3
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 modulePanel = layout->addWidget(std::make_unique<Wt::WPanel>());
17 modulePanel->setTitleBar(false);
18 modulePanel->setCollapsible(false);
19 modulePanel->setMargin(0);
20}
21
Wt::WVBoxLayout * layout
Wt::WPanel * modulePanel
Wt::WPanel * addPanel