Files
Kalulu/sources/language_tool/gp_list.tscn
T
2025-04-09 16:56:40 +02:00

96 lines
3.6 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cnyl3pxt7dn8y"]
[ext_resource type="Script" uid="uid://c6topd4d04tb" path="res://sources/language_tool/gp_list.gd" id="1_vqemo"]
[ext_resource type="PackedScene" uid="uid://clf3v6355wond" path="res://sources/language_tool/list_title.tscn" id="2_irm5b"]
[ext_resource type="Script" uid="uid://c45af60t46e6n" path="res://sources/language_tool/ScrollContainer.gd" id="6_t1l1g"]
[node name="GpList" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_vqemo")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 0
[node name="ListTitle" parent="VBoxContainer" instance=ExtResource("2_irm5b")]
layout_mode = 2
[node name="MarginContainer2" type="MarginContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="Panel" type="Panel" parent="VBoxContainer/MarginContainer2"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/MarginContainer2"]
custom_minimum_size = Vector2(2.08165e-12, 200)
layout_mode = 2
[node name="Grapheme" type="Label" parent="VBoxContainer/MarginContainer2/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 1
theme_override_font_sizes/font_size = 100
text = "Grapheme
"
horizontal_alignment = 1
[node name="Phoneme" type="Label" parent="VBoxContainer/MarginContainer2/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 1
theme_override_font_sizes/font_size = 100
text = "Phoneme"
horizontal_alignment = 1
[node name="Type" type="Label" parent="VBoxContainer/MarginContainer2/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 1
theme_override_font_sizes/font_size = 100
text = "Type"
horizontal_alignment = 1
[node name="ColorRect" type="ColorRect" parent="VBoxContainer"]
custom_minimum_size = Vector2(2.08165e-12, 18)
layout_mode = 2
color = Color(0, 0, 0, 1)
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
script = ExtResource("6_t1l1g")
[node name="ElementsContainer" type="VBoxContainer" parent="VBoxContainer/ScrollContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/separation = 0
[node name="ErrorLabel" type="Label" parent="VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 60
[connection signal="add_pressed" from="VBoxContainer/ListTitle" to="." method="_on_list_title_add_pressed"]
[connection signal="back_pressed" from="VBoxContainer/ListTitle" to="." method="_on_list_title_back_pressed"]
[connection signal="import_path_selected" from="VBoxContainer/ListTitle" to="." method="_on_list_title_import_path_selected"]
[connection signal="new_search" from="VBoxContainer/ListTitle" to="." method="_on_list_title_new_search"]
[connection signal="save_pressed" from="VBoxContainer/ListTitle" to="." method="_on_list_title_save_pressed"]
[connection signal="gui_input" from="VBoxContainer/MarginContainer2/HBoxContainer/Grapheme" to="." method="_on_grapheme_gui_input"]
[connection signal="gui_input" from="VBoxContainer/MarginContainer2/HBoxContainer/Phoneme" to="." method="_on_phoneme_gui_input"]
[connection signal="gui_input" from="VBoxContainer/MarginContainer2/HBoxContainer/Type" to="." method="_on_type_gui_input"]