[gd_scene load_steps=3 format=3 uid="uid://bnptm4rlp60dq"]

[ext_resource type="Script" path="res://scenes/настройки/настройки.gd" id="1_2l3rd"]

[sub_resource type="GDScript" id="GDScript_anjmx"]
script/source = "extends LineEdit

func _ready() -> void: text = ProjectSettings.get('application/config/map_server_addr')


func _on_text_changed(new_text: String) -> void:
    ProjectSettings.set('application/config/map_server_addr', new_text)
    ProjectSettings.save_custom('override.cfg')
"

[node name="Настройки" type="Panel"]
script = ExtResource("1_2l3rd")

[node name="GridContainer" type="GridContainer" parent="."]
layout_mode = 0
offset_left = 44.0
offset_top = 87.0
offset_right = 336.0
offset_bottom = 193.0
columns = 2

[node name="Label" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Элемент"
vertical_alignment = 1

[node name="Label2" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Показывать"
horizontal_alignment = 1
vertical_alignment = 1

[node name="Label4" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «ПД-M4»"
vertical_alignment = 1

[node name="CheckButton" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label5" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «ПД-M2»"
vertical_alignment = 1

[node name="CheckButton3" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label6" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «ОЗП-1»"
vertical_alignment = 1

[node name="CheckButton5" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label7" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «МЧМ-1»"
vertical_alignment = 1

[node name="CheckButton6" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label8" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «СРН-И1»"
vertical_alignment = 1

[node name="CheckButton7" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label9" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «СРН-М2»"
vertical_alignment = 1

[node name="CheckButton8" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label10" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «ЛЧМ-1»"
vertical_alignment = 1

[node name="CheckButton9" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label11" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «ПД-М4С»"
vertical_alignment = 1

[node name="CheckButton10" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label12" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «ПД-ЧМ»"
vertical_alignment = 1

[node name="CheckButton11" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label13" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «СВ-И1»"
vertical_alignment = 1

[node name="CheckButton12" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label14" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «К1»"
vertical_alignment = 1

[node name="CheckButton13" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label15" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «СВ-М2»"
vertical_alignment = 1

[node name="CheckButton14" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label16" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «СРН»"
vertical_alignment = 1

[node name="CheckButton15" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label17" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «JTIDS»"
vertical_alignment = 1

[node name="CheckButton16" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label18" type="Label" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Кнопка «КУПД»"
vertical_alignment = 1

[node name="CheckButton17" type="CheckButton" parent="GridContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 6
button_pressed = true

[node name="Label1" type="Label" parent="."]
layout_mode = 0
offset_left = 16.0
offset_top = 60.0
offset_right = 434.0
offset_bottom = 82.0
text = "Управление элементами в режиме с ограниченным доступом"

[node name="Label2" type="Label" parent="."]
layout_mode = 0
offset_left = 16.0
offset_top = 27.0
offset_right = 445.0
offset_bottom = 49.0
text = "Текущий режим доступа: полный"

[node name="edt_mapaddr" type="LineEdit" parent="."]
layout_mode = 0
offset_left = 477.0
offset_top = 85.0
offset_right = 849.0
offset_bottom = 112.0
script = SubResource("GDScript_anjmx")

[node name="Label" type="Label" parent="edt_mapaddr"]
layout_mode = 0
offset_top = -30.0
offset_right = 372.0
offset_bottom = -8.0
text = "Адрес сервера карт"
horizontal_alignment = 1
vertical_alignment = 1

[connection signal="text_changed" from="edt_mapaddr" to="edt_mapaddr" method="_on_text_changed"]
