Files
Kalulu/sources/language_tool/prof_tool_menu.tscn
T
2026-01-27 14:52:22 +01:00

324 lines
12 KiB
Plaintext

[gd_scene format=3 uid="uid://cp832jmwru06w"]
[ext_resource type="Script" uid="uid://c47yey6m0t3ir" path="res://sources/language_tool/prof_tool_menu.gd" id="1_ibtf2"]
[sub_resource type="FontVariation" id="FontVariation_vmcjv"]
[node name="ProfToolMenu" type="Control" unique_id=1037481795]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 12.0
offset_top = -6.0
offset_right = 12.0
offset_bottom = -6.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ibtf2")
[node name="Panel" type="Panel" parent="." unique_id=2551959]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=1042637513]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TabContainer" type="TabContainer" parent="CenterContainer" unique_id=1581012583]
layout_mode = 2
theme_override_font_sizes/font_size = 40
current_tab = 0
use_hidden_tabs_for_min_size = true
[node name="Language" type="VBoxContainer" parent="CenterContainer/TabContainer" unique_id=412186574]
layout_mode = 2
theme_override_constants/separation = 50
metadata/_tab_index = 0
[node name="GPListButton" type="Button" parent="CenterContainer/TabContainer/Language" unique_id=1896155174]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "GP List"
[node name="WordListButton" type="Button" parent="CenterContainer/TabContainer/Language" unique_id=1378602137]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Word List"
[node name="SyllableListButton" type="Button" parent="CenterContainer/TabContainer/Language" unique_id=2129528522]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Syllable List"
[node name="SentenceListButton" type="Button" parent="CenterContainer/TabContainer/Language" unique_id=983765545]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Sentence List"
[node name="LessonListButton" type="Button" parent="CenterContainer/TabContainer/Language" unique_id=59942026]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Lesson List"
[node name="LookAndLearnData" type="VBoxContainer" parent="CenterContainer/TabContainer" unique_id=1996734598]
visible = false
layout_mode = 2
theme_override_constants/separation = 50
metadata/_tab_index = 1
[node name="TracingBuilderButton" type="Button" parent="CenterContainer/TabContainer/LookAndLearnData" unique_id=382897123]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Tracing Builder
"
[node name="DataLoaderButton" type="Button" parent="CenterContainer/TabContainer/LookAndLearnData" unique_id=346366737]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "GP Image/Sound Loader"
[node name="DataLoaderButton2" type="Button" parent="CenterContainer/TabContainer/LookAndLearnData" unique_id=1876207497]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "GP Video Loader
"
[node name="GameData" type="VBoxContainer" parent="CenterContainer/TabContainer" unique_id=727670303]
visible = false
layout_mode = 2
theme_override_constants/separation = 50
metadata/_tab_index = 2
[node name="GameSoundsButton" type="Button" parent="CenterContainer/TabContainer/GameData" unique_id=1505903973]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "GP/syllable/word sounds
"
[node name="PseudowordsButton" type="Button" parent="CenterContainer/TabContainer/GameData" unique_id=1007215314]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Pseudowords
"
[node name="ExercisesButton" type="Button" parent="CenterContainer/TabContainer/GameData" unique_id=549365738]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Lesson Exercises"
[node name="SpeechesButton" type="Button" parent="CenterContainer/TabContainer/GameData" unique_id=367625584]
layout_mode = 2
theme_override_font_sizes/font_size = 100
text = "Kalulu Speeches
"
[node name="Label" type="Label" parent="." unique_id=500881106]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -550.0
offset_top = 7.0
offset_right = 555.0
offset_bottom = 165.0
grow_horizontal = 2
theme_override_font_sizes/font_size = 120
text = "Kalulu Language Tool"
[node name="ExportButton" type="Button" parent="." unique_id=453963793]
layout_mode = 0
offset_left = 32.0
offset_top = 1502.0
offset_right = 692.0
offset_bottom = 1647.0
theme_override_font_sizes/font_size = 100
text = "Export
"
[node name="CreateBookButton" type="Button" parent="." unique_id=1638670196]
layout_mode = 0
offset_left = 32.0
offset_top = 1304.0
offset_right = 692.0
offset_bottom = 1449.0
theme_override_font_sizes/font_size = 100
text = "Create Book
"
[node name="CheckIntegrityButton" type="Button" parent="." unique_id=1824370913]
layout_mode = 0
offset_left = 1035.33
offset_top = 1502.0
offset_right = 1767.33
offset_bottom = 1647.0
theme_override_font_sizes/font_size = 100
text = "Check Integrity
"
[node name="CheckBoxLog" type="CheckBox" parent="CheckIntegrityButton" unique_id=1888994321]
layout_mode = 0
offset_left = -93.0
offset_top = 39.0
offset_right = -23.0
offset_bottom = 109.0
[node name="Label" type="Label" parent="CheckIntegrityButton/CheckBoxLog" unique_id=689182662]
layout_mode = 0
offset_left = -35.33
offset_top = 66.0
offset_right = 100.67
offset_bottom = 121.0
text = "Log all"
horizontal_alignment = 1
[node name="OpenFolderButton" type="Button" parent="." unique_id=804331039]
layout_mode = 0
offset_left = 1922.0
offset_top = 1545.0
offset_right = 2475.0
offset_bottom = 1636.0
theme_override_font_sizes/font_size = 42
text = "Open language resource Folder"
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=674870614]
layout_mode = 0
offset_left = 50.0
offset_top = 117.0
offset_right = 667.0
offset_bottom = 547.0
theme_override_constants/separation = 50
[node name="ImportLanguageButton" type="Button" parent="VBoxContainer" unique_id=2144416707]
layout_mode = 2
theme_override_font_sizes/font_size = 60
text = "Import language data"
[node name="LanguageSelectButton" type="OptionButton" parent="VBoxContainer" unique_id=1503619054]
unique_name_in_owner = true
custom_minimum_size = Vector2(2.08165e-12, 150)
layout_mode = 2
theme_override_font_sizes/font_size = 60
alignment = 1
item_count = 1
popup/item_0/text = "New"
popup/item_0/id = 0
[node name="AddWordListButton" type="Button" parent="VBoxContainer" unique_id=90454929]
layout_mode = 2
theme_override_font_sizes/font_size = 60
text = "Change word list"
[node name="NewLanguageContainer" type="PanelContainer" parent="." unique_id=957166960]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(1000, 1000)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -605.0
offset_top = -705.0
offset_right = 650.0
offset_bottom = 650.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="NewLanguageContainer" unique_id=1165609542]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="NewLanguageContainer/VBoxContainer" unique_id=2114730140]
layout_mode = 2
theme_override_constants/margin_top = 100
[node name="Label" type="Label" parent="NewLanguageContainer/VBoxContainer/MarginContainer" unique_id=1800563501]
layout_mode = 2
size_flags_vertical = 0
theme_override_font_sizes/font_size = 100
text = "Enter new language name"
horizontal_alignment = 1
[node name="CenterContainer" type="CenterContainer" parent="NewLanguageContainer/VBoxContainer" unique_id=354586417]
layout_mode = 2
size_flags_vertical = 3
[node name="LineEdit" type="LineEdit" parent="NewLanguageContainer/VBoxContainer/CenterContainer" unique_id=275288544]
unique_name_in_owner = true
custom_minimum_size = Vector2(800, 2.08165e-12)
layout_mode = 2
theme_override_font_sizes/font_size = 100
[node name="ButtonContainer" type="MarginContainer" parent="NewLanguageContainer/VBoxContainer" unique_id=485101047]
layout_mode = 2
size_flags_horizontal = 8
theme_override_constants/margin_left = 50
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50
[node name="ValidateLanguage" type="Button" parent="NewLanguageContainer/VBoxContainer/ButtonContainer" unique_id=591614952]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 100
text = "Validate"
[node name="FileDialog" type="FileDialog" parent="." unique_id=841807716]
title = "Open a File"
initial_position = 2
size = Vector2i(1500, 1000)
always_on_top = true
popup_window = true
ok_button_text = "Open"
file_mode = 0
access = 2
[node name="FileDialogExport" type="FileDialog" parent="." unique_id=223904125]
initial_position = 2
size = Vector2i(1500, 1000)
popup_window = true
access = 2
[node name="ErrorLabel" type="Label" parent="." unique_id=1041818691]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -79.0
grow_horizontal = 2
grow_vertical = 0
theme_override_fonts/font = SubResource("FontVariation_vmcjv")
theme_override_font_sizes/font_size = 60
[connection signal="pressed" from="CenterContainer/TabContainer/Language/GPListButton" to="." method="_on_gp_list_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/Language/WordListButton" to="." method="_on_word_list_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/Language/SyllableListButton" to="." method="_on_syllable_list_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/Language/SentenceListButton" to="." method="_on_sentence_list_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/Language/LessonListButton" to="." method="_on_lesson_list_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/LookAndLearnData/TracingBuilderButton" to="." method="_on_tracing_builder_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/LookAndLearnData/DataLoaderButton" to="." method="_on_data_loader_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/LookAndLearnData/DataLoaderButton2" to="." method="_on_data_loader_button_2_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/GameData/GameSoundsButton" to="." method="_on_game_sounds_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/GameData/PseudowordsButton" to="." method="_on_pseudowords_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/GameData/ExercisesButton" to="." method="_on_exercises_button_pressed"]
[connection signal="pressed" from="CenterContainer/TabContainer/GameData/SpeechesButton" to="." method="_on_speeches_button_pressed"]
[connection signal="pressed" from="ExportButton" to="." method="_on_export_button_pressed"]
[connection signal="pressed" from="CreateBookButton" to="." method="create_book"]
[connection signal="pressed" from="CheckIntegrityButton" to="." method="_check_db_integrity"]
[connection signal="pressed" from="OpenFolderButton" to="." method="_on_open_folder_button_pressed"]
[connection signal="pressed" from="VBoxContainer/ImportLanguageButton" to="." method="_on_import_language_button_pressed"]
[connection signal="item_selected" from="VBoxContainer/LanguageSelectButton" to="." method="_on_language_select_button_item_selected"]
[connection signal="pressed" from="VBoxContainer/AddWordListButton" to="." method="_on_add_word_list_button_pressed"]
[connection signal="pressed" from="NewLanguageContainer/VBoxContainer/ButtonContainer/ValidateLanguage" to="." method="_on_validate_language_pressed"]