[gd_scene load_steps=7 format=3 uid="uid://dppmr7ifqt8oa"] [ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="1_oaabl"] [ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="2_xva5j"] [ext_resource type="Script" path="res://UI/psl/psl_window.gd" id="3_xodem"] [ext_resource type="Texture2D" uid="uid://dkohhsnyl7dq8" path="res://Assets/psl/psl背景大.png" id="4_cpydh"] [ext_resource type="PackedScene" uid="uid://ur86pfy4w0so" path="res://UI/psl/key_switch.tscn" id="6_8mvyb"] [ext_resource type="PackedScene" uid="uid://c31r8s27j4dcm" path="res://UI/psl/button_light.tscn" id="7_l5iwy"] [node name="psl" type="Window"] title = "psl操作面板" position = Vector2i(10, 36) size = Vector2i(400, 720) unresizable = true transparent = true theme = ExtResource("1_oaabl") theme_override_fonts/title_font = ExtResource("2_xva5j") script = ExtResource("3_xodem") [node name="Pslll" type="Sprite2D" parent="."] position = Vector2(0.255, 0) scale = Vector2(2.66, 2.865) texture = ExtResource("4_cpydh") [node name="MarginContainer" type="MarginContainer" parent="."] offset_left = 4.0 offset_top = 4.0 offset_right = 436.0 offset_bottom = 1459.0 scale = Vector2(0.7, 0.7) theme_override_constants/margin_left = 45 theme_override_constants/margin_top = 35 [node name="GridContainer" type="GridContainer" parent="MarginContainer"] layout_mode = 2 columns = 3 [node name="PSLAllow" parent="MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")] layout_mode = 2 size_flags_horizontal = 6 keySwitchHasKey = true lightText = "PSL允许指示灯" keyText = "操作允许无效有效" [node name="MarginContainer" type="MarginContainer" parent="MarginContainer/GridContainer"] layout_mode = 2 theme_override_constants/margin_left = 35 theme_override_constants/margin_right = 35 theme_override_constants/margin_bottom = 35 [node name="CloseDoorButton" parent="MarginContainer/GridContainer/MarginContainer" instance=ExtResource("7_l5iwy")] layout_mode = 2 size_flags_horizontal = 6 buttonLightType = 1 lightText = "全部门关闭紧锁指" buttonText = "关门按钮" [node name="OpenDoorButton" parent="MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] layout_mode = 2 size_flags_horizontal = 6 lightText = "开门到位指示灯" buttonText = "开门按钮" [node name="InterlockReleaseSwitch" parent="MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")] layout_mode = 2 size_flags_horizontal = 6 keySwitchHasKey = true lightText = "互锁解除指示灯" keyText = "互锁解除开关" [node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/GridContainer"] layout_mode = 2 theme_override_constants/margin_bottom = 35 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/GridContainer/MarginContainer2"] layout_mode = 2 [node name="IBPHandle" parent="MarginContainer/GridContainer/MarginContainer2/VBoxContainer" instance=ExtResource("6_8mvyb")] layout_mode = 2 size_flags_horizontal = 6 lightText = "IBP操作指示灯" [node name="LightTestButton" parent="MarginContainer/GridContainer/MarginContainer2/VBoxContainer" instance=ExtResource("7_l5iwy")] layout_mode = 2 size_flags_horizontal = 6 buttonLightType = 2 buttonHasLight = false buttonText = "灯测试按钮" [node name="PSTHandle" parent="MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")] layout_mode = 2 size_flags_horizontal = 6 lightText = "PST操作指示灯" [node name="trainDepartsButton" parent="MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] layout_mode = 2 buttonHasLight = false buttonText = "发车按钮" [node name="interconnectedCloseButton" parent="MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] layout_mode = 2 size_flags_horizontal = 6 buttonLightType = 1 buttonHasLight = false buttonText = "联动关门按钮" [node name="interconnectedOpenButton" parent="MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")] layout_mode = 2 buttonHasLight = false buttonText = "联动开门按钮" [connection signal="close_requested" from="." to="." method="_on_close_requested"] [connection signal="clickKeySwitchSignal" from="MarginContainer/GridContainer/PSLAllow" to="." method="onHandleSignal"] [connection signal="clickButtonSignal" from="MarginContainer/GridContainer/MarginContainer/CloseDoorButton" to="." method="onHandleSignal"] [connection signal="clickButtonSignal" from="MarginContainer/GridContainer/OpenDoorButton" to="." method="onHandleSignal"] [connection signal="clickKeySwitchSignal" from="MarginContainer/GridContainer/InterlockReleaseSwitch" to="." method="onHandleSignal"] [connection signal="clickKeySwitchSignal" from="MarginContainer/GridContainer/MarginContainer2/VBoxContainer/IBPHandle" to="." method="onHandleSignal"] [connection signal="clickButtonSignal" from="MarginContainer/GridContainer/MarginContainer2/VBoxContainer/LightTestButton" to="." method="onHandleSignal"] [connection signal="clickKeySwitchSignal" from="MarginContainer/GridContainer/PSTHandle" to="." method="onHandleSignal"] [connection signal="clickButtonSignal" from="MarginContainer/GridContainer/trainDepartsButton" to="." method="onHandleSignal"] [connection signal="clickButtonSignal" from="MarginContainer/GridContainer/interconnectedCloseButton" to="." method="onHandleSignal"] [connection signal="clickButtonSignal" from="MarginContainer/GridContainer/interconnectedOpenButton" to="." method="onHandleSignal"]