diary/user_interface/settings_menu/debug_settings/debug_settings.tscn

124 lines
3.1 KiB
Plaintext
Raw Normal View History

2022-06-05 14:22:08 +02:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://user_interface/utility_controls/line_separator.tscn" type="PackedScene" id=1]
[ext_resource path="res://user_interface/settings_menu/debug_settings/time_offset.gd" type="Script" id=2]
[ext_resource path="res://user_interface/settings_menu/debug_settings/restart.gd" type="Script" id=3]
[node name="DebugSettings" type="VBoxContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LineSeparator" parent="." instance=ExtResource( 1 )]
anchor_right = 0.0
margin_right = 1024.0
margin_bottom = 15.0
tag = "Debug Settings"
[node name="TimeOffset" type="Control" parent="."]
margin_top = 19.0
margin_right = 1024.0
margin_bottom = 83.0
rect_min_size = Vector2( 0, 64 )
script = ExtResource( 2 )
[node name="LabelTimeOffset" type="Label" parent="TimeOffset"]
margin_top = 5.0
margin_right = 79.0
margin_bottom = 19.0
text = "Time Offset:"
[node name="Hours" type="Label" parent="TimeOffset"]
margin_left = 34.0
margin_top = 32.0
margin_right = 76.0
margin_bottom = 46.0
text = "Hours:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SpinBoxHours" type="SpinBox" parent="TimeOffset"]
margin_left = 86.0
margin_top = 28.0
margin_right = 160.0
margin_bottom = 52.0
min_value = -48.0
max_value = 48.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Minutes" type="Label" parent="TimeOffset"]
margin_left = 186.0
margin_top = 32.0
margin_right = 242.0
margin_bottom = 46.0
text = "Minutes:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SpinBoxMinutes" type="SpinBox" parent="TimeOffset"]
margin_left = 253.0
margin_top = 28.0
margin_right = 327.0
margin_bottom = 52.0
min_value = -59.0
max_value = 59.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ApplyTimeOffset" type="Button" parent="TimeOffset"]
margin_left = 363.0
margin_top = 28.0
margin_right = 490.0
margin_bottom = 48.0
text = "Apply Time Offset"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LabelTO" type="Label" parent="TimeOffset"]
margin_left = 509.0
margin_top = 32.0
margin_right = 549.0
margin_bottom = 46.0
text = "to:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Restart" type="Control" parent="."]
margin_top = 87.0
margin_right = 1024.0
margin_bottom = 151.0
rect_min_size = Vector2( 0, 64 )
script = ExtResource( 3 )
[node name="LabelRestart" type="Label" parent="Restart"]
margin_right = 40.0
margin_bottom = 14.0
text = "Restart:"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="RestartButton" type="Button" parent="Restart"]
margin_left = 34.0
margin_top = 29.0
margin_right = 46.0
margin_bottom = 49.0
text = "Restart Application"
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="value_changed" from="TimeOffset/SpinBoxHours" to="TimeOffset" method="_update_unapplied_time_offset"]
[connection signal="value_changed" from="TimeOffset/SpinBoxMinutes" to="TimeOffset" method="_update_unapplied_time_offset"]
[connection signal="pressed" from="TimeOffset/ApplyTimeOffset" to="TimeOffset" method="_on_ApplyTimeOffset_pressed"]
[connection signal="pressed" from="Restart/RestartButton" to="Restart" method="_on_RestartButton_pressed"]