aboutsummaryrefslogtreecommitdiff
path: root/confui/ui_tab_node_overview.cpp
blob: 44ef7882729022d075a1c3883e493e0bdb8af353 (plain)
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
#include <QWidget>
#include <QLabel>
#include <QVBoxLayout>
#include <QScrollArea>

#include "ui_tab_node_overview.h"
#include "ui_node.h"

CDNodeOverviewTabWidget::~CDNodeOverviewTabWidget() {  }
CDNodeOverviewTabWidget::CDNodeOverviewTabWidget(CDMainWindow* main_window) : QWidget(main_window) {
	this->mainwindow = main_window;
	main_layout = new CDScrollContainerLayout(this);

	vector<cd_s_node*> nodes = this->mainwindow->mesh_connector->get_nodes();
	CDNodeWidget* nd_w = new CDNodeWidget(nodes[0], this);

	main_layout->addWidget(nd_w);

	update();
	setLayout(main_layout);
}

void CDNodeOverviewTabWidget::update() {

}