forked from davidwashere/delegated-scanning-sim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
image_manager.tscn
64 lines (50 loc) · 2.6 KB
/
image_manager.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[gd_scene load_steps=4 format=3 uid="uid://by3lsour21dm4"]
[ext_resource type="Script" path="res://image_manager.gd" id="1_p5ra4"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s4auv"]
bg_color = Color(0.129412, 0.14902, 0.180392, 1)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_x2858"]
[node name="Panel" type="Panel"]
offset_right = 600.0
offset_bottom = 216.0
theme_override_styles/panel = SubResource("StyleBoxFlat_s4auv")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 0
offset_right = 600.0
offset_bottom = 216.0
size_flags_horizontal = 3
theme_override_constants/margin_left = 8
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8
script = ExtResource("1_p5ra4")
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
size_flags_horizontal = 3
alignment = 2
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="ImageNameEdit" type="LineEdit" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Enter image full name ..."
[node name="VSeparator" type="VSeparator" parent="MarginContainer/VBoxContainer/HBoxContainer"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxEmpty_x2858")
[node name="AddImageButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
text = "Add Image"
[node name="HSeparator" type="HSeparator" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="ImageContainer" type="VBoxContainer" parent="MarginContainer/VBoxContainer/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 0
theme_override_constants/separation = 0
[connection signal="focus_entered" from="MarginContainer/VBoxContainer/HBoxContainer/ImageNameEdit" to="MarginContainer" method="_on_image_name_edit_focus_entered"]
[connection signal="focus_exited" from="MarginContainer/VBoxContainer/HBoxContainer/ImageNameEdit" to="MarginContainer" method="_on_image_name_edit_focus_exited"]
[connection signal="text_submitted" from="MarginContainer/VBoxContainer/HBoxContainer/ImageNameEdit" to="MarginContainer" method="_on_image_name_edit_text_submitted"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/AddImageButton" to="MarginContainer" method="_on_add_image_button_pressed"]