lab-electrolyte/scenes/ui.tscn
2026-01-30 12:35:41 +05:00

141 lines
5 KiB
Text

[gd_scene format=3 uid="uid://dfxlr4svnsdyx"]
[ext_resource type="Script" uid="uid://cqdtgvrotvjhb" path="res://src/ui/logger.gd" id="1_8dubc"]
[ext_resource type="Script" uid="uid://457xdl1tsmde" path="res://src/ui/control_buttons_holder.gd" id="1_ktti3"]
[ext_resource type="PackedScene" uid="uid://bcj0mesdlfsfj" path="res://scenes/popup_container.tscn" id="1_nt7q6"]
[ext_resource type="Script" uid="uid://c5pv2idedy1oy" path="res://src/ui/reagents_gen.gd" id="2_x4jx1"]
[ext_resource type="PackedScene" uid="uid://vhn8h4mhb6nh" path="res://scenes/drag_and_drop.tscn" id="3_yev5y"]
[ext_resource type="Resource" uid="uid://cay05wpketmny" path="res://assets/draggables/flask.tres" id="4_gdt2y"]
[ext_resource type="Resource" uid="uid://6vpr6n7yruie" path="res://assets/draggables/spoon.tres" id="5_wm3ai"]
[ext_resource type="Resource" uid="uid://kg34c4105ssp" path="res://assets/draggables/burner.tres" id="6_p7vwb"]
[ext_resource type="Resource" uid="uid://dnxpw2metn0oq" path="res://assets/draggables/stand.tres" id="8_7dvkv"]
[ext_resource type="Resource" uid="uid://cm2is1qooywkf" path="res://assets/draggables/holder.tres" id="9_vdcm2"]
[node name="UserInterface" type="Control" unique_id=1780432093]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
metadata/_edit_lock_ = true
[node name="HSplitContainer" type="HSplitContainer" parent="." unique_id=1503058072]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="TabBar" type="TabBar" parent="HSplitContainer" unique_id=723713577]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
size_flags_stretch_ratio = 4.0
deselect_enabled = true
tab_count = 4
tab_0/title = "Ход работы"
tab_1/title = "Вопросы для самопроверки"
tab_2/title = "Отчёт"
tab_3/title = "Очистить"
[node name="InspectorPanel" type="PanelContainer" parent="HSplitContainer" unique_id=918152974]
layout_mode = 2
size_flags_horizontal = 3
[node name="ScrollContainer" type="ScrollContainer" parent="HSplitContainer/InspectorPanel" unique_id=1904486129]
layout_mode = 2
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="HSplitContainer/InspectorPanel/ScrollContainer" unique_id=1723824494]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_ktti3")
[node name="Logger" type="TextEdit" parent="HSplitContainer/InspectorPanel/ScrollContainer/VBoxContainer" unique_id=1997720811]
layout_mode = 2
size_flags_vertical = 3
editable = false
wrap_mode = 1
script = ExtResource("1_8dubc")
[node name="Reagents" parent="." unique_id=1303212589 instance=ExtResource("1_nt7q6")]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.14756945
anchor_top = 0.047839507
anchor_right = 0.0
anchor_bottom = 0.69753087
text = "Вещества"
metadata/_edit_use_anchors_ = true
[node name="ScrollContainer" parent="Reagents" index="0"]
anchor_right = 0.87200004
offset_right = -0.040008545
[node name="Label" parent="Reagents" index="1"]
anchor_left = 0.8717948
anchor_top = 0.29071665
anchor_right = 0.99700004
anchor_bottom = 0.76000005
offset_left = 0.0
offset_top = 197.44484
offset_right = 173.02982
offset_bottom = 48.876526
[node name="Generator" type="Node" parent="Reagents" unique_id=670239833]
script = ExtResource("2_x4jx1")
[node name="Intruments" parent="." unique_id=1127354373 instance=ExtResource("1_nt7q6")]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.14756945
anchor_top = 0.69753087
anchor_right = 0.0
text = "Инструменты"
metadata/_edit_use_anchors_ = true
[node name="ScrollContainer" parent="Intruments" index="0"]
offset_right = -20.904999
[node name="Flask" parent="Intruments/ScrollContainer/VBoxContainer" index="0" unique_id=852024836 instance=ExtResource("3_yev5y")]
layout_mode = 2
text = "Пробирка"
draggable = ExtResource("4_gdt2y")
[node name="Burner" parent="Intruments/ScrollContainer/VBoxContainer" index="1" unique_id=1243872558 instance=ExtResource("3_yev5y")]
layout_mode = 2
text = "Спиртовка"
draggable = ExtResource("6_p7vwb")
[node name="Stand" parent="Intruments/ScrollContainer/VBoxContainer" index="2" unique_id=653836695 instance=ExtResource("3_yev5y")]
layout_mode = 2
text = "Штатив"
draggable = ExtResource("8_7dvkv")
[node name="Holder" parent="Intruments/ScrollContainer/VBoxContainer" index="3" unique_id=878085834 instance=ExtResource("3_yev5y")]
layout_mode = 2
text = "Держатель пробирок"
autowrap_mode = 2
draggable = ExtResource("9_vdcm2")
[node name="Spoon" parent="Intruments/ScrollContainer/VBoxContainer" index="4" unique_id=1377215067 instance=ExtResource("3_yev5y")]
layout_mode = 2
text = "Ложка"
draggable = ExtResource("5_wm3ai")
[node name="Label" parent="Intruments" index="1"]
anchor_left = 0.8717948
anchor_top = 0.040587522
anchor_right = 0.99700004
anchor_bottom = 1.059
offset_left = 0.0
offset_top = 199.64479
offset_right = 175.22977
offset_bottom = 49.03595
[editable path="Reagents"]
[editable path="Intruments"]