aboutsummaryrefslogtreecommitdiff
path: root/confui/ui_tab_node_overview.h
blob: dc4a951f3f455e669a318f6491962571caa74f0e (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
#pragma once

#include <QMainWindow>

#include "mainwindow.h"
#include "ui_node.h"
#include "ui_scroll_container.h"

/** @brief node overview tab content widget */
class CDNodeOverviewTabWidget : public QWidget {
	Q_OBJECT

private:
	CDScrollContainerLayout* main_layout;
	map<cd_uid_t, CDNodeWidget*> node_widgets;

public:
	CDMainWindow *mainwindow = nullptr;
	
	CDNodeOverviewTabWidget(CDMainWindow *main_window = nullptr);
	virtual ~CDNodeOverviewTabWidget();
	/** @brief cascading ui update (add/remove/update nodes in scrolling view) */
	virtual void update();
};