aboutsummaryrefslogtreecommitdiff
path: root/confui/ui_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'confui/ui_node.h')
-rw-r--r--confui/ui_node.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/confui/ui_node.h b/confui/ui_node.h
index c37f373..f5fdbbd 100644
--- a/confui/ui_node.h
+++ b/confui/ui_node.h
@@ -1,6 +1,11 @@
#pragma once
#include <QWidget>
+#include <QLabel>
+#include <QHBoxLayout>
+#include <QCheckBox>
+#include <QPushButton>
+#include <QString>
#include "mesh_connector.h"
@@ -10,7 +15,17 @@ class CDNodeWidget : public QWidget {
private:
cd_s_node* _node;
+ QHBoxLayout* main_layout;
+ QHBoxLayout* float_left;
+ QHBoxLayout* float_right;
+ QLabel* label_node_name;
+ QLabel* label_node_address;
+ QCheckBox* switch_on_off;
+ QPushButton* button_add_remove;
+
public:
CDNodeWidget(cd_s_node* node, QWidget *parent = nullptr);
virtual ~CDNodeWidget();
+ virtual void update();
+ virtual void set_node(cd_s_node* node);
};