blob: 278a190009c9215aede8acdaf47c3bb839258c7a (
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
|
#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();
};
|