[gd_scene load_steps=6 format=2] [ext_resource path="res://scenes/Applications/ApplicationLabBluetooth/MainScene.gd" type="Script" id=1] [ext_resource path="res://assets/fonts/OpenSans-VariableFont_wdth,wght.ttf" type="DynamicFontData" id=2] [ext_resource path="res://scenes/Network/Scene_UI_NetworkDB.tscn" type="PackedScene" id=3] [sub_resource type="DynamicFont" id=1] size = 35 font_data = ExtResource( 2 ) [sub_resource type="Theme" id=2] default_font = SubResource( 1 ) [node name="MainScene" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 theme = SubResource( 2 ) script = ExtResource( 1 ) [node name="NetworkDB" parent="." instance=ExtResource( 3 )] [node name="VBoxContainer" type="VBoxContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 40.0 margin_top = 50.0 margin_right = -40.0 margin_bottom = -40.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="TopLabels" type="VBoxContainer" parent="VBoxContainer"] margin_right = 1000.0 margin_bottom = 102.0 [node name="VBoxContainer" type="HBoxContainer" parent="VBoxContainer/TopLabels"] margin_right = 1000.0 margin_bottom = 49.0 size_flags_horizontal = 3 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TopLabels/VBoxContainer"] margin_right = 498.0 margin_bottom = 49.0 size_flags_horizontal = 3 [node name="LocationPermissionLabel" type="Label" parent="VBoxContainer/TopLabels/VBoxContainer/HBoxContainer"] margin_right = 290.0 margin_bottom = 49.0 text = "Loc. permissions: " [node name="LocationPermissionLabel2" type="Label" parent="VBoxContainer/TopLabels/VBoxContainer/HBoxContainer"] margin_left = 294.0 margin_right = 342.0 margin_bottom = 49.0 text = "On" [node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer/TopLabels/VBoxContainer"] margin_left = 502.0 margin_right = 1000.0 margin_bottom = 49.0 size_flags_horizontal = 3 [node name="LocationStatusLabel" type="Label" parent="VBoxContainer/TopLabels/VBoxContainer/HBoxContainer3"] margin_right = 181.0 margin_bottom = 49.0 text = "Loc. status:" [node name="LocationStatusLabel2" type="Label" parent="VBoxContainer/TopLabels/VBoxContainer/HBoxContainer3"] margin_left = 185.0 margin_right = 233.0 margin_bottom = 49.0 text = "On" [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/TopLabels"] margin_top = 53.0 margin_right = 1000.0 margin_bottom = 102.0 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TopLabels/HBoxContainer2"] margin_right = 498.0 margin_bottom = 49.0 size_flags_horizontal = 3 [node name="BluetoohStatusLabel" type="Label" parent="VBoxContainer/TopLabels/HBoxContainer2/HBoxContainer"] margin_right = 285.0 margin_bottom = 49.0 text = "Bluetooth status: " [node name="BluetoohStatusLabel2" type="Label" parent="VBoxContainer/TopLabels/HBoxContainer2/HBoxContainer"] margin_left = 289.0 margin_right = 337.0 margin_bottom = 49.0 text = "On" [node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/TopLabels/HBoxContainer2"] margin_left = 502.0 margin_right = 1000.0 margin_bottom = 49.0 size_flags_horizontal = 3 [node name="ConnectedLabel" type="Label" parent="VBoxContainer/TopLabels/HBoxContainer2/HBoxContainer2"] margin_right = 184.0 margin_bottom = 49.0 text = "Connected:" [node name="ConnectedLabel2" type="Label" parent="VBoxContainer/TopLabels/HBoxContainer2/HBoxContainer2"] margin_left = 188.0 margin_right = 236.0 margin_bottom = 49.0 text = "On" [node name="TextAndButtons" type="VBoxContainer" parent="VBoxContainer"] margin_top = 106.0 margin_right = 1000.0 margin_bottom = 224.0 size_flags_horizontal = 3 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TextAndButtons"] margin_right = 1000.0 margin_bottom = 59.0 size_flags_horizontal = 3 [node name="SendTextLine" type="LineEdit" parent="VBoxContainer/TextAndButtons/HBoxContainer"] margin_right = 498.0 margin_bottom = 59.0 size_flags_horizontal = 3 placeholder_text = "Send text" [node name="SendTextButton" type="Button" parent="VBoxContainer/TextAndButtons/HBoxContainer"] margin_left = 502.0 margin_right = 1000.0 margin_bottom = 59.0 size_flags_horizontal = 3 text = "Send" [node name="Buttons" type="HBoxContainer" parent="VBoxContainer/TextAndButtons"] margin_top = 63.0 margin_right = 1000.0 margin_bottom = 118.0 size_flags_horizontal = 3 [node name="ScanButton" type="Button" parent="VBoxContainer/TextAndButtons/Buttons"] margin_right = 330.0 margin_bottom = 55.0 size_flags_horizontal = 3 text = "Scan" [node name="ConnectButton" type="Button" parent="VBoxContainer/TextAndButtons/Buttons"] margin_left = 334.0 margin_right = 665.0 margin_bottom = 55.0 size_flags_horizontal = 3 text = "Connect" [node name="DisconnectButton" type="Button" parent="VBoxContainer/TextAndButtons/Buttons"] margin_left = 669.0 margin_right = 1000.0 margin_bottom = 55.0 size_flags_horizontal = 3 text = "Disconnect" [node name="Devices" type="VBoxContainer" parent="VBoxContainer"] margin_top = 228.0 margin_right = 1000.0 margin_bottom = 581.0 [node name="FoundDevicesLabel" type="Label" parent="VBoxContainer/Devices"] margin_right = 1000.0 margin_bottom = 49.0 text = "Found devices:" [node name="FoundDevicesList" type="ItemList" parent="VBoxContainer/Devices"] margin_top = 53.0 margin_right = 1000.0 margin_bottom = 353.0 rect_min_size = Vector2( 0, 300 ) [node name="Services" type="VBoxContainer" parent="VBoxContainer"] margin_top = 585.0 margin_right = 1000.0 margin_bottom = 1138.0 [node name="FoundServiceLabel" type="Label" parent="VBoxContainer/Services"] margin_right = 1000.0 margin_bottom = 49.0 text = "Found services:" [node name="FoundServiceList" type="ItemList" parent="VBoxContainer/Services"] margin_top = 53.0 margin_right = 1000.0 margin_bottom = 553.0 rect_min_size = Vector2( 0, 500 ) [node name="Log" type="VBoxContainer" parent="VBoxContainer"] margin_top = 1142.0 margin_right = 1000.0 margin_bottom = 2195.0 size_flags_horizontal = 3 [node name="LogLabel" type="Label" parent="VBoxContainer/Log"] margin_right = 1000.0 margin_bottom = 49.0 text = "Log:" [node name="Log" type="RichTextLabel" parent="VBoxContainer/Log"] margin_top = 53.0 margin_right = 1000.0 margin_bottom = 1053.0 rect_min_size = Vector2( 0, 1000 ) focus_mode = 2 size_flags_horizontal = 3 scroll_following = true selection_enabled = true [connection signal="button_up" from="VBoxContainer/TextAndButtons/HBoxContainer/SendTextButton" to="." method="_on_SendTextButton_button_up"] [connection signal="button_up" from="VBoxContainer/TextAndButtons/Buttons/ScanButton" to="." method="_on_ScanButton_button_up"] [connection signal="button_up" from="VBoxContainer/TextAndButtons/Buttons/ConnectButton" to="." method="_on_ConnectButton_button_up"] [connection signal="button_up" from="VBoxContainer/TextAndButtons/Buttons/DisconnectButton" to="." method="_on_DisconnectButton_button_up"] [connection signal="item_selected" from="VBoxContainer/Devices/FoundDevicesList" to="." method="_on_FoundDevicesList_item_selected"] [connection signal="item_selected" from="VBoxContainer/Services/FoundServiceList" to="." method="_on_FoundServiceList_item_selected"]