Необходима доработка с ПРД-К

This commit is contained in:
Maxim
2025-07-09 22:30:17 +03:00
parent 3242b70078
commit 19af5eafdd
4 changed files with 82 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=75 format=3 uid="uid://cvor2jm4xk3ha"]
[gd_scene load_steps=80 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"]
@@ -177,6 +177,16 @@ corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4bi66"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_f7trn"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wydcf"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6bubr"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_o3x62"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tn8m6"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_07wue"]
@@ -767,6 +777,22 @@ theme_override_styles/normal = SubResource("StyleBoxFlat_eleyh")
text = "Подключение"
metadata/_edit_lock_ = true
[node name="ems_block" type="CheckButton" parent="TabContainer/PRD"]
layout_mode = 0
offset_left = 272.0
offset_top = 568.0
offset_right = 635.0
offset_bottom = 594.0
tooltip_text = "Упрелвение блокировкой ЭМС для модуляции УМ"
mouse_default_cursor_shape = 2
theme_override_styles/focus = SubResource("StyleBoxEmpty_4bi66")
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_f7trn")
theme_override_styles/hover = SubResource("StyleBoxEmpty_wydcf")
theme_override_styles/pressed = SubResource("StyleBoxEmpty_6bubr")
theme_override_styles/normal = SubResource("StyleBoxEmpty_o3x62")
text = "Управление блокировкой выходов ЭМС "
metadata/_edit_lock_ = true
[node name="ControlPanel" type="Panel" parent="TabContainer"]
visible = false
layout_mode = 2
@@ -1365,3 +1391,4 @@ metadata/_edit_lock_ = true
[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="_on_load_config"]
[connection signal="pressed" from="TabContainer/PRD/Connect_prd" to="." method="_on_connect_prd_pressed"]
[connection signal="toggled" from="TabContainer/PRD/ems_block" to="." method="on_ems_block"]