-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
main.tscn
executable file
·66 lines (53 loc) · 1.89 KB
/
main.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
65
66
[gd_scene load_steps=2 format=3 uid="uid://bdy48sow6vqft"]
[ext_resource type="Script" path="res://main.gd" id="1"]
[node name="TextSelection" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
script = ExtResource("1")
[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -82.0
offset_top = -129.0
offset_right = 82.0
offset_bottom = 129.0
grow_horizontal = 2
grow_vertical = 2
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2
theme_override_constants/separation = 30
[node name="Title" type="Label" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "Qrcode generator"
horizontal_alignment = 1
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
[node name="Explanations" type="Label" parent="CenterContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
text = "Write your text"
horizontal_alignment = 1
[node name="InputValue" type="LineEdit" parent="CenterContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
[node name="VBoxContainer2" type="VBoxContainer" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
[node name="Explanations" type="Label" parent="CenterContainer/VBoxContainer/VBoxContainer2"]
layout_mode = 2
text = "Error correction level"
horizontal_alignment = 1
[node name="ErrorCorrection" type="OptionButton" parent="CenterContainer/VBoxContainer/VBoxContainer2"]
layout_mode = 2
flat = true
[node name="ValidateButton" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "Submit"
[connection signal="pressed" from="CenterContainer/VBoxContainer/ValidateButton" to="." method="_on_ValidateButton_pressed"]