godot-psd-training/UI/station_keys/station_keys_window.tscn
joylink_zhaoerwei 8245335ed8 补充音效
2024-05-15 13:44:54 +08:00

91 lines
4.5 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://d167och8l6jms"]
[ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="1_gct42"]
[ext_resource type="PackedScene" uid="uid://dnmfwdvba6td3" path="res://UI/station_keys/psl_key_control.tscn" id="1_pwbsc"]
[ext_resource type="PackedScene" uid="uid://cjjs2fsw6i8ye" path="res://UI/station_keys/sdjs_key_control.tscn" id="1_wmags"]
[ext_resource type="Script" path="res://UI/station_keys/station_keys_window.gd" id="1_x7tnv"]
[ext_resource type="PackedScene" uid="uid://bsr40ogx2e2ir" path="res://UI/station_keys/jjtc_key_control.tscn" id="2_cndsv"]
[ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="2_mlqh2"]
[ext_resource type="PackedScene" uid="uid://biwdpy5pifxgi" path="res://UI/station_keys/lcb_key_control.tscn" id="2_xelwb"]
[ext_resource type="PackedScene" uid="uid://blixp06e6vnoe" path="res://UI/station_keys/hsjc_key_control.tscn" id="9_q6qly"]
[ext_resource type="AudioStream" uid="uid://di5nwer0mdafr" path="res://Assets/music/箭头提示音.mp3" id="10_cspe3"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1w22c"]
[node name="Window" type="Window"]
title = "请选择钥匙"
position = Vector2i(10, 36)
size = Vector2i(528, 406)
wrap_controls = true
unresizable = true
transparent = true
theme = ExtResource("1_gct42")
theme_override_fonts/title_font = ExtResource("2_mlqh2")
script = ExtResource("1_x7tnv")
[node name="PanelContainer" type="PanelContainer" parent="."]
offset_left = 4.0
offset_top = 4.0
offset_right = 528.0
offset_bottom = 406.0
theme_override_styles/panel = SubResource("StyleBoxEmpty_1w22c")
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="GridContainer" type="GridContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
columns = 4
[node name="LCB_Key1" parent="PanelContainer/VBoxContainer/GridContainer" instance=ExtResource("2_xelwb")]
layout_mode = 2
[node name="LCB_Key2" parent="PanelContainer/VBoxContainer/GridContainer" instance=ExtResource("2_xelwb")]
layout_mode = 2
[node name="LCB_Key3" parent="PanelContainer/VBoxContainer/GridContainer" instance=ExtResource("2_xelwb")]
layout_mode = 2
[node name="LCB_Key4" parent="PanelContainer/VBoxContainer/GridContainer" instance=ExtResource("2_xelwb")]
layout_mode = 2
[node name="JJTC_Key" parent="PanelContainer/VBoxContainer/GridContainer" instance=ExtResource("2_cndsv")]
layout_mode = 2
tooltip_text = "紧急停车钥匙"
[node name="PSL_Key" parent="PanelContainer/VBoxContainer/GridContainer" instance=ExtResource("1_pwbsc")]
layout_mode = 2
[node name="HSJC_Key" parent="PanelContainer/VBoxContainer/GridContainer" instance=ExtResource("9_q6qly")]
layout_mode = 2
[node name="SDJS_Key" parent="PanelContainer/VBoxContainer/GridContainer" instance=ExtResource("1_wmags")]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_top = 30
theme_override_constants/margin_bottom = 0
[node name="Button" type="Button" parent="PanelContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
focus_mode = 0
theme_override_font_sizes/font_size = 24
text = "确认"
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("10_cspe3")
[connection signal="close_requested" from="." to="." method="_on_close_requested"]
[connection signal="on_focus" from="PanelContainer/VBoxContainer/GridContainer/LCB_Key1" to="." method="_on_key_focus_entered"]
[connection signal="on_focus" from="PanelContainer/VBoxContainer/GridContainer/LCB_Key2" to="." method="_on_key_focus_entered"]
[connection signal="on_focus" from="PanelContainer/VBoxContainer/GridContainer/LCB_Key3" to="." method="_on_key_focus_entered"]
[connection signal="on_focus" from="PanelContainer/VBoxContainer/GridContainer/LCB_Key4" to="." method="_on_key_focus_entered"]
[connection signal="on_focus" from="PanelContainer/VBoxContainer/GridContainer/JJTC_Key" to="." method="_on_key_focus_entered"]
[connection signal="on_focus" from="PanelContainer/VBoxContainer/GridContainer/PSL_Key" to="." method="_on_key_focus_entered"]
[connection signal="on_focus" from="PanelContainer/VBoxContainer/GridContainer/HSJC_Key" to="." method="_on_key_focus_entered"]
[connection signal="on_focus" from="PanelContainer/VBoxContainer/GridContainer/SDJS_Key" to="." method="_on_key_focus_entered"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/MarginContainer/Button" to="." method="_on_button_pressed"]