同步信息
This commit is contained in:
parent
96a8678574
commit
e40d0fb9b8
BIN
Robo-Bus-A31-HMI/.DS_Store
vendored
BIN
Robo-Bus-A31-HMI/.DS_Store
vendored
Binary file not shown.
737
Robo-Bus-A31-HMI/Modules/data_panel.tscn
Normal file
737
Robo-Bus-A31-HMI/Modules/data_panel.tscn
Normal file
@ -0,0 +1,737 @@
|
||||
[gd_scene load_steps=47 format=3 uid="uid://dx5owafvbqdec"]
|
||||
|
||||
[ext_resource type="Script" path="res://common/base/base_control.gd" id="1_gebae"]
|
||||
[ext_resource type="Texture2D" uid="uid://bhsjkyho6jr42" path="res://pad_hmi_ui/home/l2_1.png" id="2_oga35"]
|
||||
[ext_resource type="Shader" path="res://common/shader/round.gdshader" id="3_6kou5"]
|
||||
[ext_resource type="Texture2D" uid="uid://bigplutpkgp7o" path="res://pad_hmi_ui/home/Preview.png" id="4_fkt10"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgwf4d5wkwqgb" path="res://pad_hmi_ui/home/signal_icon_green.png" id="5_6abkt"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4ddgruml02uj" path="res://pad_hmi_ui/home/information_bg.png" id="6_gqb21"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1ncf47u6ssrd" path="res://pad_hmi_ui/home/arrow_icon_right.png" id="7_tcrvr"]
|
||||
[ext_resource type="Texture2D" uid="uid://dsoc1dfktnbff" path="res://pad_hmi_ui/home/wheel_icon.png" id="8_1mxjd"]
|
||||
[ext_resource type="Texture2D" uid="uid://culw8htusm3uk" path="res://pad_hmi_ui/home/online_icon.png" id="9_682iw"]
|
||||
[ext_resource type="Texture2D" uid="uid://c50227e2eywuh" path="res://pad_hmi_ui/home/NDK_icon_green.png" id="10_kebty"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbhtybumdqiml" path="res://pad_hmi_ui/home/auto_icon.png" id="11_7pajr"]
|
||||
[ext_resource type="Texture2D" uid="uid://b80xeeqwjs1er" path="res://pad_hmi_ui/home/l3_3.png" id="12_5pyxi"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckb5d4c584for" path="res://pad_hmi_ui/home/acc_bg.png" id="13_da81j"]
|
||||
[ext_resource type="Texture2D" uid="uid://c10kxffapn2gt" path="res://pad_hmi_ui/home/acc_bar.png" id="14_rblgy"]
|
||||
[ext_resource type="Texture2D" uid="uid://bm1s8eqmgruvf" path="res://pad_hmi_ui/home/battery_icon_green2.png" id="15_fxv8p"]
|
||||
[ext_resource type="Texture2D" uid="uid://2fhipj2re8cm" path="res://pad_hmi_ui/home/l3_4.png" id="16_jnve3"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2arewn6paknb" path="res://pad_hmi_ui/home/co2_icon_dis.png" id="17_7703o"]
|
||||
[ext_resource type="Texture2D" uid="uid://cbdsh233vvi6q" path="res://pad_hmi_ui/home/smoke_icon_dis.png" id="18_pudfv"]
|
||||
[ext_resource type="Texture2D" uid="uid://bqk5wfyam21e8" path="res://pad_hmi_ui/home/belts_icon_dis.png" id="19_0qolv"]
|
||||
[ext_resource type="Texture2D" uid="uid://s1lbea1dle4g" path="res://pad_hmi_ui/home/highbeam_icon.png" id="20_xblyp"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2dketby5loag" path="res://pad_hmi_ui/home/map.png" id="21_h8qb6"]
|
||||
[ext_resource type="Texture2D" uid="uid://chdu0kfu6c7o4" path="res://pad_hmi_ui/home/l3_6.png" id="22_co28d"]
|
||||
[ext_resource type="Texture2D" uid="uid://ku2yccf0rbwk" path="res://pad_hmi_ui/home/l2_2.png" id="23_30tmj"]
|
||||
[ext_resource type="PackedScene" uid="uid://cffp3l0yvp4fg" path="res://Modules/volume_settings.tscn" id="24_xb5k6"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccp1epic52e7k" path="res://Modules/margin_container_2.tscn" id="25_8qx5b"]
|
||||
[ext_resource type="Texture2D" uid="uid://eqerf7cx3cfa" path="res://pad_hmi_ui/home/sitechoose_bg.png" id="26_h2ca6"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6y0bhe0ygnw2" path="res://pad_hmi_ui/home/pull_btn.png" id="27_mc4go"]
|
||||
[ext_resource type="Texture2D" uid="uid://c8huui56t4lo4" path="res://pad_hmi_ui/home/locate_btn_dis.png" id="28_hx0jv"]
|
||||
[ext_resource type="Texture2D" uid="uid://d3sqjh1bpfeyy" path="res://pad_hmi_ui/home/stop_btn_high.png" id="29_d8rna"]
|
||||
[ext_resource type="Script" path="res://code/hsliderPor.gd" id="30_idfpi"]
|
||||
[ext_resource type="Texture2D" uid="uid://eu54w8n46m0c" path="res://pad_hmi_ui/home/start_btn_high.png" id="31_x5wo1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgxq16wpio7r5" path="res://pad_hmi_ui/home/distance_icon.png" id="32_p3q22"]
|
||||
[ext_resource type="Texture2D" uid="uid://djyamaij5878r" path="res://pad_hmi_ui/home/time_icon.png" id="33_nsaf0"]
|
||||
[ext_resource type="Texture2D" uid="uid://f7343a0tweet" path="res://pad_hmi_ui/home/robobus_icon.png" id="34_q6dol"]
|
||||
[ext_resource type="Texture2D" uid="uid://c7xokasxsg5pv" path="res://pad_hmi_ui/home/progress_bar.png" id="35_jj74k"]
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ia2eh"]
|
||||
texture = ExtResource("2_oga35")
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_yeotr"]
|
||||
shader = ExtResource("3_6kou5")
|
||||
shader_parameter/size = Vector2(10, 8)
|
||||
shader_parameter/round_all = 0.355
|
||||
shader_parameter/left_top = 0.0
|
||||
shader_parameter/right_top = 0.0
|
||||
shader_parameter/left_bottom = 0.0
|
||||
shader_parameter/right_botom = 0.0
|
||||
shader_parameter/border_color = null
|
||||
shader_parameter/Background_color = null
|
||||
shader_parameter/Background_color_a = 0.0
|
||||
shader_parameter/border_width = 0.0
|
||||
shader_parameter/isColor = false
|
||||
shader_parameter/isBackground_color = false
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_j2i4v"]
|
||||
content_margin_left = 34.0
|
||||
content_margin_top = 23.0
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_a74mg"]
|
||||
texture = ExtResource("12_5pyxi")
|
||||
texture_margin_left = 32.0
|
||||
texture_margin_top = 32.0
|
||||
texture_margin_right = 31.0
|
||||
texture_margin_bottom = 30.0
|
||||
region_rect = Rect2(0, 0, 391, 150)
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_bmudn"]
|
||||
content_margin_top = 29.0
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7qxv8"]
|
||||
shader = ExtResource("3_6kou5")
|
||||
shader_parameter/size = Vector2(9.31, 5.54)
|
||||
shader_parameter/round_all = 0.395
|
||||
shader_parameter/left_top = 0.0
|
||||
shader_parameter/right_top = 0.0
|
||||
shader_parameter/left_bottom = 0.0
|
||||
shader_parameter/right_botom = 0.0
|
||||
shader_parameter/border_color = null
|
||||
shader_parameter/Background_color = null
|
||||
shader_parameter/Background_color_a = 0.0
|
||||
shader_parameter/border_width = 0.0
|
||||
shader_parameter/isColor = false
|
||||
shader_parameter/isBackground_color = false
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_61ssv"]
|
||||
texture = ExtResource("23_30tmj")
|
||||
|
||||
[sub_resource type="FontVariation" id="FontVariation_frbsn"]
|
||||
spacing_glyph = 2
|
||||
spacing_space = 4
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_dyppf"]
|
||||
content_margin_left = 58.0
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_v7412"]
|
||||
texture = ExtResource("26_h2ca6")
|
||||
expand_margin_top = 50.0
|
||||
expand_margin_bottom = 50.0
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_gpo2x"]
|
||||
texture = ExtResource("35_jj74k")
|
||||
texture_margin_left = 7.0
|
||||
texture_margin_right = 6.0
|
||||
expand_margin_top = 1.0
|
||||
expand_margin_bottom = 1.0
|
||||
|
||||
[node name="DataPanel" type="HBoxContainer"]
|
||||
visible = false
|
||||
theme_override_constants/separation = 30
|
||||
|
||||
[node name="MediumMenu" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 15.0
|
||||
theme_override_constants/margin_left = 53
|
||||
theme_override_constants/margin_top = 25
|
||||
theme_override_constants/margin_right = 34
|
||||
theme_override_constants/margin_bottom = 49
|
||||
script = ExtResource("1_gebae")
|
||||
styleBox = SubResource("StyleBoxTexture_ia2eh")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MediumMenu"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 50
|
||||
|
||||
[node name="CarInfoDisplay" type="HBoxContainer" parent="MediumMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 1.51
|
||||
theme_override_constants/separation = 47
|
||||
script = ExtResource("1_gebae")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="3DVehicle" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 2.8
|
||||
mouse_filter = 0
|
||||
theme_override_constants/margin_top = 25
|
||||
script = ExtResource("1_gebae")
|
||||
is_Rotation = null
|
||||
size_max = 0.3
|
||||
is_OnClickScaleAwt = null
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle"]
|
||||
material = SubResource("ShaderMaterial_yeotr")
|
||||
layout_mode = 2
|
||||
texture = ExtResource("4_fkt10")
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="3DVehicleInformation" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
theme_override_font_sizes/font_size = 22
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_j2i4v")
|
||||
text = "FPS:51"
|
||||
|
||||
[node name="TrafficLight" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
theme_override_constants/margin_top = 13
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/TrafficLight"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
texture = ExtResource("5_6abkt")
|
||||
|
||||
[node name="DrivingInformation" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 8
|
||||
theme_override_constants/margin_bottom = 53
|
||||
script = ExtResource("1_gebae")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("6_gqb21")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 17
|
||||
theme_override_constants/margin_right = 27
|
||||
|
||||
[node name="Steering" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
texture = ExtResource("7_tcrvr")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -3
|
||||
|
||||
[node name="Speed" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 49
|
||||
text = "20.0"
|
||||
|
||||
[node name="SpeedUnit" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "Km/h"
|
||||
|
||||
[node name="SteeringWheel" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("8_1mxjd")
|
||||
|
||||
[node name="VehicleInformation" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("1_gebae")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 32
|
||||
|
||||
[node name="InformationDisplay1" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="OnlineStatus" type="HBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1/OnlineStatus"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("9_682iw")
|
||||
|
||||
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1/OnlineStatus"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
text = "在线"
|
||||
|
||||
[node name="NDK" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("10_kebty")
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("11_7pajr")
|
||||
|
||||
[node name="InformationDisplay2" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 25
|
||||
theme_override_constants/margin_bottom = 16
|
||||
script = ExtResource("1_gebae")
|
||||
styleBox = SubResource("StyleBoxTexture_a74mg")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="MarginContainer" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 13
|
||||
|
||||
[node name="GearAdjustment" type="HBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 73
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 35
|
||||
text = "P"
|
||||
|
||||
[node name="Label2" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 35
|
||||
text = "R"
|
||||
|
||||
[node name="Label3" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 35
|
||||
text = "N"
|
||||
|
||||
[node name="Label4" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 35
|
||||
text = "D"
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = -29
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 38
|
||||
theme_override_constants/margin_top = 13
|
||||
theme_override_constants/margin_right = 40
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
texture = ExtResource("13_da81j")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="TextureProgressBar" type="TextureProgressBar" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
value = 50.0
|
||||
fill_mode = 1
|
||||
texture_progress = ExtResource("14_rblgy")
|
||||
|
||||
[node name="TextureProgressBar2" type="TextureProgressBar" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
value = 50.0
|
||||
texture_progress = ExtResource("14_rblgy")
|
||||
|
||||
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_bmudn")
|
||||
text = "ACC"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="InformationDisplay3" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 17
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("12_5pyxi")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 39
|
||||
theme_override_constants/margin_top = 19
|
||||
theme_override_constants/margin_right = 40
|
||||
|
||||
[node name="BatteryLife" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
|
||||
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "续航"
|
||||
|
||||
[node name="BatteryLifeLabel" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "60"
|
||||
|
||||
[node name="Label3" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "Km"
|
||||
|
||||
[node name="SmallMileage" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "小里程"
|
||||
|
||||
[node name="SmallMileageLabel" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 34
|
||||
text = "20"
|
||||
|
||||
[node name="Label3" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "Km"
|
||||
|
||||
[node name="Power" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
theme_override_constants/separation = 13
|
||||
|
||||
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "电量"
|
||||
|
||||
[node name="PowerTextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("15_fxv8p")
|
||||
|
||||
[node name="PowerLabel" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "70%"
|
||||
|
||||
[node name="InformationDisplay4" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 17
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("16_jnve3")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 39
|
||||
theme_override_constants/margin_top = 29
|
||||
theme_override_constants/margin_right = 40
|
||||
theme_override_constants/margin_bottom = 27
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
mouse_filter = 0
|
||||
texture = ExtResource("17_7703o")
|
||||
script = ExtResource("1_gebae")
|
||||
size_max = 2.0
|
||||
is_OnClickScaleAwt = null
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 0
|
||||
mouse_filter = 0
|
||||
texture = ExtResource("18_pudfv")
|
||||
script = ExtResource("1_gebae")
|
||||
size_max = 2.0
|
||||
is_OnClickScaleAwt = null
|
||||
|
||||
[node name="TextureRect3" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 8
|
||||
mouse_filter = 0
|
||||
texture = ExtResource("19_0qolv")
|
||||
script = ExtResource("1_gebae")
|
||||
size_max = 2.0
|
||||
is_OnClickScaleAwt = null
|
||||
|
||||
[node name="TextureRect4" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 8
|
||||
mouse_filter = 0
|
||||
texture = ExtResource("20_xblyp")
|
||||
script = ExtResource("1_gebae")
|
||||
size_max = 2.0
|
||||
is_OnClickScaleAwt = null
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="MediumMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 50
|
||||
script = ExtResource("1_gebae")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/HBoxContainer2"]
|
||||
modulate = Color(1, 0, 0, 1)
|
||||
material = SubResource("ShaderMaterial_7qxv8")
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 1.58
|
||||
texture = ExtResource("21_h8qb6")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MediumMenu/VBoxContainer/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
texture = ExtResource("22_co28d")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="RightMenu" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_stretch_ratio = 6.0
|
||||
theme_override_constants/margin_left = 39
|
||||
theme_override_constants/margin_right = 39
|
||||
script = ExtResource("1_gebae")
|
||||
styleBox = SubResource("StyleBoxTexture_61ssv")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="RightMenu"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 26
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="RightMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 54
|
||||
theme_override_constants/margin_top = 18
|
||||
theme_override_constants/margin_right = 9
|
||||
|
||||
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "25°C"
|
||||
|
||||
[node name="Label2" type="Label" parent="RightMenu/VBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
theme_override_fonts/font = SubResource("FontVariation_frbsn")
|
||||
theme_override_font_sizes/font_size = 31
|
||||
text = "2024-04-27 00:35:24"
|
||||
|
||||
[node name="VolumeSettings" parent="RightMenu/VBoxContainer" instance=ExtResource("24_xb5k6")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HSlider" parent="RightMenu/VBoxContainer/VolumeSettings" index="0"]
|
||||
value = 40.0
|
||||
|
||||
[node name="MarginContainer2" parent="RightMenu/VBoxContainer" instance=ExtResource("25_8qx5b")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MarginContainer3" type="MarginContainer" parent="RightMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/margin_left = 14
|
||||
theme_override_constants/margin_top = 105
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="RightMenu/VBoxContainer/MarginContainer3"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("26_h2ca6")
|
||||
|
||||
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer3/TextureRect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 4
|
||||
anchor_top = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_top = -11.5
|
||||
offset_right = 576.0
|
||||
offset_bottom = 11.5
|
||||
grow_vertical = 2
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
|
||||
text = "站点选择"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="RightMenu/VBoxContainer/MarginContainer3"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
theme_override_constants/margin_left = 29
|
||||
theme_override_constants/margin_right = 29
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="RightMenu/VBoxContainer/MarginContainer3/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("27_mc4go")
|
||||
|
||||
[node name="MarginContainer4" type="MarginContainer" parent="RightMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_constants/margin_top = 51
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer4"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 39
|
||||
|
||||
[node name="Button" type="Button" parent="RightMenu/VBoxContainer/MarginContainer4/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
focus_mode = 0
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "定位"
|
||||
icon = ExtResource("28_hx0jv")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
script = ExtResource("1_gebae")
|
||||
is_Scale = true
|
||||
|
||||
[node name="Button2" type="Button" parent="RightMenu/VBoxContainer/MarginContainer4/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
focus_mode = 0
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "下发"
|
||||
icon = ExtResource("28_hx0jv")
|
||||
flat = true
|
||||
icon_alignment = 1
|
||||
script = ExtResource("1_gebae")
|
||||
is_Scale = true
|
||||
|
||||
[node name="MarginContainer5" type="MarginContainer" parent="RightMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 15
|
||||
theme_override_constants/margin_top = 49
|
||||
|
||||
[node name="HSlider" type="HSlider" parent="RightMenu/VBoxContainer/MarginContainer5"]
|
||||
layout_mode = 2
|
||||
theme_override_icons/grabber = ExtResource("29_d8rna")
|
||||
theme_override_icons/grabber_highlight = ExtResource("29_d8rna")
|
||||
theme_override_icons/grabber_disabled = ExtResource("29_d8rna")
|
||||
theme_override_icons/tick = ExtResource("26_h2ca6")
|
||||
theme_override_styles/slider = SubResource("StyleBoxTexture_v7412")
|
||||
script = ExtResource("30_idfpi")
|
||||
texture1 = ExtResource("31_x5wo1")
|
||||
texture2 = ExtResource("29_d8rna")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer5"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
mouse_filter = 2
|
||||
theme_override_constants/separation = 230
|
||||
|
||||
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer5/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "停止"
|
||||
|
||||
[node name="Label2" type="Label" parent="RightMenu/VBoxContainer/MarginContainer5/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 29
|
||||
text = "启动"
|
||||
|
||||
[node name="MarginContainer7" type="MarginContainer" parent="RightMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 41
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer7"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 21
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="RightMenu/VBoxContainer/MarginContainer7/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("32_p3q22")
|
||||
|
||||
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer7/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 21
|
||||
text = "500m"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer7"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
theme_override_constants/separation = 21
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="RightMenu/VBoxContainer/MarginContainer7/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("33_nsaf0")
|
||||
|
||||
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer7/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 21
|
||||
text = "10min"
|
||||
|
||||
[node name="MarginContainer8" type="MarginContainer" parent="RightMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = 1
|
||||
|
||||
[node name="HSlider" type="HSlider" parent="RightMenu/VBoxContainer/MarginContainer8"]
|
||||
layout_mode = 2
|
||||
theme_override_icons/grabber = ExtResource("34_q6dol")
|
||||
theme_override_icons/grabber_highlight = ExtResource("34_q6dol")
|
||||
theme_override_icons/grabber_disabled = ExtResource("34_q6dol")
|
||||
theme_override_styles/grabber_area = SubResource("StyleBoxTexture_gpo2x")
|
||||
theme_override_styles/grabber_area_highlight = SubResource("StyleBoxTexture_gpo2x")
|
||||
value = 50.0
|
||||
|
||||
[node name="MarginContainer9" type="MarginContainer" parent="RightMenu/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 16
|
||||
theme_override_constants/margin_top = -7
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer9"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 21
|
||||
|
||||
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer9/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
text = "长通集团北"
|
||||
|
||||
[node name="HBoxContainer2" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer9"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
theme_override_constants/separation = 21
|
||||
|
||||
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer9/HBoxContainer2"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 25
|
||||
text = "长通集团南"
|
||||
|
||||
[connection signal="drag_ended" from="RightMenu/VBoxContainer/MarginContainer5/HSlider" to="RightMenu/VBoxContainer/MarginContainer5/HSlider" method="_on_drag_ended"]
|
||||
|
||||
[editable path="RightMenu/VBoxContainer/VolumeSettings"]
|
129
Robo-Bus-A31-HMI/Modules/information.tscn
Normal file
129
Robo-Bus-A31-HMI/Modules/information.tscn
Normal file
@ -0,0 +1,129 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://dd5e3n5lfbffj"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bhsjkyho6jr42" path="res://pad_hmi_ui/home/l2_1.png" id="1_c65lw"]
|
||||
[ext_resource type="Texture2D" uid="uid://cuekwjm0hawts" path="res://pad_hmi_ui/information/log_bg.png" id="2_j8yeg"]
|
||||
[ext_resource type="PackedScene" uid="uid://c2jso50cp2n4t" path="res://Modules/information_item.tscn" id="3_742pl"]
|
||||
[ext_resource type="Texture2D" uid="uid://crgg6n2a4ggap" path="res://pad_hmi_ui/information/radar_high.png" id="4_deb0i"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2eyfue60u1re" path="res://pad_hmi_ui/information/navigation_high.png" id="5_uxg1s"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1iswmxqs1iwb" path="res://pad_hmi_ui/information/map_high.png" id="6_svo2r"]
|
||||
[ext_resource type="Texture2D" uid="uid://dj0dwbvd1rq64" path="res://pad_hmi_ui/information/camera_high.png" id="7_2u7cb"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbsxig3tbx3qm" path="res://pad_hmi_ui/information/can_high.png" id="8_qocw3"]
|
||||
|
||||
[node name="Information" type="MarginContainer"]
|
||||
|
||||
[node name="InformationBackground" type="NinePatchRect" parent="."]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("1_c65lw")
|
||||
patch_margin_left = 64
|
||||
patch_margin_top = 64
|
||||
patch_margin_right = 64
|
||||
patch_margin_bottom = 64
|
||||
|
||||
[node name="VehicleInformation" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
theme_override_constants/margin_left = 55
|
||||
theme_override_constants/margin_top = 66
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="VehicleInformation"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 38
|
||||
|
||||
[node name="Label" type="Label" parent="VehicleInformation/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 46
|
||||
text = "车辆信息"
|
||||
|
||||
[node name="Label2" type="Label" parent="VehicleInformation/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 31
|
||||
text = "车辆名:PIX001"
|
||||
|
||||
[node name="SystemInformation" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 0
|
||||
theme_override_constants/margin_top = 20
|
||||
theme_override_constants/margin_right = 50
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="SystemInformation"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 175
|
||||
|
||||
[node name="Label" type="Label" parent="SystemInformation/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "25°C"
|
||||
|
||||
[node name="Label2" type="Label" parent="SystemInformation/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "2024-04-27 00:35:24"
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
theme_override_constants/margin_left = 53
|
||||
theme_override_constants/margin_top = 5
|
||||
theme_override_constants/margin_bottom = 41
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 34
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
texture = ExtResource("2_j8yeg")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 57
|
||||
|
||||
[node name="InformationItem" parent="MarginContainer/HBoxContainer/VBoxContainer" instance=ExtResource("3_742pl")]
|
||||
layout_mode = 2
|
||||
Name = "雷达"
|
||||
ActivationText = "已连接"
|
||||
TextureItem = ExtResource("4_deb0i")
|
||||
|
||||
[node name="InformationItem2" parent="MarginContainer/HBoxContainer/VBoxContainer" instance=ExtResource("3_742pl")]
|
||||
layout_mode = 2
|
||||
IsActivation = true
|
||||
Name = "惯导"
|
||||
ActivationText = "已连接"
|
||||
TextureItem = ExtResource("5_uxg1s")
|
||||
|
||||
[node name="InformationItem3" parent="MarginContainer/HBoxContainer/VBoxContainer" instance=ExtResource("3_742pl")]
|
||||
layout_mode = 2
|
||||
IsActivation = true
|
||||
Name = "地图"
|
||||
ActivationText = "已加载"
|
||||
TextureItem = ExtResource("6_svo2r")
|
||||
|
||||
[node name="InformationItem4" parent="MarginContainer/HBoxContainer/VBoxContainer" instance=ExtResource("3_742pl")]
|
||||
layout_mode = 2
|
||||
IsActivation = true
|
||||
Name = "转向模式"
|
||||
ActivationText = "前轮转向"
|
||||
TextureItem = ExtResource("6_svo2r")
|
||||
|
||||
[node name="InformationItem5" parent="MarginContainer/HBoxContainer/VBoxContainer" instance=ExtResource("3_742pl")]
|
||||
layout_mode = 2
|
||||
IsActivation = true
|
||||
Name = "摄像头"
|
||||
ActivationText = "以开启"
|
||||
TextureItem = ExtResource("7_2u7cb")
|
||||
|
||||
[node name="InformationItem6" parent="MarginContainer/HBoxContainer/VBoxContainer" instance=ExtResource("3_742pl")]
|
||||
layout_mode = 2
|
||||
IsActivation = true
|
||||
Name = "底盘CAN"
|
||||
ActivationText = "已连接"
|
||||
TextureItem = ExtResource("8_qocw3")
|
222
Robo-Bus-A31-HMI/Modules/main_3d_vehicle.tscn
Normal file
222
Robo-Bus-A31-HMI/Modules/main_3d_vehicle.tscn
Normal file
@ -0,0 +1,222 @@
|
||||
[gd_scene load_steps=12 format=3 uid="uid://tqrf0pcv1bay"]
|
||||
|
||||
[ext_resource type="Script" path="res://pad_hmi_ui/Main3DVehicle.gd" id="1_nyon1"]
|
||||
[ext_resource type="Texture2D" uid="uid://bhsjkyho6jr42" path="res://pad_hmi_ui/home/l2_1.png" id="2_pl52w"]
|
||||
[ext_resource type="Shader" path="res://common/shader/round.gdshader" id="3_pmm6i"]
|
||||
[ext_resource type="Texture2D" uid="uid://bigplutpkgp7o" path="res://pad_hmi_ui/home/Preview.png" id="4_skpou"]
|
||||
[ext_resource type="Script" path="res://common/base/base_control.gd" id="5_wa5ip"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgwf4d5wkwqgb" path="res://pad_hmi_ui/home/signal_icon_green.png" id="6_cdhlp"]
|
||||
[ext_resource type="Texture2D" uid="uid://b4ddgruml02uj" path="res://pad_hmi_ui/home/information_bg.png" id="7_7in7q"]
|
||||
[ext_resource type="Texture2D" uid="uid://c1ncf47u6ssrd" path="res://pad_hmi_ui/home/arrow_icon_right.png" id="8_3ei63"]
|
||||
[ext_resource type="Texture2D" uid="uid://dsoc1dfktnbff" path="res://pad_hmi_ui/home/wheel_icon.png" id="9_m3c80"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_8c5rn"]
|
||||
shader = ExtResource("3_pmm6i")
|
||||
shader_parameter/size = Vector2(10, 8)
|
||||
shader_parameter/round_all = 0.25
|
||||
shader_parameter/left_top = 0.0
|
||||
shader_parameter/right_top = 0.0
|
||||
shader_parameter/left_bottom = 0.0
|
||||
shader_parameter/right_botom = 0.0
|
||||
shader_parameter/border_color = Color(1, 1, 1, 1)
|
||||
shader_parameter/Background_color = null
|
||||
shader_parameter/Background_color_a = 0.0
|
||||
shader_parameter/border_width = 0.0
|
||||
shader_parameter/isColor = false
|
||||
shader_parameter/isBackground_color = false
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_j2i4v"]
|
||||
content_margin_left = 34.0
|
||||
content_margin_top = 23.0
|
||||
|
||||
[node name="Main3DVehicle" type="MarginContainer"]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(2320, 1520)
|
||||
script = ExtResource("1_nyon1")
|
||||
|
||||
[node name="Main3DVehicleBackground" type="NinePatchRect" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_pl52w")
|
||||
patch_margin_left = 64
|
||||
patch_margin_top = 64
|
||||
patch_margin_right = 64
|
||||
patch_margin_bottom = 64
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 53
|
||||
theme_override_constants/margin_top = 51
|
||||
theme_override_constants/margin_right = 40
|
||||
theme_override_constants/margin_bottom = 51
|
||||
|
||||
[node name="Main3DVehicleTexture" type="TextureRect" parent="MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
material = SubResource("ShaderMaterial_8c5rn")
|
||||
layout_mode = 2
|
||||
texture = ExtResource("4_skpou")
|
||||
expand_mode = 1
|
||||
script = ExtResource("5_wa5ip")
|
||||
_pivot_offset = "Null"
|
||||
StatusTime = 0.3
|
||||
scaleMin = Vector2(0.49, 0.57)
|
||||
|
||||
[node name="PretendMain3DVehicleInformation" type="MarginContainer" parent="MarginContainer/Main3DVehicleTexture"]
|
||||
unique_name_in_owner = true
|
||||
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="Label" type="Label" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
theme_override_font_sizes/font_size = 22
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_j2i4v")
|
||||
text = "FPS:51"
|
||||
|
||||
[node name="TrafficLight" type="MarginContainer" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
theme_override_constants/margin_top = 13
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/TrafficLight"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
texture = ExtResource("6_cdhlp")
|
||||
|
||||
[node name="DrivingInformation" type="MarginContainer" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 8
|
||||
theme_override_constants/margin_bottom = 53
|
||||
script = ExtResource("5_wa5ip")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("7_7in7q")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 17
|
||||
theme_override_constants/margin_right = 27
|
||||
|
||||
[node name="Steering" type="TextureRect" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
texture = ExtResource("8_3ei63")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -3
|
||||
|
||||
[node name="Speed" type="Label" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 49
|
||||
text = "20.0"
|
||||
|
||||
[node name="SpeedUnit" type="Label" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "Km/h"
|
||||
|
||||
[node name="SteeringWheel" type="TextureRect" parent="MarginContainer/Main3DVehicleTexture/PretendMain3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("9_m3c80")
|
||||
|
||||
[node name="Main3DVehicleInformation" type="MarginContainer" parent="MarginContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/Main3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
theme_override_font_sizes/font_size = 22
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_j2i4v")
|
||||
text = "FPS:51"
|
||||
|
||||
[node name="TrafficLight" type="MarginContainer" parent="MarginContainer/Main3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
theme_override_constants/margin_top = 13
|
||||
|
||||
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/Main3DVehicleInformation/TrafficLight"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 0
|
||||
texture = ExtResource("6_cdhlp")
|
||||
|
||||
[node name="DrivingInformation" type="MarginContainer" parent="MarginContainer/Main3DVehicleInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 8
|
||||
theme_override_constants/margin_bottom = 53
|
||||
script = ExtResource("5_wa5ip")
|
||||
_pivot_offset = null
|
||||
is_Scale = null
|
||||
is_Rotation = null
|
||||
is_OnClickScaleAwt = null
|
||||
StatusTime = null
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Main3DVehicleInformation/DrivingInformation"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("7_7in7q")
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/Main3DVehicleInformation/DrivingInformation"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 17
|
||||
theme_override_constants/margin_right = 27
|
||||
|
||||
[node name="Steering" type="TextureRect" parent="MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
texture = ExtResource("8_3ei63")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
theme_override_constants/separation = -3
|
||||
|
||||
[node name="Speed" type="Label" parent="MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 49
|
||||
text = "20.0"
|
||||
|
||||
[node name="SpeedUnit" type="Label" parent="MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
theme_override_font_sizes/font_size = 23
|
||||
text = "Km/h"
|
||||
|
||||
[node name="SteeringWheel" type="TextureRect" parent="MarginContainer/Main3DVehicleInformation/DrivingInformation/MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("9_m3c80")
|
||||
|
||||
[connection signal="on_click" from="MarginContainer/Main3DVehicleTexture" to="." method="_on_main_3d_vehicle_texture_on_click"]
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user