aboutsummaryrefslogtreecommitdiff
path: root/confui/ui_node.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-12-09 17:02:38 +0100
committerlonkaars <loek@pipeframe.xyz>2022-12-09 17:02:38 +0100
commit9c3224b0474675195b53b4d58b27a854f405c3f4 (patch)
tree85cbbaeb1ec9167fee0b9e72bcad5ec3946f336e /confui/ui_node.h
parent2eadbbd85105ad1199c43c72f551ddd69538e994 (diff)
automation widget updates automation
Diffstat (limited to 'confui/ui_node.h')
-rw-r--r--confui/ui_node.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/confui/ui_node.h b/confui/ui_node.h
index 9e12b60..615921b 100644
--- a/confui/ui_node.h
+++ b/confui/ui_node.h
@@ -14,6 +14,7 @@ class CDNodeWidget : public QWidget {
private:
cd_s_node* _node = nullptr;
+ cd_uid_t _id;
QHBoxLayout* main_layout;
QLabel* label_node_name;
@@ -25,7 +26,7 @@ public:
CDNodeWidget(QWidget *parent = nullptr);
virtual ~CDNodeWidget();
virtual void update();
- virtual void set_node(cd_s_node* node);
+ virtual void set_node(cd_uid_t id);
virtual void toggle_provision();
virtual void update_led(bool on);
};