温湿度传感器更新

现在可以手动更新温湿度了
This commit is contained in:
CortexCore
2023-07-10 00:00:20 +08:00
parent 10c90cee9a
commit 6301e2d3ad
19 changed files with 754 additions and 132 deletions

View File

@@ -11,7 +11,7 @@ grow_vertical = 2
script = ExtResource("1_dre1u")
button = NodePath("HBoxContainer/delete-button")
labels = []
lineEdits = [NodePath("HBoxContainer/name-edit"), NodePath("HBoxContainer/hint-edit")]
lineEdits = [NodePath("HBoxContainer/name-edit"), NodePath("HBoxContainer/hint-edit"), NodePath("HBoxContainer/category-edit")]
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 2
@@ -25,6 +25,7 @@ text = "数据名称:"
custom_minimum_size = Vector2(128, 0)
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "数据格式"
[node name="hint-label" type="Label" parent="HBoxContainer"]
visible = false
@@ -35,6 +36,13 @@ text = "提示:"
custom_minimum_size = Vector2(128, 0)
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "提示或默认值"
[node name="category-edit" type="LineEdit" parent="HBoxContainer"]
custom_minimum_size = Vector2(128, 0)
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "分类,默认为空"
[node name="delete-button" type="Button" parent="HBoxContainer"]
layout_mode = 2