diff --git a/PRD_MP550.tscn b/PRD_MP550.tscn index 193ec06..5bacb4a 100644 --- a/PRD_MP550.tscn +++ b/PRD_MP550.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=73 format=3 uid="uid://cvor2jm4xk3ha"] +[gd_scene load_steps=77 format=3 uid="uid://cvor2jm4xk3ha"] [ext_resource type="Script" path="res://scripts/PRD.gd" id="1_v273n"] [ext_resource type="Texture2D" uid="uid://cdxdluvyb5uei" path="res://table/on.png" id="2_dv7xx"] @@ -27,7 +27,11 @@ [ext_resource type="Texture2D" uid="uid://b8jfjs7qh10wh" path="res://pictures/фс.png" id="13_xdqnq"] [ext_resource type="Texture2D" uid="uid://c8gfddmqnws7v" path="res://pictures/фс_pressed.png" id="14_0dei1"] [ext_resource type="Script" path="res://scripts/modul_fs.gd" id="15_b4pr1"] +[ext_resource type="Texture2D" uid="uid://cyuv78v6vem55" path="res://pictures/сохр.png" id="15_bpwqh"] [ext_resource type="Shader" path="res://Shaders/loadead.gdshader" id="16_4osrw"] +[ext_resource type="Texture2D" uid="uid://bk2cbbj31mq2x" path="res://pictures/сохр_pressed.png" id="16_55rvl"] +[ext_resource type="Texture2D" uid="uid://c12e2lcqf6r3o" path="res://pictures/загр.png" id="17_uy706"] +[ext_resource type="Texture2D" uid="uid://gjqcmfxb4vo4" path="res://pictures/загр_pressed.png" id="18_iu14f"] [ext_resource type="Shader" path="res://Shaders/ray_litera_1.gdshader" id="20_do1s5"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o0too"] @@ -361,6 +365,7 @@ offset_left = 188.0 offset_top = 28.0 offset_right = 220.0 offset_bottom = 60.0 +tooltip_text = "свернуть/развернуть боковую панель" mouse_default_cursor_shape = 2 toggle_mode = true texture_normal = ExtResource("6_bqc7t") @@ -399,6 +404,7 @@ offset_left = -155.0 offset_top = 184.0 offset_right = -115.0 offset_bottom = 224.0 +tooltip_text = "Старт контроля прибора" mouse_default_cursor_shape = 2 toggle_mode = true texture_normal = ExtResource("8_qqoau") @@ -433,6 +439,32 @@ texture_pressed = ExtResource("8_iuer1") ignore_texture_size = true stretch_mode = 0 +[node name="texture_save_config" type="TextureButton" parent="Background/switch_panel" groups=["burger_gr"]] +self_modulate = Color(1, 1, 0.941, 0.85) +offset_left = -155.0 +offset_top = 824.0 +offset_right = -115.0 +offset_bottom = 864.0 +tooltip_text = "Сохранить текущие настройки ЭМС-Г" +mouse_default_cursor_shape = 2 +texture_normal = ExtResource("15_bpwqh") +texture_pressed = ExtResource("16_55rvl") +ignore_texture_size = true +stretch_mode = 0 + +[node name="texture_load_config" type="TextureButton" parent="Background/switch_panel" groups=["burger_gr"]] +self_modulate = Color(1, 1, 0.941, 0.85) +offset_left = -155.0 +offset_top = 880.0 +offset_right = -115.0 +offset_bottom = 920.0 +tooltip_text = "Загрузить настройки для ЭМС-Г" +mouse_default_cursor_shape = 2 +texture_normal = ExtResource("17_uy706") +texture_pressed = ExtResource("18_iu14f") +ignore_texture_size = true +stretch_mode = 0 + [node name="notice" type="GridContainer" parent="Background"] layout_mode = 0 offset_left = 280.0 @@ -1349,6 +1381,8 @@ metadata/_edit_lock_ = true [connection signal="pressed" from="Background/switch_panel/texture_control" to="." method="_on_control_button"] [connection signal="pressed" from="Background/switch_panel/texture_ems_g" to="." method="_on_emsg_select"] [connection signal="pressed" from="Background/switch_panel/texture_fs" to="." method="_on_mfs_select"] +[connection signal="pressed" from="Background/switch_panel/texture_save_config" to="." method="_on_save_config"] +[connection signal="pressed" from="Background/switch_panel/texture_load_config" to="." method="_load_selected_file"] [connection signal="pressed" from="TabContainer/PRD/Connect_prd" to="." method="_on_connect_prd_pressed"] [connection signal="pressed" from="TabContainer/Modul_fs/manage_panel/con" to="TabContainer/Modul_fs" method="_on_start"] [connection signal="text_submitted" from="TabContainer/Modul_fs/manage_panel/addres_fs" to="TabContainer/Modul_fs" method="_on_addres_fs"]