107 lines
2.8 KiB
Text
107 lines
2.8 KiB
Text
|
[gd_scene load_steps=2 format=3 uid="uid://cl8xk8w3jmta0"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://scenes/controls/controls.gd" id="1_2c8s6"]
|
||
|
|
||
|
[node name="Control" type="Control"]
|
||
|
visible = false
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
script = ExtResource( "1_2c8s6" )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="Window" type="Window" parent="."]
|
||
|
title = "Edit control"
|
||
|
size = Vector2i(400, 500)
|
||
|
visible = false
|
||
|
content_scale_mode = 1
|
||
|
content_scale_aspect = 4
|
||
|
|
||
|
[node name="VBox" type="VBoxContainer" parent="Window"]
|
||
|
offset_right = 40.0
|
||
|
offset_bottom = 40.0
|
||
|
size_flags_horizontal = 6
|
||
|
size_flags_vertical = 6
|
||
|
|
||
|
[node name="Menu" type="HBoxContainer" parent="Window/VBox"]
|
||
|
offset_right = 301.0
|
||
|
offset_bottom = 31.0
|
||
|
size_flags_horizontal = 3
|
||
|
|
||
|
[node name="SortByInput" type="CheckBox" parent="Window/VBox/Menu"]
|
||
|
offset_right = 127.0
|
||
|
offset_bottom = 31.0
|
||
|
size_flags_horizontal = 7
|
||
|
text = "Sort by input"
|
||
|
|
||
|
[node name="Reload" type="Button" parent="Window/VBox/Menu"]
|
||
|
offset_left = 131.0
|
||
|
offset_right = 301.0
|
||
|
offset_bottom = 31.0
|
||
|
size_flags_horizontal = 7
|
||
|
text = "Reload system config"
|
||
|
|
||
|
[node name="Input" type="ScrollContainer" parent="Window/VBox"]
|
||
|
offset_top = 35.0
|
||
|
offset_right = 301.0
|
||
|
offset_bottom = 35.0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
|
||
|
[node name="Control" type="VBoxContainer" parent="Window/VBox/Input"]
|
||
|
offset_right = 301.0
|
||
|
offset_bottom = 56.0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
|
||
|
[node name="Label" type="Label" parent="Window/VBox/Input/Control"]
|
||
|
offset_right = 293.0
|
||
|
offset_bottom = 26.0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 7
|
||
|
text = "Test"
|
||
|
|
||
|
[node name="Label2" type="Label" parent="Window/VBox/Input/Control"]
|
||
|
offset_top = 30.0
|
||
|
offset_right = 293.0
|
||
|
offset_bottom = 56.0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 7
|
||
|
text = "Test"
|
||
|
|
||
|
[node name="Test" type="VBoxContainer" parent="Window/VBox"]
|
||
|
offset_top = 39.0
|
||
|
offset_right = 301.0
|
||
|
offset_bottom = 95.0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 3
|
||
|
|
||
|
[node name="Label3" type="Label" parent="Window/VBox/Test"]
|
||
|
offset_right = 301.0
|
||
|
offset_bottom = 26.0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 7
|
||
|
text = "Test"
|
||
|
|
||
|
[node name="Label4" type="Label" parent="Window/VBox/Test"]
|
||
|
offset_top = 30.0
|
||
|
offset_right = 301.0
|
||
|
offset_bottom = 56.0
|
||
|
size_flags_horizontal = 3
|
||
|
size_flags_vertical = 7
|
||
|
text = "Test"
|
||
|
|
||
|
[node name="Quit" type="Button" parent="Window/VBox"]
|
||
|
offset_top = 99.0
|
||
|
offset_right = 301.0
|
||
|
offset_bottom = 130.0
|
||
|
size_flags_horizontal = 6
|
||
|
size_flags_vertical = 10
|
||
|
text = "Quit"
|
||
|
|
||
|
[connection signal="close_requested" from="Window" to="." method="_on_quit_pressed"]
|
||
|
[connection signal="pressed" from="Window/VBox/Menu/SortByInput" to="." method="_on_sort_by_input_pressed"]
|
||
|
[connection signal="pressed" from="Window/VBox/Menu/Reload" to="." method="reload_system_config"]
|
||
|
[connection signal="pressed" from="Window/VBox/Quit" to="." method="_on_quit_pressed"]
|