add
This commit is contained in:
parent
924c478b8d
commit
a438dd0938
@ -122,3 +122,11 @@ func _on_update_accept_btn_on_click(_node: Variant) -> void:
|
||||
#当用户点击检查更新时触发
|
||||
func _on_update_button_on_click(_node: Variant) -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
func _on_color_mode_on_click(_node: Variant) -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
func _on_view_mode_on_click(_node: Variant) -> void:
|
||||
pass # Replace with function body.
|
||||
|
@ -425,7 +425,8 @@ theme_override_constants/separation = 0
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 19
|
||||
|
||||
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
[node name="Temperature" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 10
|
||||
theme_override_font_sizes/font_size = 34
|
||||
@ -435,12 +436,14 @@ text = "25℃"
|
||||
custom_minimum_size = Vector2(86.18, 0)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
[node name="Date" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "2024-04-27"
|
||||
|
||||
[node name="Label3" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
[node name="Time" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "00:35:24"
|
||||
@ -462,9 +465,11 @@ layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 33
|
||||
text = "显示模式"
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
[node name="ColorMode" type="TextureRect" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("6_xloj4")
|
||||
script = ExtResource("15_od2fy")
|
||||
is_Scale = true
|
||||
|
||||
[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
@ -475,9 +480,11 @@ layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 33
|
||||
text = "视图切换"
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
[node name="ViewMode" type="TextureRect" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("7_vgc4b")
|
||||
script = ExtResource("15_od2fy")
|
||||
is_Scale = true
|
||||
|
||||
[node name="tab2" type="Control" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 53)
|
||||
@ -738,6 +745,8 @@ layout_mode = 2
|
||||
[connection signal="on_click" from="HBoxContainer/margin/VBoxContainer/GridContainer/Download" to="." method="_on_download_on_click"]
|
||||
[connection signal="on_click" from="HBoxContainer/margin/VBoxContainer/GridContainer/Upload" to="." method="_on_upload_on_click"]
|
||||
[connection signal="Onclick" from="HBoxContainer/margin/VBoxContainer/GridContainer/Upload/uploadTabs" to="." method="_on_upload_tabs_onclick"]
|
||||
[connection signal="on_click" from="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer/ColorMode" to="." method="_on_color_mode_on_click"]
|
||||
[connection signal="on_click" from="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2/ViewMode" to="." method="_on_view_mode_on_click"]
|
||||
[connection signal="Onclick" from="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer/MarginContainer/LanguageTabs" to="." method="_on_language_tabs_onclick"]
|
||||
[connection signal="pressed" from="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WsConnectButton" to="." method="_on_ws_connect_button_pressed"]
|
||||
[connection signal="on_click" from="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer2/UpdateButton" to="." method="_on_update_button_on_click"]
|
||||
|
@ -33,6 +33,6 @@ func _ready() -> void:
|
||||
if !OnClickIsCooling:
|
||||
SelectNode = _node
|
||||
OnClickIsCooling = true
|
||||
Onclick.emit(_node.get_child(0).index)
|
||||
Onclick.emit(_node.get_child(0).get_index())
|
||||
)
|
||||
pass # Replace with function body.
|
||||
|
Loading…
Reference in New Issue
Block a user