lab-electrolyte/scenes/ui.tscn
2026-01-16 05:24:57 +05:00

119 lines
3.7 KiB
Text

[gd_scene load_steps=7 format=3 uid="uid://dfxlr4svnsdyx"]
[ext_resource type="Script" uid="uid://cqdtgvrotvjhb" path="res://src/ui/logger.gd" id="1_8dubc"]
[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"]
[node name="UserInterface" type="Control"]
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="."]
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"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
size_flags_stretch_ratio = 4.0
deselect_enabled = true
tab_count = 3
tab_0/title = "Ход работы"
tab_1/title = "Вопросы для самопроверки"
tab_2/title = "Отчёт"
[node name="InspectorPanel" type="PanelContainer" parent="HSplitContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="ScrollContainer" type="ScrollContainer" parent="HSplitContainer/InspectorPanel"]
layout_mode = 2
horizontal_scroll_mode = 0
[node name="VBoxContainer" type="VBoxContainer" parent="HSplitContainer/InspectorPanel/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Logger" type="TextEdit" parent="HSplitContainer/InspectorPanel/ScrollContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
editable = false
wrap_mode = 1
script = ExtResource("1_8dubc")
[node name="Reagents" parent="." 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"]
script = ExtResource("2_x4jx1")
[node name="Intruments" parent="." 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" instance=ExtResource("3_yev5y")]
layout_mode = 2
text = "Пробирка"
draggable = ExtResource("4_gdt2y")
[node name="Spoon" parent="Intruments/ScrollContainer/VBoxContainer" index="1" 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"]