171 lines
5.5 KiB
Plaintext
171 lines
5.5 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bi8xv7a5k3wuu"]
|
|
|
|
[ext_resource type="Theme" uid="uid://cw07kl24clcs0" path="res://addons/Bugbot/UI/bug_report_form.theme" id="1_rwv2x"]
|
|
[ext_resource type="Script" path="res://addons/Bugbot/UI/bug_report_form.gd" id="2_w8fc6"]
|
|
|
|
[node name="BugReportForm" type="ColorRect"]
|
|
process_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_rwv2x")
|
|
color = Color(0, 0, 0, 0.25)
|
|
script = ExtResource("2_w8fc6")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = -1
|
|
anchor_left = 0.05
|
|
anchor_top = 0.1
|
|
anchor_right = 0.95
|
|
anchor_bottom = 0.9
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="Spacer" type="Control" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Form" type="BoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="VBoxContainerLeft" type="VBoxContainer" parent="VBoxContainer/Form"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_stretch_ratio = 0.67
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="VBoxContainer/Form/VBoxContainerLeft"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
columns = 2
|
|
|
|
[node name="ProductNameLabel" type="Label" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
text = "Product Name:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="ProductName" type="Label" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "NameOfProductHere"
|
|
clip_text = true
|
|
|
|
[node name="VersionLabel" type="Label" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
text = "Version:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="VersionButton" type="MenuButton" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_right = NodePath("../../../VBoxContainerRight/GridContainer/SummaryText")
|
|
focus_mode = 2
|
|
action_mode = 1
|
|
text = "Select Version"
|
|
flat = false
|
|
alignment = 0
|
|
clip_text = true
|
|
|
|
[node name="HardwareLabel" type="Label" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
text = "Hardware:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="HardwareButton" type="MenuButton" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_right = NodePath("../../../VBoxContainerRight/GridContainer/SummaryText")
|
|
focus_mode = 2
|
|
action_mode = 1
|
|
text = "Select Hardware"
|
|
flat = false
|
|
alignment = 0
|
|
clip_text = true
|
|
|
|
[node name="OSLabel" type="Label" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
text = "OS:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="OSButton" type="MenuButton" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_right = NodePath("../../../VBoxContainerRight/GridContainer/SummaryText")
|
|
focus_mode = 2
|
|
action_mode = 1
|
|
text = "Select OS"
|
|
flat = false
|
|
alignment = 0
|
|
clip_text = true
|
|
|
|
[node name="ComponentLabel" type="Label" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
text = "Department:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="ComponentButton" type="MenuButton" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_right = NodePath("../../../VBoxContainerRight/GridContainer/SummaryText")
|
|
focus_mode = 2
|
|
action_mode = 1
|
|
text = "Select Component"
|
|
flat = false
|
|
alignment = 0
|
|
clip_text = true
|
|
|
|
[node name="SeverityLabel" type="Label" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
text = "Severity:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="SeverityButton" type="MenuButton" parent="VBoxContainer/Form/VBoxContainerLeft/GridContainer"]
|
|
layout_mode = 2
|
|
focus_neighbor_right = NodePath("../../../VBoxContainerRight/GridContainer/SummaryText")
|
|
focus_mode = 2
|
|
action_mode = 1
|
|
text = "Select Severity"
|
|
flat = false
|
|
alignment = 0
|
|
clip_text = true
|
|
|
|
[node name="CancelButton" type="Button" parent="VBoxContainer/Form/VBoxContainerLeft"]
|
|
layout_mode = 2
|
|
text = "Cancel"
|
|
|
|
[node name="VBoxContainerRight" type="VBoxContainer" parent="VBoxContainer/Form"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="VBoxContainer/Form/VBoxContainerRight"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
columns = 2
|
|
|
|
[node name="SummaryLabel" type="Label" parent="VBoxContainer/Form/VBoxContainerRight/GridContainer"]
|
|
layout_mode = 2
|
|
text = "Summary:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="SummaryText" type="LineEdit" parent="VBoxContainer/Form/VBoxContainerRight/GridContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="DescriptionLabel" type="Label" parent="VBoxContainer/Form/VBoxContainerRight/GridContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
text = "Description:"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="DescriptionText" type="TextEdit" parent="VBoxContainer/Form/VBoxContainerRight/GridContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
wrap_mode = 1
|
|
|
|
[node name="SubmitButton" type="Button" parent="VBoxContainer/Form/VBoxContainerRight"]
|
|
layout_mode = 2
|
|
text = "Submit"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/Form/VBoxContainerLeft/CancelButton" to="." method="_on_cancel_button_pressed"]
|
|
[connection signal="gui_input" from="VBoxContainer/Form/VBoxContainerRight/GridContainer/SummaryText" to="." method="_on_summary_text_gui_input"]
|
|
[connection signal="gui_input" from="VBoxContainer/Form/VBoxContainerRight/GridContainer/DescriptionText" to="." method="_on_description_text_gui_input"]
|
|
[connection signal="pressed" from="VBoxContainer/Form/VBoxContainerRight/SubmitButton" to="." method="_on_submit_button_pressed"]
|