AloxGUI/uart_port_select.tscn

50 lines
1.3 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://bhon0xwhhv2ah"]
[ext_resource type="Script" uid="uid://78d3t3vslfvo" path="res://uart_port_select.gd" id="1_ep1rc"]
[node name="UartPortSelect" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ep1rc")
[node name="RefreshButton" type="Button" parent="."]
layout_mode = 0
offset_right = 8.0
offset_bottom = 8.0
text = "Refresh Ports"
[node name="PortList" type="OptionButton" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_right = 0.135
anchor_bottom = 0.031
offset_left = 116.0
offset_top = 1.0
offset_right = 91.48
offset_bottom = 10.912
[node name="ConnectButton" type="Button" parent="."]
layout_mode = 0
offset_left = 251.0
offset_top = 1.0
offset_right = 323.0
offset_bottom = 32.0
text = "Connect"
[node name="AsyncReadButton" type="Button" parent="."]
layout_mode = 0
offset_left = 3.0
offset_top = 57.0
offset_right = 115.0
offset_bottom = 88.0
text = "Start Reading
"
[connection signal="pressed" from="RefreshButton" to="." method="_on_button_pressed"]
[connection signal="pressed" from="ConnectButton" to="." method="_on_connect_button_pressed"]
[connection signal="pressed" from="AsyncReadButton" to="." method="_on_async_read_button_pressed"]