#pragma once #include #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 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(); };