Frame-of-Mind/src/dev-util/ingest post-it.tscn

58 lines
1.4 KiB
Plaintext

[gd_scene load_steps=2 format=2]
[sub_resource type="GDScript" id=1]
script/source = "extends VBoxContainer
func _on_audio_button_up():
$FileDialog.show()
func _on_copy_pressed():
get_tree().root.get_child(0).copy(self)
"
[node name="Ingest Post-It" type="VBoxContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1670.0
script = SubResource( 1 )
[node name="Label" type="Label" parent="."]
margin_right = 250.0
margin_bottom = 14.0
text = "Post-It Content"
[node name="LineEdit" type="LineEdit" parent="."]
margin_top = 18.0
margin_right = 250.0
margin_bottom = 42.0
rect_min_size = Vector2( 250, 0 )
[node name="HBoxContainer" type="HBoxContainer" parent="."]
margin_top = 46.0
margin_right = 250.0
margin_bottom = 66.0
[node name="copy" type="Button" parent="HBoxContainer"]
margin_right = 42.0
margin_bottom = 20.0
text = "copy"
[node name="select" type="Button" parent="HBoxContainer"]
margin_left = 46.0
margin_right = 97.0
margin_bottom = 20.0
text = "select"
[node name="audio" type="Button" parent="HBoxContainer"]
margin_left = 101.0
margin_right = 200.0
margin_bottom = 20.0
text = "choose Audio"
[node name="FileDialog" type="FileDialog" parent="."]
margin_right = 315.0
margin_bottom = 130.0
[connection signal="pressed" from="HBoxContainer/copy" to="." method="_on_copy_pressed"]
[connection signal="button_up" from="HBoxContainer/audio" to="." method="_on_audio_button_up"]