checheche/Robo-Bus-A31-HMI/control.tscn
2024-12-25 11:56:12 +08:00

228 lines
8.6 KiB
Plaintext

[gd_scene load_steps=19 format=3 uid="uid://cxqxr0p1wkkdy"]
[ext_resource type="Texture2D" uid="uid://blakv4vhyfyro" path="res://pad_hmi_ui/home/home page_bg.png" id="1_brgxr"]
[ext_resource type="PackedScene" uid="uid://bo8w4npgct57n" path="res://res3D/ego_vehicle.tscn" id="13_tjeco"]
[ext_resource type="Texture2D" uid="uid://cj40hol02w7c5" path="res://pad_hmi_ui/home/power_btn.png" id="13_yxy1g"]
[ext_resource type="Environment" uid="uid://c5ksuke04sr07" path="res://res3D/mainEnvironment.tres" id="14_ndify"]
[ext_resource type="PackedScene" uid="uid://dx5owafvbqdec" path="res://Modules/data_panel.tscn" id="47_jqspi"]
[ext_resource type="Script" path="res://code/main.gd" id="48_l81l5"]
[ext_resource type="PackedScene" uid="uid://tqrf0pcv1bay" path="res://Modules/main_3d_vehicle.tscn" id="48_p5kic"]
[ext_resource type="PackedScene" uid="uid://dd5e3n5lfbffj" path="res://Modules/information.tscn" id="49_s7rxh"]
[ext_resource type="Texture2D" uid="uid://dsl2hpmaayodk" path="res://pad_hmi_ui/taskbar/PIX_logo.png" id="50_86b81"]
[ext_resource type="PackedScene" uid="uid://33cgqbhyfl47" path="res://Modules/setting.tscn" id="50_kqjcx"]
[ext_resource type="PackedScene" uid="uid://84vxs0ksabkq" path="res://Modules/tabs.tscn" id="50_mi4fd"]
[ext_resource type="Texture2D" uid="uid://ruvsjrmynxch" path="res://pad_hmi_ui/taskbar/title.png" id="51_ptwd7"]
[ext_resource type="Texture2D" uid="uid://eevtiqj5g6a8" path="res://3.png" id="57_v7hfe"]
[ext_resource type="Script" path="res://common/base/base_control.gd" id="79_i36i4"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kh08u"]
bg_color = Color(0.0705882, 0.0431373, 0.164706, 1)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mkgnk"]
texture = ExtResource("51_ptwd7")
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_46du7"]
content_margin_left = 15.0
content_margin_top = 15.0
content_margin_right = 15.0
content_margin_bottom = 15.0
bg_color = Color(0.0705882, 0.0431373, 0.164706, 1)
corner_radius_top_left = 1024
corner_radius_top_right = 1024
corner_radius_bottom_right = 1024
corner_radius_bottom_left = 1024
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_78bhk"]
content_margin_left = 35.0
content_margin_top = 8.0
content_margin_right = 35.0
content_margin_bottom = 8.0
bg_color = Color(0.0705882, 0.0431373, 0.164706, 1)
corner_radius_top_left = 1024
corner_radius_top_right = 1024
corner_radius_bottom_right = 1024
corner_radius_bottom_left = 1024
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_horizontal_guides_ = [1600.0, 42.0, 1561.0]
metadata/_edit_vertical_guides_ = [2560.0, 30.0, 2491.0, 1443.0, 1758.0, 270.0]
metadata/_edit_use_anchors_ = true
[node name="EgoVehicle" parent="." instance=ExtResource("13_tjeco")]
[node name="TextureRect2" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_brgxr")
expand_mode = 1
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 30
theme_override_constants/margin_top = 40
theme_override_constants/margin_right = 30
theme_override_constants/margin_bottom = 40
script = ExtResource("48_l81l5")
styleBox = SubResource("StyleBoxFlat_kh08u")
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 30
[node name="Title" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_stretch_ratio = 1.4
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 82
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 50
script = ExtResource("79_i36i4")
styleBox = SubResource("StyleBoxTexture_mkgnk")
_pivot_offset = null
is_Scale = null
is_Rotation = null
is_OnClickScaleAwt = null
StatusTime = null
[node name="PixLogo" type="TextureRect" parent="MarginContainer/HBoxContainer/Title"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource("50_86b81")
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/Title"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
theme_override_constants/separation = 38
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/Title/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 28
[node name="Button" type="Button" parent="MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 23
theme_override_styles/focus = SubResource("StyleBoxFlat_46du7")
theme_override_styles/hover = SubResource("StyleBoxFlat_46du7")
theme_override_styles/pressed = SubResource("StyleBoxFlat_46du7")
theme_override_styles/normal = SubResource("StyleBoxFlat_46du7")
text = "Autoware"
script = ExtResource("79_i36i4")
_pivot_offset = "CENTER_RIGHT"
is_Scale = true
is_OnClickScaleAwt = null
[node name="Button2" type="Button" parent="MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_78bhk")
theme_override_styles/hover = SubResource("StyleBoxFlat_78bhk")
theme_override_styles/pressed = SubResource("StyleBoxFlat_78bhk")
theme_override_styles/normal = SubResource("StyleBoxFlat_78bhk")
text = "重启"
script = ExtResource("79_i36i4")
_pivot_offset = "CENTER_RIGHT"
is_Scale = true
is_OnClickScaleAwt = null
[node name="Button3" type="Button" parent="MarginContainer/HBoxContainer/Title/VBoxContainer/VBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
theme_override_styles/focus = SubResource("StyleBoxFlat_78bhk")
theme_override_styles/hover = SubResource("StyleBoxFlat_78bhk")
theme_override_styles/pressed = SubResource("StyleBoxFlat_78bhk")
theme_override_styles/normal = SubResource("StyleBoxFlat_78bhk")
text = "关机"
script = ExtResource("79_i36i4")
_pivot_offset = "CENTER_RIGHT"
is_Scale = true
is_OnClickScaleAwt = null
[node name="ShutdownIsScale" type="TextureRect" parent="MarginContainer/HBoxContainer/Title/VBoxContainer" node_paths=PackedStringArray("OnClickScaleArrNode")]
custom_minimum_size = Vector2(50, 52)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
texture = ExtResource("13_yxy1g")
script = ExtResource("79_i36i4")
is_Scale = true
OnClickScaleArrNode = [NodePath("../VBoxContainer/Button"), NodePath("../VBoxContainer/Button2"), NodePath("../VBoxContainer/Button3")]
size_max = 2.0
is_OnClickScaleAwt = true
[node name="Tabs" parent="MarginContainer/HBoxContainer/Title" instance=ExtResource("50_mi4fd")]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 21.0
[node name="DataPanel" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("47_jqspi")]
unique_name_in_owner = true
custom_minimum_size = Vector2(2320, 1520)
layout_mode = 2
[node name="Main3DVehicle" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("48_p5kic")]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="Information" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("49_s7rxh")]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(2320, 1520)
layout_mode = 2
[node name="Setting" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("50_kqjcx")]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(2320, 1520)
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="."]
visible = false
modulate = Color(1, 1, 1, 0.447059)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("57_v7hfe")
expand_mode = 1
[node name="Control" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource("14_ndify")
[connection signal="Onclick" from="MarginContainer/HBoxContainer/Title/Tabs" to="MarginContainer" method="_on_tabs_onclick"]
[connection signal="OnClick3DVehicle" from="MarginContainer/HBoxContainer/MarginContainer/DataPanel" to="MarginContainer" method="_on_data_panel_on_click_3d_vehicle"]