110 lines
4.2 KiB
Plaintext
110 lines
4.2 KiB
Plaintext
[gd_scene load_steps=8 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"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1w22c"]
|
|
|
|
[node name="psl" type="Window"]
|
|
title = "psl操作面板"
|
|
position = Vector2i(10, 36)
|
|
size = Vector2i(450, 950)
|
|
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="PanelContainer" type="PanelContainer" parent="."]
|
|
offset_left = 4.0
|
|
offset_top = 4.0
|
|
offset_right = 436.0
|
|
offset_bottom = 1103.0
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_1w22c")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 35
|
|
theme_override_constants/margin_top = 35
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="PanelContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
columns = 3
|
|
|
|
[node name="PSLAllow" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
keySwitchHasKey = true
|
|
lightText = "PSL允许指示灯"
|
|
keyText = "操作允许无效有效"
|
|
|
|
[node name="CloseDoorButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
buttonLightType = 1
|
|
lightText = "全部门关闭紧锁指"
|
|
buttonText = "关门按钮"
|
|
|
|
[node name="OpenDoorButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
lightText = "开门到位指示灯"
|
|
buttonText = "开门按钮"
|
|
|
|
[node name="InterlockReleaseSwitch" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
keySwitchHasKey = true
|
|
lightText = "互锁解除指示灯"
|
|
keyText = "互锁解除开关"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="IBPHandle" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer/VBoxContainer" instance=ExtResource("6_8mvyb")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
lightText = "IBP操作指示灯"
|
|
|
|
[node name="LightTestButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer/VBoxContainer" instance=ExtResource("7_l5iwy")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
buttonLightType = 2
|
|
buttonHasLight = false
|
|
buttonText = "灯测试按钮"
|
|
|
|
[node name="PSTHandle" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("6_8mvyb")]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 6
|
|
lightText = "PST操作指示灯"
|
|
|
|
[node name="trainDepartsButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
|
|
layout_mode = 2
|
|
buttonHasLight = false
|
|
buttonText = "发车按钮"
|
|
|
|
[node name="interconnectedCloseButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
|
|
layout_mode = 2
|
|
buttonLightType = 1
|
|
buttonHasLight = false
|
|
buttonText = "联动关门按钮"
|
|
|
|
[node name="interconnectedOpenButton" parent="PanelContainer/VBoxContainer/MarginContainer/GridContainer" instance=ExtResource("7_l5iwy")]
|
|
layout_mode = 2
|
|
buttonHasLight = false
|
|
buttonText = "联动开门按钮"
|
|
|
|
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
|