diff --git a/Robo-Bus-A31-HMI/Modules/language_tabs.gd b/Robo-Bus-A31-HMI/Modules/language_tabs.gd index 2ed1f01..dae18da 100644 --- a/Robo-Bus-A31-HMI/Modules/language_tabs.gd +++ b/Robo-Bus-A31-HMI/Modules/language_tabs.gd @@ -1,9 +1,11 @@ extends MarginContainer + + #移动背景 @onready var texture_rect: TextureRect = $Control/TextureRect #需要连接信号的节点数组 @export var nodearr : Array[Node] -signal Onclick(State) +signal Onclick(State:int) var SelectNode = null: set(value): if value != SelectNode: @@ -28,6 +30,11 @@ func _ready() -> void: if !OnClickIsCooling: SelectNode = _node OnClickIsCooling = true - Onclick.emit(_node.name) + Onclick.emit(_node.index) ) pass # Replace with function body. + +#无信号发出模式下设置选择项 +func set_select_index_without_signal(index:int): + if index void: + pass # Replace with function body. + + +#当构建按钮被按下时触发 +func _on_build_on_click(_node: Variant) -> void: + pass # Replace with function body. + +#导出类型,0为.bag,1为.pcd +var export_type:int=0 +func _on_export_on_click(_node: Variant) -> void: + pass # Replace with function body. + +#当下载按钮被按下时触发 +func _on_download_on_click(_node: Variant) -> void: + pass # Replace with function body. + +#上传类型,0为.pcd,1为.osm +var upload_type:int=0 +#当上传按钮被按下时触发 +func _on_upload_on_click(_node: Variant) -> void: + pass # Replace with function body. + + + + +func _on_upload_tabs_onclick(State: int) -> void: + upload_type=State + pass # Replace with function body. + + +func _on_export_tabs_onclick(State: int) -> void: + export_type=State + pass # Replace with function body. + + +func _on_language_tabs_onclick(State: int) -> void: + if language!=State: + language=State + language_changed.emit() + pass # Replace with function body. + + +#当用户按下连接服务器按钮后触发 +func _on_ws_connect_button_pressed() -> void: + pass # Replace with function body. + + + +#向左下角的log面板添加一条消息 +func add_info(str:String): + + %infoLabel.text+=("\n"+str) + pass + + + +#当用户在在更新选择时选择确定更新触发(显示更新的label为%updateMessage,可以更改里面的文本显示不同的更新信息) +func _on_update_cancel_btn_on_click(_node: Variant) -> void: + pass # Replace with function body. + +#当用户在更新选择时取消更新触发 +func _on_update_accept_btn_on_click(_node: Variant) -> void: + pass # Replace with function body. + +#当用户点击检查更新时触发 +func _on_update_button_on_click(_node: Variant) -> void: + pass # Replace with function body. diff --git a/Robo-Bus-A31-HMI/Modules/setting.tscn b/Robo-Bus-A31-HMI/Modules/setting.tscn index ca6f335..06f49c1 100644 --- a/Robo-Bus-A31-HMI/Modules/setting.tscn +++ b/Robo-Bus-A31-HMI/Modules/setting.tscn @@ -1,8 +1,741 @@ -[gd_scene format=3 uid="uid://33cgqbhyfl47"] +[gd_scene load_steps=36 format=3 uid="uid://33cgqbhyfl47"] -[node name="MarginContainer" type="MarginContainer"] +[ext_resource type="Script" path="res://Modules/setting.gd" id="1_ehdr1"] +[ext_resource type="Texture2D" uid="uid://c17iqjrj23ojq" path="res://pad_hmi_ui/setting/setting_bg_cut.png" id="1_x62x2"] +[ext_resource type="Texture2D" uid="uid://dncdx223e1re4" path="res://pad_hmi_ui/setting/function_bg.png" id="2_o74j2"] +[ext_resource type="Texture2D" uid="uid://dn28hdbut8alu" path="res://pad_hmi_ui/setting/progress_bg.png" id="3_lnvl1"] +[ext_resource type="Texture2D" uid="uid://img8vm70prej" path="res://pad_hmi_ui/setting/record_icon_high.png" id="3_r83c5"] +[ext_resource type="Texture2D" uid="uid://catp8wn7y4l1d" path="res://pad_hmi_ui/setting/record_icon_normal.png" id="3_t55mh"] +[ext_resource type="Texture2D" uid="uid://c0i40n0t78y8l" path="res://pad_hmi_ui/setting/progress_bar_high.png" id="4_pfp3a"] +[ext_resource type="Texture2D" uid="uid://c5yeqb150553k" path="res://pad_hmi_ui/setting/log_bg.png" id="5_ba7hx"] +[ext_resource type="Texture2D" uid="uid://bjrj72w6i84x4" path="res://pad_hmi_ui/setting/build_icon_normal.png" id="6_q5g71"] +[ext_resource type="Texture2D" uid="uid://c6v1wowbk102d" path="res://pad_hmi_ui/setting/mode_dis.png" id="6_xloj4"] +[ext_resource type="Texture2D" uid="uid://dfh82xt51gmjf" path="res://pad_hmi_ui/setting/build_icon_high.png" id="7_3wr4h"] +[ext_resource type="Texture2D" uid="uid://byhwmdjx3var2" path="res://pad_hmi_ui/setting/view_dis.png" id="7_vgc4b"] +[ext_resource type="Texture2D" uid="uid://bj215dprb2g1v" path="res://pad_hmi_ui/setting/eport_icon_normal.png" id="8_0e4lg"] +[ext_resource type="PackedScene" uid="uid://df31a6g0oklv" path="res://Modules/language_tabs.tscn" id="8_0kvbq"] +[ext_resource type="Texture2D" uid="uid://bjre0g7jh32oy" path="res://pad_hmi_ui/setting/export_icon_high.png" id="9_gdew3"] +[ext_resource type="Texture2D" uid="uid://b45cdi4mrcfpk" path="res://pad_hmi_ui/setting/server_bg.png" id="9_i06j1"] +[ext_resource type="PackedScene" uid="uid://cteu4g7833dk6" path="res://Modules/setting_tabs.tscn" id="10_i6ov6"] +[ext_resource type="Script" path="res://Modules/settingButtonItem.gd" id="10_jyc6b"] +[ext_resource type="Texture2D" uid="uid://eai2a6227py1" path="res://pad_hmi_ui/setting/connect_icon.png" id="11_g12mf"] +[ext_resource type="Texture2D" uid="uid://rf7k1oo23umb" path="res://pad_hmi_ui/setting/download_icon_normal.png" id="11_px13j"] +[ext_resource type="Texture2D" uid="uid://bgykactp343j6" path="res://pad_hmi_ui/setting/connect_icon_pressed.png" id="12_3rn0r"] +[ext_resource type="Texture2D" uid="uid://xcl6r32po8p8" path="res://pad_hmi_ui/setting/download_icon_high.png" id="12_ljpgt"] +[ext_resource type="Texture2D" uid="uid://dr5maw7xa58mq" path="res://pad_hmi_ui/setting/upload_icon_normal.png" id="13_8lrx3"] +[ext_resource type="Texture2D" uid="uid://bqxv0p5et7qnb" path="res://pad_hmi_ui/setting/connect_btn.png" id="13_g54n4"] +[ext_resource type="Texture2D" uid="uid://yspjrkbkr0re" path="res://pad_hmi_ui/setting/update_btn.png" id="14_32p5r"] +[ext_resource type="Script" path="res://common/base/base_control.gd" id="15_od2fy"] +[ext_resource type="Texture2D" uid="uid://t2ku0xn32sqd" path="res://pad_hmi_ui/setting/progress_bar_normal.png" id="16_rrajj"] +[ext_resource type="Texture2D" uid="uid://siw3iqyojrmb" path="res://pad_hmi_ui/setting/updatelog_bg.png" id="16_t8xnk"] +[ext_resource type="Texture2D" uid="uid://c15ltf6sdq5m1" path="res://pad_hmi_ui/setting/cancel_btn.png" id="17_r1mfq"] +[ext_resource type="Texture2D" uid="uid://o418ai5uhori" path="res://pad_hmi_ui/setting/confirm_btn.png" id="18_i0avx"] +[ext_resource type="PackedScene" uid="uid://ctjlpah7am5se" path="res://Modules/update_progress.tscn" id="19_ra4y1"] + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_bqmim"] +texture = ExtResource("2_o74j2") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_e3m7r"] +texture = ExtResource("5_ba7hx") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_jad8g"] +texture = ExtResource("9_i06j1") + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_12j7c"] +texture = ExtResource("13_g54n4") + +[node name="Setting" type="MarginContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +script = ExtResource("1_ehdr1") + +[node name="SettingBg" type="TextureRect" parent="."] +layout_mode = 2 +texture = ExtResource("1_x62x2") + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +layout_mode = 2 +theme_override_constants/separation = 32 + +[node name="margin" type="MarginContainer" parent="HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_stretch_ratio = 1.01 +theme_override_constants/margin_left = 53 +theme_override_constants/margin_top = 65 +theme_override_constants/margin_right = 54 +theme_override_constants/margin_bottom = 50 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/margin"] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="Label" type="Label" parent="HBoxContainer/margin/VBoxContainer"] +layout_mode = 2 +theme_override_constants/line_spacing = 0 +theme_override_font_sizes/font_size = 48 +text = "系统设置" +vertical_alignment = 1 + +[node name="tab" type="Control" parent="HBoxContainer/margin/VBoxContainer"] +custom_minimum_size = Vector2(0, 37) +layout_mode = 2 + +[node name="Label2" type="Label" parent="HBoxContainer/margin/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 32 +text = "地图设置" + +[node name="tab2" type="Control" parent="HBoxContainer/margin/VBoxContainer"] +custom_minimum_size = Vector2(0, 53) +layout_mode = 2 + +[node name="GridContainer" type="GridContainer" parent="HBoxContainer/margin/VBoxContainer"] +layout_mode = 2 +theme_override_constants/h_separation = 150 +theme_override_constants/v_separation = 143 +columns = 3 + +[node name="Record" type="Button" parent="HBoxContainer/margin/VBoxContainer/GridContainer"] +custom_minimum_size = Vector2(220, 220) +layout_mode = 2 +focus_mode = 0 +script = ExtResource("10_jyc6b") +TextureNormal = ExtResource("3_t55mh") +TexturePressed = ExtResource("3_r83c5") +styleBox = SubResource("StyleBoxTexture_bqmim") +is_Scale = true + +[node name="TextureRect" type="TextureRect" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Record"] +custom_minimum_size = Vector2(74, 74) +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.331818 +anchor_top = 0.230205 +anchor_right = 0.668182 +anchor_bottom = 0.566568 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("3_t55mh") +expand_mode = 1 +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Record"] +layout_mode = 0 +anchor_left = 0.236364 +anchor_top = 0.7 +anchor_right = 0.777273 +anchor_bottom = 0.931818 +theme_override_colors/font_color = Color(0.403922, 0.403922, 0.403922, 1) +theme_override_font_sizes/font_size = 24 +text = "录制数据" +horizontal_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Build" type="Button" parent="HBoxContainer/margin/VBoxContainer/GridContainer"] +custom_minimum_size = Vector2(220, 220) +layout_mode = 2 +focus_mode = 0 +script = ExtResource("10_jyc6b") +TextureNormal = ExtResource("6_q5g71") +TexturePressed = ExtResource("7_3wr4h") +styleBox = SubResource("StyleBoxTexture_bqmim") +is_Scale = true + +[node name="TextureRect" type="TextureRect" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Build"] +custom_minimum_size = Vector2(74, 74) +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.331818 +anchor_top = 0.230205 +anchor_right = 0.668182 +anchor_bottom = 0.566568 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("6_q5g71") +expand_mode = 1 +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Build"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.172727 +anchor_top = 0.7 +anchor_right = 0.827273 +anchor_bottom = 0.931818 +theme_override_colors/font_color = Color(0.403922, 0.403922, 0.403922, 1) +theme_override_font_sizes/font_size = 24 +text = "构建高清地图" +horizontal_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Export" type="Button" parent="HBoxContainer/margin/VBoxContainer/GridContainer"] +custom_minimum_size = Vector2(220, 220) +layout_mode = 2 +focus_mode = 0 +script = ExtResource("10_jyc6b") +TextureNormal = ExtResource("8_0e4lg") +TexturePressed = ExtResource("9_gdew3") +styleBox = SubResource("StyleBoxTexture_bqmim") +is_Scale = true + +[node name="TextureRect" type="TextureRect" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Export"] +custom_minimum_size = Vector2(74, 74) +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.331818 +anchor_top = 0.381818 +anchor_right = 0.668182 +anchor_bottom = 0.718182 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("8_0e4lg") +expand_mode = 1 +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Export"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.236364 +anchor_top = 0.777273 +anchor_right = 0.777273 +anchor_bottom = 0.945455 +theme_override_colors/font_color = Color(0.403922, 0.403922, 0.403922, 1) +theme_override_font_sizes/font_size = 24 +text = "导出" +horizontal_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="exportTabs" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Export" instance=ExtResource("10_i6ov6")] +layout_mode = 0 +anchor_left = 0.0545455 +anchor_top = 0.0863636 +anchor_right = 0.959091 +anchor_bottom = 0.35 +offset_right = 0.0 +offset_bottom = 0.0 +mouse_filter = 0 +item1 = ".bag" +item2 = ".pcd" +metadata/_edit_use_anchors_ = true + +[node name="Download" type="Button" parent="HBoxContainer/margin/VBoxContainer/GridContainer"] +custom_minimum_size = Vector2(220, 220) +layout_mode = 2 +focus_mode = 0 +script = ExtResource("10_jyc6b") +TextureNormal = ExtResource("11_px13j") +TexturePressed = ExtResource("12_ljpgt") +styleBox = SubResource("StyleBoxTexture_bqmim") +is_Scale = true + +[node name="TextureRect" type="TextureRect" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Download"] +custom_minimum_size = Vector2(74, 74) +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.331818 +anchor_top = 0.230205 +anchor_right = 0.668182 +anchor_bottom = 0.566568 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("11_px13j") +expand_mode = 1 +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Download"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.177273 +anchor_top = 0.668182 +anchor_right = 0.831818 +anchor_bottom = 0.9 +theme_override_colors/font_color = Color(0.403922, 0.403922, 0.403922, 1) +theme_override_font_sizes/font_size = 24 +text = "下载更新地图" +horizontal_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="Upload" type="Button" parent="HBoxContainer/margin/VBoxContainer/GridContainer"] +custom_minimum_size = Vector2(220, 220) +layout_mode = 2 +focus_mode = 0 +script = ExtResource("10_jyc6b") +TextureNormal = ExtResource("3_t55mh") +TexturePressed = ExtResource("3_r83c5") +styleBox = SubResource("StyleBoxTexture_bqmim") +is_Scale = true + +[node name="TextureRect" type="TextureRect" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Upload"] +custom_minimum_size = Vector2(74, 74) +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.331818 +anchor_top = 0.381818 +anchor_right = 0.668182 +anchor_bottom = 0.718182 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("13_8lrx3") +expand_mode = 1 +stretch_mode = 5 +metadata/_edit_use_anchors_ = true + +[node name="Label" type="Label" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Upload"] +layout_mode = 1 +anchors_preset = -1 +anchor_left = 0.218182 +anchor_top = 0.740909 +anchor_right = 0.759091 +anchor_bottom = 0.972727 +theme_override_colors/font_color = Color(0.403922, 0.403922, 0.403922, 1) +theme_override_font_sizes/font_size = 24 +text = "上传" +horizontal_alignment = 1 +metadata/_edit_use_anchors_ = true + +[node name="uploadTabs" parent="HBoxContainer/margin/VBoxContainer/GridContainer/Upload" instance=ExtResource("10_i6ov6")] +layout_mode = 0 +anchor_left = 0.0545455 +anchor_top = 0.0863636 +anchor_right = 0.959091 +anchor_bottom = 0.35 +offset_right = 0.0 +offset_bottom = 0.0 +mouse_filter = 0 +item1 = ".pcd" +item2 = ".osm" +metadata/_edit_use_anchors_ = true + +[node name="tab3" type="Control" parent="HBoxContainer/margin/VBoxContainer"] +custom_minimum_size = Vector2(0, 83) +layout_mode = 2 + +[node name="progressPanel" type="TextureRect" parent="HBoxContainer/margin/VBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +texture = ExtResource("3_lnvl1") + +[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/margin/VBoxContainer/progressPanel"] +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 = 53 +theme_override_constants/margin_top = 25 +theme_override_constants/margin_right = 59 +theme_override_constants/margin_bottom = 83 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/margin/VBoxContainer/progressPanel/MarginContainer"] +layout_mode = 2 +theme_override_constants/separation = 32 + +[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/margin/VBoxContainer/progressPanel/MarginContainer/VBoxContainer"] +layout_mode = 2 + +[node name="progressHead" type="Label" parent="HBoxContainer/margin/VBoxContainer/progressPanel/MarginContainer/VBoxContainer/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +theme_override_font_sizes/font_size = 33 +text = "进度 - " + +[node name="progressLabel" type="Label" parent="HBoxContainer/margin/VBoxContainer/progressPanel/MarginContainer/VBoxContainer/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +theme_override_font_sizes/font_size = 33 +text = "45%" + +[node name="progressBar" type="TextureProgressBar" parent="HBoxContainer/margin/VBoxContainer/progressPanel/MarginContainer/VBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_vertical = 3 +value = 75.0 +nine_patch_stretch = true +texture_under = ExtResource("16_rrajj") +texture_progress = ExtResource("4_pfp3a") + +[node name="tab4" type="Control" parent="HBoxContainer/margin/VBoxContainer"] +custom_minimum_size = Vector2(0, 47) +layout_mode = 2 + +[node name="PanelContainer" type="PanelContainer" parent="HBoxContainer/margin/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +theme_override_styles/panel = SubResource("StyleBoxTexture_e3m7r") + +[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/margin/VBoxContainer/PanelContainer"] +layout_mode = 2 +theme_override_constants/margin_left = 52 +theme_override_constants/margin_top = 11 +theme_override_constants/margin_right = 52 + +[node name="ScrollContainer" type="ScrollContainer" parent="HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer"] +layout_mode = 2 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer"] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="tab" type="Control" parent="HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer/VBoxContainer"] +custom_minimum_size = Vector2(0, 34.895) +layout_mode = 2 + +[node name="infoLabel" type="Label" parent="HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer/VBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 2 +theme_override_constants/line_spacing = 15 +theme_override_font_sizes/font_size = 27 +text = "[INFO] [launch]: All log files can be found below +/home/khalil/.ros/log/2023-11-30-16-25-47-793699-khalil-417884 +[INFO] [launch]: Default logging verbosity is set to INFO" + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_stretch_ratio = 1.15 +theme_override_constants/separation = 30 + +[node name="margin" type="MarginContainer" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +size_flags_stretch_ratio = 1.34 +theme_override_constants/margin_left = 45 +theme_override_constants/margin_top = 15 +theme_override_constants/margin_right = 48 +theme_override_constants/margin_bottom = 54 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/VBoxContainer/margin"] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"] +layout_mode = 2 +theme_override_constants/separation = 19 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 10 +theme_override_font_sizes/font_size = 34 +text = "25℃" + +[node name="tab" type="Control" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"] +custom_minimum_size = Vector2(86.18, 0) +layout_mode = 2 + +[node name="Label2" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 34 +text = "2024-04-27" + +[node name="Label3" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 34 +text = "00:35:24" + +[node name="tab" type="Control" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"] +custom_minimum_size = Vector2(0, 110.275) +layout_mode = 2 + +[node name="HBoxContainer2" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"] +layout_mode = 2 +theme_override_constants/separation = 98 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2"] +layout_mode = 2 +theme_override_constants/separation = 48 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 33 +text = "显示模式" + +[node name="TextureRect" type="TextureRect" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer"] +layout_mode = 2 +texture = ExtResource("6_xloj4") + +[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2"] +layout_mode = 2 +theme_override_constants/separation = 48 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2"] +layout_mode = 2 +theme_override_font_sizes/font_size = 33 +text = "视图切换" + +[node name="TextureRect" type="TextureRect" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2"] +layout_mode = 2 +texture = ExtResource("7_vgc4b") + +[node name="tab2" type="Control" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"] +custom_minimum_size = Vector2(0, 53) +layout_mode = 2 + +[node name="HBoxContainer3" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +theme_override_constants/separation = 50 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3"] +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_constants/separation = 40 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 32 +text = "系统语言" + +[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 + +[node name="LanguageTabs" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer/MarginContainer" instance=ExtResource("8_0kvbq")] +unique_name_in_owner = true +layout_mode = 2 +size_flags_horizontal = 1 + +[node name="VBoxContainer2" type="VBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3"] +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_stretch_ratio = 1.55 +theme_override_constants/separation = 40 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2"] +layout_mode = 2 +theme_override_font_sizes/font_size = 32 +text = "连接服务器" + +[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2"] +layout_mode = 2 +size_flags_vertical = 3 +theme_override_constants/separation = 26 + +[node name="WebsocketAddress" type="PanelContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_styles/panel = SubResource("StyleBoxTexture_jad8g") + +[node name="WebsocketAddressInput" type="LineEdit" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WebsocketAddress"] +unique_name_in_owner = true +layout_mode = 2 +theme_override_font_sizes/font_size = 30 +text = "ws://192.168.4.88:9091" +alignment = 1 +flat = true + +[node name="WsConnectButton" type="Button" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer"] +custom_minimum_size = Vector2(100, 0) +layout_mode = 2 +focus_mode = 0 +flat = true +script = ExtResource("10_jyc6b") +TextureNormal = ExtResource("11_g12mf") +TexturePressed = ExtResource("12_3rn0r") +styleBox = SubResource("StyleBoxTexture_12j7c") +is_Scale = true +size_max = 1.2 + +[node name="TextureRect" type="TextureRect" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WsConnectButton"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -20.0 +offset_top = -20.0 +offset_right = 19.0 +offset_bottom = 23.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("11_g12mf") +expand_mode = 1 + +[node name="RightBottonPanel" type="MarginContainer" parent="HBoxContainer/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +theme_override_constants/margin_left = 48 +theme_override_constants/margin_top = 42 +theme_override_constants/margin_right = 45 +theme_override_constants/margin_bottom = 48 + +[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer/VBoxContainer/RightBottonPanel"] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 32 +text = "VCU固件版本:" +vertical_alignment = 1 + +[node name="VCU_version" type="Label" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_font_sizes/font_size = 32 +text = "1.1.1" +horizontal_alignment = 2 +vertical_alignment = 1 + +[node name="tab" type="Control" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] +custom_minimum_size = Vector2(80, 0) +layout_mode = 2 + +[node name="Label3" type="Label" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 31 +text = "自动驾驶版本:" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="ADAS_version" type="Label" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_horizontal = 3 +theme_override_font_sizes/font_size = 32 +text = "1.1.1" +horizontal_alignment = 2 +vertical_alignment = 1 + +[node name="tab" type="Control" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] +custom_minimum_size = Vector2(0, 52) +layout_mode = 2 + +[node name="HBoxContainer2" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] +custom_minimum_size = Vector2(0, 100) +layout_mode = 2 + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer2"] +layout_mode = 2 +theme_override_font_sizes/font_size = 32 +text = "OTA升级" +vertical_alignment = 1 + +[node name="UpdateButton" type="TextureRect" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer2"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_horizontal = 10 +texture = ExtResource("14_32p5r") +script = ExtResource("15_od2fy") +is_Scale = true + +[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer2/UpdateButton"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_font_sizes/font_size = 32 +text = "检查更新" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="tab2" type="Control" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] +custom_minimum_size = Vector2(0, 52) +layout_mode = 2 + +[node name="UpdateLog" type="TextureRect" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] +layout_mode = 2 +size_flags_vertical = 3 +texture = ExtResource("16_t8xnk") + +[node name="UpdateMesPanel" type="MarginContainer" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog"] +unique_name_in_owner = true +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 = 52 +theme_override_constants/margin_top = 40 +theme_override_constants/margin_right = 35 +theme_override_constants/margin_bottom = 29 + +[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMesPanel"] +layout_mode = 2 + +[node name="updateMessage" type="Label" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMesPanel/HBoxContainer"] +unique_name_in_owner = true +custom_minimum_size = Vector2(571, 191) +layout_mode = 2 +size_flags_vertical = 0 +theme_override_colors/font_color = Color(0.403922, 0.403922, 0.403922, 1) +theme_override_constants/line_spacing = 19 +theme_override_font_sizes/font_size = 24 +text = "找到可更新的固件,是否立即开始升级 +固件名称:0214_00_08_0712 固件大小:87.8MB +更新日期:2024-07-12 11:54:53 +更新内容:-- +" +autowrap_mode = 3 + +[node name="tab" type="Control" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMesPanel/HBoxContainer"] +custom_minimum_size = Vector2(70, 0) +layout_mode = 2 + +[node name="UpdateCancelBtn" type="TextureRect" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMesPanel/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_vertical = 8 +texture = ExtResource("17_r1mfq") +script = ExtResource("15_od2fy") +is_Scale = true + +[node name="tab2" type="Control" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMesPanel/HBoxContainer"] +custom_minimum_size = Vector2(34.895, 0) +layout_mode = 2 + +[node name="UpdateAcceptBtn" type="TextureRect" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMesPanel/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_vertical = 8 +texture = ExtResource("18_i0avx") +script = ExtResource("15_od2fy") +is_Scale = true + +[node name="Updating" type="MarginContainer" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog"] +visible = false +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 = 52 +theme_override_constants/margin_top = 58 +theme_override_constants/margin_right = 35 +theme_override_constants/margin_bottom = 29 + +[node name="UpdateProgress" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/Updating" instance=ExtResource("19_ra4y1")] +layout_mode = 2 + +[connection signal="on_click" from="HBoxContainer/margin/VBoxContainer/GridContainer/Record" to="." method="_on_record_on_click"] +[connection signal="on_click" from="HBoxContainer/margin/VBoxContainer/GridContainer/Build" to="." method="_on_build_on_click"] +[connection signal="on_click" from="HBoxContainer/margin/VBoxContainer/GridContainer/Export" to="." method="_on_export_on_click"] +[connection signal="Onclick" from="HBoxContainer/margin/VBoxContainer/GridContainer/Export/exportTabs" to="." method="_on_export_tabs_onclick"] +[connection signal="on_click" from="HBoxContainer/margin/VBoxContainer/GridContainer/Download" to="." method="_on_download_on_click"] +[connection signal="on_click" from="HBoxContainer/margin/VBoxContainer/GridContainer/Upload" to="." method="_on_upload_on_click"] +[connection signal="Onclick" from="HBoxContainer/margin/VBoxContainer/GridContainer/Upload/uploadTabs" to="." method="_on_upload_tabs_onclick"] +[connection signal="Onclick" from="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer/MarginContainer/LanguageTabs" to="." method="_on_language_tabs_onclick"] +[connection signal="pressed" from="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WsConnectButton" to="." method="_on_ws_connect_button_pressed"] +[connection signal="on_click" from="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer2/UpdateButton" to="." method="_on_update_button_on_click"] +[connection signal="on_click" from="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMesPanel/HBoxContainer/UpdateCancelBtn" to="." method="_on_update_cancel_btn_on_click"] +[connection signal="on_click" from="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMesPanel/HBoxContainer/UpdateAcceptBtn" to="." method="_on_update_accept_btn_on_click"] diff --git a/Robo-Bus-A31-HMI/Modules/ws_connect_button.gd b/Robo-Bus-A31-HMI/Modules/settingButtonItem.gd similarity index 62% rename from Robo-Bus-A31-HMI/Modules/ws_connect_button.gd rename to Robo-Bus-A31-HMI/Modules/settingButtonItem.gd index 946c47b..084813e 100644 --- a/Robo-Bus-A31-HMI/Modules/ws_connect_button.gd +++ b/Robo-Bus-A31-HMI/Modules/settingButtonItem.gd @@ -4,6 +4,15 @@ extends BaseControl @export var TexturePressed : Texture2D +func _ready() -> void: + super._ready() + self.button_down.connect(_on_button_down) + self.button_up.connect(_on_button_up) + $TextureRect.texture=TextureNormal + self.flat=true + + pass + func _on_button_down() -> void: $TextureRect.texture=TexturePressed pass # Replace with function body. diff --git a/Robo-Bus-A31-HMI/Modules/setting_tabs.gd b/Robo-Bus-A31-HMI/Modules/setting_tabs.gd new file mode 100644 index 0000000..85ba30a --- /dev/null +++ b/Robo-Bus-A31-HMI/Modules/setting_tabs.gd @@ -0,0 +1,38 @@ +extends MarginContainer +@export var item1:String="default1" +@export var item2:String="default_2" + +#移动背景 +@onready var texture_rect: TextureRect = $Control/TextureRect +#需要连接信号的节点数组 +@export var nodearr : Array[Node] +signal Onclick(State:int) +var SelectNode = null: + set(value): + if value != SelectNode: + var tween = create_tween() + tween.parallel().tween_property(texture_rect, "global_position", value.global_position, 0.2).set_ease(Tween.EASE_OUT) + tween.parallel().tween_property(texture_rect,"size",value.size,0.2).set_ease(Tween.EASE_OUT) + SelectNode = value +var OnClickIsCooling = false: + set(value): + OnClickIsCooling = value + await get_tree().create_timer(0.2).timeout + OnClickIsCooling = false + + + + +func _ready() -> void: + $HBoxContainer/Item1/item_name.text=item1 + $HBoxContainer/Item2/item_name.text=item2 + await get_tree().create_timer(0.1).timeout + SelectNode = %Item1 + for node : BaseControl in nodearr: + node.on_click.connect(func(_node): + if !OnClickIsCooling: + SelectNode = _node + OnClickIsCooling = true + Onclick.emit(_node.get_child(0).index) + ) + pass # Replace with function body. diff --git a/Robo-Bus-A31-HMI/Modules/setting_tabs.tscn b/Robo-Bus-A31-HMI/Modules/setting_tabs.tscn new file mode 100644 index 0000000..4b8b5dc --- /dev/null +++ b/Robo-Bus-A31-HMI/Modules/setting_tabs.tscn @@ -0,0 +1,51 @@ +[gd_scene load_steps=4 format=3 uid="uid://cteu4g7833dk6"] + +[ext_resource type="Script" path="res://Modules/setting_tabs.gd" id="1_xpivd"] +[ext_resource type="Texture2D" uid="uid://83ghm43vg1e5" path="res://pad_hmi_ui/setting/fileformat_btn_high.png" id="2_s0f2r"] +[ext_resource type="Script" path="res://common/base/base_control.gd" id="3_krd6n"] + +[node name="SettingTabs" type="MarginContainer" node_paths=PackedStringArray("nodearr")] +offset_right = 230.0 +offset_bottom = 52.0 +size_flags_horizontal = 4 +size_flags_vertical = 4 +script = ExtResource("1_xpivd") +nodearr = [NodePath("HBoxContainer/Item1"), NodePath("HBoxContainer/Item2")] + +[node name="Control" type="Control" parent="."] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Control"] +layout_mode = 1 +offset_right = 115.0 +offset_bottom = 52.0 +pivot_offset = Vector2(52, 52) +texture = ExtResource("2_s0f2r") +expand_mode = 1 + +[node name="HBoxContainer" type="HBoxContainer" parent="."] +layout_mode = 2 +theme_override_constants/separation = 10 + +[node name="Item1" type="MarginContainer" parent="HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_horizontal = 3 +script = ExtResource("3_krd6n") + +[node name="item_name" type="Label" parent="HBoxContainer/Item1"] +layout_mode = 2 +theme_override_font_sizes/font_size = 24 +text = "中文" +horizontal_alignment = 1 + +[node name="Item2" type="MarginContainer" parent="HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 +script = ExtResource("3_krd6n") + +[node name="item_name" type="Label" parent="HBoxContainer/Item2"] +layout_mode = 2 +theme_override_font_sizes/font_size = 24 +text = "English" +horizontal_alignment = 1 diff --git a/Robo-Bus-A31-HMI/Modules/update_progress.gd b/Robo-Bus-A31-HMI/Modules/update_progress.gd index 92c445a..8f7b222 100644 --- a/Robo-Bus-A31-HMI/Modules/update_progress.gd +++ b/Robo-Bus-A31-HMI/Modules/update_progress.gd @@ -1,7 +1,108 @@ -extends HBoxContainer +extends VBoxContainer -#用来进行动画的tween -var animation_tween -#用来标记当前进度的index,可能的取值为0,1,2,3 -@export var now_progress_index:int=0 +#用来标记当前进度的index,可能的取值为0,1,2,3,4,4为全部加载完成,-1为初始 +@export var now_progress_index:int=-1: + set(value): + if now_progress_index!=value: + match value: + 0: + %animation.play("RESET") + now_state_label=%progress_state_1 + now_state_label.text="进行中" + %progress_state_2.text="未进行" + %progress_state_3.text="未进行" + %progress_name_4.text="未进行" + %ItemIcon1.texture=InProgressIcon + %ItemIcon2.texture=EllipseIconDis + %ItemIcon3.texture=EllipseIconDis + %ItemIcon4.texture=EllipseIconDis + %line1.texture=LineIconDis + %line2.texture=LineIconDis + %line3.texture=LineIconDis + %animation.play("item1_rotate") + 1: + %animation.play("RESET") + now_state_label=%progress_state_1 + now_state_label.text="已完成" + %progress_state_2.text="进行中" + %progress_state_3.text="未进行" + %progress_name_4.text="未进行" + %ItemIcon1.texture=EllipseIcon + %ItemIcon2.texture=InProgressIcon + %ItemIcon3.texture=EllipseIconDis + %ItemIcon4.texture=EllipseIconDis + %animation.play("item2_rotate") + %line1.texture=LineIconHigh + %line2.texture=LineIconDis + %line3.texture=LineIconDis + 2: + %animation.play("RESET") + now_state_label=%progress_state_1 + now_state_label.text="已完成" + %progress_state_2.text="已完成" + %progress_state_3.text="进行中" + %progress_name_4.text="未进行" + %ItemIcon1.texture=EllipseIcon + %ItemIcon2.texture=EllipseIcon + %ItemIcon3.texture=InProgressIcon + %ItemIcon4.texture=EllipseIconDis + %animation.play("item3_rotate") + %line1.texture=LineIconHigh + %line2.texture=LineIconHigh + %line3.texture=LineIconDis + 3: + %animation.play("RESET") + now_state_label=%progress_state_1 + now_state_label.text="已完成" + %progress_state_2.text="已完成" + %progress_state_3.text="已完成" + %progress_name_4.text="进行中" + %ItemIcon1.texture=EllipseIcon + %ItemIcon2.texture=EllipseIcon + %ItemIcon3.texture=EllipseIcon + %ItemIcon4.texture=InProgressIcon + %animation.play("item4_rotate") + %line1.texture=LineIconHigh + %line2.texture=LineIconHigh + %line3.texture=LineIconHigh + 4: + %animation.play("RESET") + now_state_label=%progress_state_1 + now_state_label.text="已完成" + %progress_state_2.text="已完成" + %progress_state_3.text="已完成" + %progress_name_4.text="已完成" + %ItemIcon1.texture=EllipseIcon + %ItemIcon2.texture=EllipseIcon + %ItemIcon3.texture=EllipseIcon + %ItemIcon4.texture=EllipseIcon + %line1.texture=LineIconHigh + %line2.texture=LineIconHigh + %line3.texture=LineIconHigh + now_progress_index=value + pass + +#当前加载项的加载进度 +@export var now_progress:int=0: + set(val): + if now_state_label!=null: + now_state_label.text="进行中 "+str(val)+"%" + +@export var EllipseIcon:Texture2D + +@export var EllipseIconDis:Texture2D + +@export var InProgressIcon:Texture2D + +@export var LineIconHigh:Texture2D + +@export var LineIconDis:Texture2D + +#当前进度的标签 +@onready var now_state_label=%progress_state_1 + + + + + diff --git a/Robo-Bus-A31-HMI/Modules/update_progress.tscn b/Robo-Bus-A31-HMI/Modules/update_progress.tscn index 18a06fe..d9d594f 100644 --- a/Robo-Bus-A31-HMI/Modules/update_progress.tscn +++ b/Robo-Bus-A31-HMI/Modules/update_progress.tscn @@ -1,36 +1,175 @@ -[gd_scene load_steps=4 format=3 uid="uid://ctjlpah7am5se"] +[gd_scene load_steps=13 format=3 uid="uid://ctjlpah7am5se"] [ext_resource type="Script" path="res://Modules/update_progress.gd" id="1_hcogg"] +[ext_resource type="Texture2D" uid="uid://bicyasmugq208" path="res://pad_hmi_ui/setting/ellipse_icon.png" id="2_2y3de"] [ext_resource type="Texture2D" uid="uid://4cphf0gmdmla" path="res://pad_hmi_ui/setting/line_icon_high.png" id="3_1ww13"] +[ext_resource type="Texture2D" uid="uid://djdst6wnbvj2k" path="res://pad_hmi_ui/setting/ellipse_icon_dis.png" id="3_ynyyh"] +[ext_resource type="Texture2D" uid="uid://d4m85u6yl6py8" path="res://pad_hmi_ui/setting/inprogress_icon_high.png" id="4_7bfrc"] [ext_resource type="Texture2D" uid="uid://dc88flrbrvoas" path="res://pad_hmi_ui/setting/line_icon_dis.png" id="5_swik2"] +[sub_resource type="Animation" id="Animation_8yyyk"] +resource_name = "item1_rotate" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("hbox/item_1/progressItem1/ItemIcon1:rotation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [0.0, 3.14159, 6.28319] +} + +[sub_resource type="Animation" id="Animation_qrca2"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("hbox/item_1/progressItem1/ItemIcon1:rotation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.0] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("hbox/item_2/progressItem1/ItemIcon2:rotation") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.0] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("hbox/item_3/progressItem1/ItemIcon3:rotation") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.0] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("hbox/item_4/progressItem1/ItemIcon4:rotation") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.0] +} + +[sub_resource type="Animation" id="Animation_6tmx4"] +resource_name = "item2_rotate" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("hbox/item_2/progressItem1/ItemIcon2:rotation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [0.0, 3.14159, 6.28319] +} + +[sub_resource type="Animation" id="Animation_6ws60"] +resource_name = "item3_rotate" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("hbox/item_3/progressItem1/ItemIcon3:rotation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [0.0, 3.14159, 6.28319] +} + +[sub_resource type="Animation" id="Animation_6njjt"] +resource_name = "item4_rotate" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("hbox/item_4/progressItem1/ItemIcon4:rotation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [0.0, 3.14159, 6.28319] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_7ypil"] +_data = { +"RESET": SubResource("Animation_qrca2"), +"item1_rotate": SubResource("Animation_8yyyk"), +"item2_rotate": SubResource("Animation_6tmx4"), +"item3_rotate": SubResource("Animation_6ws60"), +"item4_rotate": SubResource("Animation_6njjt") +} + [node name="UpdateProgress" type="VBoxContainer"] offset_right = 40.0 offset_bottom = 40.0 script = ExtResource("1_hcogg") +EllipseIcon = ExtResource("2_2y3de") +EllipseIconDis = ExtResource("3_ynyyh") +InProgressIcon = ExtResource("4_7bfrc") +LineIconHigh = ExtResource("3_1ww13") +LineIconDis = ExtResource("5_swik2") [node name="hbox" type="HBoxContainer" parent="."] layout_mode = 2 theme_override_constants/separation = 0 -[node name="text_1" type="VBoxContainer" parent="hbox"] +[node name="item_1" type="VBoxContainer" parent="hbox"] layout_mode = 2 size_flags_horizontal = 3 -[node name="progressItem1" type="Control" parent="hbox/text_1"] +[node name="progressItem1" type="Control" parent="hbox/item_1"] unique_name_in_owner = true -custom_minimum_size = Vector2(94.925, 73) +custom_minimum_size = Vector2(120, 100) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 4 -[node name="progress_state_1" type="Label" parent="hbox/text_1"] +[node name="ItemIcon1" type="Sprite2D" parent="hbox/item_1/progressItem1"] +unique_name_in_owner = true +position = Vector2(60, 50) +texture = ExtResource("2_2y3de") + +[node name="progress_state_1" type="Label" parent="hbox/item_1"] +unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 24 text = "已完成" horizontal_alignment = 1 -[node name="progress_name_1" type="Label" parent="hbox/text_1"] +[node name="progress_name_1" type="Label" parent="hbox/item_1"] +unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 32 text = "查询" @@ -38,84 +177,135 @@ horizontal_alignment = 1 [node name="VBoxContainer" type="VBoxContainer" parent="hbox"] layout_mode = 2 +theme_override_constants/separation = 0 [node name="tab" type="Control" parent="hbox/VBoxContainer"] +custom_minimum_size = Vector2(0, 48) layout_mode = 2 [node name="line1" type="TextureRect" parent="hbox/VBoxContainer"] +unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 4 texture = ExtResource("3_1ww13") -[node name="text_2" type="VBoxContainer" parent="hbox"] +[node name="item_2" type="VBoxContainer" parent="hbox"] layout_mode = 2 size_flags_horizontal = 3 -[node name="progressItem2" type="Control" parent="hbox/text_2"] +[node name="progressItem1" type="Control" parent="hbox/item_2"] +custom_minimum_size = Vector2(120, 100) +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 4 + +[node name="ItemIcon2" type="Sprite2D" parent="hbox/item_2/progressItem1"] unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 3 +position = Vector2(60, 50) +texture = ExtResource("2_2y3de") -[node name="progress_state_2" type="Label" parent="hbox/text_2"] +[node name="progress_state_2" type="Label" parent="hbox/item_2"] +unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 24 text = "已完成" horizontal_alignment = 1 -[node name="progress_name_2" type="Label" parent="hbox/text_2"] +[node name="progress_name_2" type="Label" parent="hbox/item_2"] +unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 32 -text = "查询" +text = "下载" horizontal_alignment = 1 -[node name="line2" type="TextureRect" parent="hbox"] +[node name="VBoxContainer2" type="VBoxContainer" parent="hbox"] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="tab" type="Control" parent="hbox/VBoxContainer2"] +custom_minimum_size = Vector2(0, 48) +layout_mode = 2 + +[node name="line2" type="TextureRect" parent="hbox/VBoxContainer2"] +unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 4 -texture = ExtResource("5_swik2") +texture = ExtResource("3_1ww13") -[node name="text_3" type="VBoxContainer" parent="hbox"] +[node name="item_3" type="VBoxContainer" parent="hbox"] layout_mode = 2 size_flags_horizontal = 3 -[node name="progressItem3" type="Control" parent="hbox/text_3"] +[node name="progressItem1" type="Control" parent="hbox/item_3"] +custom_minimum_size = Vector2(120, 100) +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 4 + +[node name="ItemIcon3" type="Sprite2D" parent="hbox/item_3/progressItem1"] unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 3 +position = Vector2(60, 50) +texture = ExtResource("2_2y3de") -[node name="progress_state_3" type="Label" parent="hbox/text_3"] +[node name="progress_state_3" type="Label" parent="hbox/item_3"] +unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 24 text = "已完成" horizontal_alignment = 1 -[node name="progress_name_3" type="Label" parent="hbox/text_3"] +[node name="progress_name_3" type="Label" parent="hbox/item_3"] +unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 32 -text = "查询" +text = "校验" horizontal_alignment = 1 -[node name="line3" type="TextureRect" parent="hbox"] +[node name="VBoxContainer3" type="VBoxContainer" parent="hbox"] +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="tab" type="Control" parent="hbox/VBoxContainer3"] +custom_minimum_size = Vector2(0, 48) +layout_mode = 2 + +[node name="line3" type="TextureRect" parent="hbox/VBoxContainer3"] +unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 4 -texture = ExtResource("5_swik2") +texture = ExtResource("3_1ww13") -[node name="text_4" type="VBoxContainer" parent="hbox"] +[node name="item_4" type="VBoxContainer" parent="hbox"] layout_mode = 2 size_flags_horizontal = 3 -[node name="progressItem4" type="Control" parent="hbox/text_4"] +[node name="progressItem1" type="Control" parent="hbox/item_4"] +custom_minimum_size = Vector2(120, 100) +layout_mode = 2 +size_flags_horizontal = 3 +size_flags_vertical = 4 + +[node name="ItemIcon4" type="Sprite2D" parent="hbox/item_4/progressItem1"] unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 3 +position = Vector2(60, 50) +texture = ExtResource("2_2y3de") -[node name="progress_state_4" type="Label" parent="hbox/text_4"] +[node name="progress_state_4" type="Label" parent="hbox/item_4"] +unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 24 text = "已完成" horizontal_alignment = 1 -[node name="progress_name_4" type="Label" parent="hbox/text_4"] +[node name="progress_name_4" type="Label" parent="hbox/item_4"] +unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 32 -text = "查询" +text = "安装" horizontal_alignment = 1 + +[node name="animation" type="AnimationPlayer" parent="."] +unique_name_in_owner = true +libraries = { +"": SubResource("AnimationLibrary_7ypil") +} diff --git a/Robo-Bus-A31-HMI/control.tscn b/Robo-Bus-A31-HMI/control.tscn index e94543f..906a325 100644 --- a/Robo-Bus-A31-HMI/control.tscn +++ b/Robo-Bus-A31-HMI/control.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=76 format=4 uid="uid://cxqxr0p1wkkdy"] +[gd_scene load_steps=68 format=4 uid="uid://cxqxr0p1wkkdy"] [ext_resource type="Texture2D" uid="uid://vc7lcwu566lf" path="res://1.png" id="1_21tqn"] [ext_resource type="Texture2D" uid="uid://blakv4vhyfyro" path="res://pad_hmi_ui/home/home page_bg.png" id="1_brgxr"] @@ -25,16 +25,11 @@ [ext_resource type="Texture2D" uid="uid://dnqvtj33ialxi" path="res://pad_hmi_ui/information/can_dis.png" id="48_tlc84"] [ext_resource type="Texture2D" uid="uid://dpdjnd1u6xr2n" path="res://pad_hmi_ui/setting/setting_bg.png" id="48_vfrk1"] [ext_resource type="PackedScene" uid="uid://dd5e3n5lfbffj" path="res://Modules/information.tscn" id="49_s7rxh"] -[ext_resource type="PackedScene" uid="uid://df31a6g0oklv" path="res://Modules/language_tabs.tscn" id="50_8t5s4"] [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="Script" path="res://Modules/ws_connect_button.gd" id="51_ac4eh"] [ext_resource type="Texture2D" uid="uid://ruvsjrmynxch" path="res://pad_hmi_ui/taskbar/title.png" id="51_ptwd7"] -[ext_resource type="Texture2D" uid="uid://bgykactp343j6" path="res://pad_hmi_ui/setting/connect_icon_pressed.png" id="52_oloqp"] -[ext_resource type="Texture2D" uid="uid://c15ltf6sdq5m1" path="res://pad_hmi_ui/setting/cancel_btn.png" id="53_663io"] [ext_resource type="Texture2D" uid="uid://83ghm43vg1e5" path="res://pad_hmi_ui/setting/fileformat_btn_high.png" id="53_t2ril"] -[ext_resource type="Texture2D" uid="uid://o418ai5uhori" path="res://pad_hmi_ui/setting/confirm_btn.png" id="54_qf1b0"] -[ext_resource type="PackedScene" uid="uid://ctjlpah7am5se" path="res://Modules/update_progress.tscn" id="55_bwxbw"] [ext_resource type="Texture2D" uid="uid://eevtiqj5g6a8" path="res://3.png" id="57_v7hfe"] [ext_resource type="Texture2D" uid="uid://dncdx223e1re4" path="res://pad_hmi_ui/setting/function_bg.png" id="58_7tose"] [ext_resource type="Texture2D" uid="uid://4d4n8nhdloy" path="res://pad_hmi_ui/setting/build_icon.png" id="59_ykyo4"] @@ -912,15 +907,6 @@ corner_radius_top_right = 1024 corner_radius_bottom_right = 1024 corner_radius_bottom_left = 1024 -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ro1pd"] -texture = ExtResource("65_6ujfn") - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_heghw"] -texture = ExtResource("70_xatqx") - -[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rplcn"] -texture = ExtResource("60_jy5qr") - [node name="Control" type="Control"] layout_mode = 3 anchors_preset = 15 @@ -1643,483 +1629,7 @@ layout_mode = 2 visible = false layout_mode = 2 -[node name="Setting" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer"] -layout_mode = 2 - -[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting"] -visible = false -layout_mode = 1 -anchors_preset = 6 -anchor_left = 1.0 -anchor_top = 0.5 -anchor_right = 1.0 -anchor_bottom = 0.5 -offset_left = -2528.0 -offset_top = -792.0 -offset_right = 32.0 -offset_bottom = 808.0 -grow_horizontal = 0 -grow_vertical = 2 -mouse_filter = 2 -texture = ExtResource("48_vfrk1") - -[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting"] -layout_mode = 2 -offset_right = 2316.0 -offset_bottom = 1520.0 -theme_override_constants/separation = 32 - -[node name="margin" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer"] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_stretch_ratio = 1.01 -theme_override_constants/margin_left = 53 -theme_override_constants/margin_top = 65 -theme_override_constants/margin_right = 54 -theme_override_constants/margin_bottom = 50 - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin"] -layout_mode = 2 -theme_override_constants/separation = 0 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -layout_mode = 2 -theme_override_constants/line_spacing = 0 -theme_override_font_sizes/font_size = 48 -text = "系统设置" -vertical_alignment = 1 - -[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -custom_minimum_size = Vector2(0, 37) -layout_mode = 2 - -[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -layout_mode = 2 -theme_override_font_sizes/font_size = 32 -text = "地图设置" - -[node name="tab2" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -custom_minimum_size = Vector2(0, 53) -layout_mode = 2 - -[node name="GridContainer" type="GridContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -layout_mode = 2 -theme_override_constants/h_separation = 150 -theme_override_constants/v_separation = 143 -columns = 3 - -[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"] -layout_mode = 2 -texture = ExtResource("58_7tose") - -[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"] -layout_mode = 2 -texture = ExtResource("58_7tose") - -[node name="TextureRect3" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"] -layout_mode = 2 -texture = ExtResource("58_7tose") - -[node name="TextureRect4" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"] -layout_mode = 2 -texture = ExtResource("58_7tose") - -[node name="TextureRect5" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/GridContainer"] -layout_mode = 2 -texture = ExtResource("58_7tose") - -[node name="tab3" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -custom_minimum_size = Vector2(0, 83) -layout_mode = 2 - -[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -layout_mode = 2 -texture = ExtResource("67_nkq62") - -[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/TextureRect"] -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 = 53 -theme_override_constants/margin_top = 25 -theme_override_constants/margin_right = 59 -theme_override_constants/margin_bottom = 83 - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/TextureRect/MarginContainer"] -layout_mode = 2 -theme_override_constants/separation = 32 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] -layout_mode = 2 -theme_override_font_sizes/font_size = 33 -text = "进度 - 45%" - -[node name="TextureProgressBar" type="TextureProgressBar" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/TextureRect/MarginContainer/VBoxContainer"] -layout_mode = 2 -size_flags_vertical = 3 -value = 99.0 -nine_patch_stretch = true -texture_progress = ExtResource("68_wqbbc") - -[node name="tab4" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -custom_minimum_size = Vector2(0, 47) -layout_mode = 2 - -[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer"] -layout_mode = 2 -size_flags_vertical = 3 -theme_override_styles/panel = SubResource("StyleBoxTexture_ro1pd") - -[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer"] -layout_mode = 2 -theme_override_constants/margin_left = 52 -theme_override_constants/margin_top = 11 -theme_override_constants/margin_right = 52 - -[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer"] -layout_mode = 2 - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer"] -layout_mode = 2 -theme_override_constants/separation = 0 - -[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer/VBoxContainer"] -custom_minimum_size = Vector2(0, 34.895) -layout_mode = 2 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/margin/VBoxContainer/PanelContainer/MarginContainer/ScrollContainer/VBoxContainer"] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_vertical = 2 -theme_override_constants/line_spacing = 15 -theme_override_font_sizes/font_size = 27 -text = "[INFO] [launch]: All log files can be found below -/home/khalil/.ros/log/2023-11-30-16-25-47-793699-khalil-417884 -[INFO] [launch]: Default logging verbosity is set to INFO" - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer"] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_stretch_ratio = 1.15 -theme_override_constants/separation = 30 - -[node name="margin" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer"] -layout_mode = 2 -size_flags_vertical = 3 -size_flags_stretch_ratio = 1.34 -theme_override_constants/margin_left = 45 -theme_override_constants/margin_top = 15 -theme_override_constants/margin_right = 48 -theme_override_constants/margin_bottom = 54 - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin"] -layout_mode = 2 -theme_override_constants/separation = 0 - -[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"] -layout_mode = 2 -theme_override_constants/separation = 19 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"] -layout_mode = 2 -size_flags_horizontal = 10 -theme_override_font_sizes/font_size = 34 -text = "25℃" - -[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"] -custom_minimum_size = Vector2(86.18, 0) -layout_mode = 2 - -[node name="Label2" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"] -layout_mode = 2 -theme_override_font_sizes/font_size = 34 -text = "2024-04-27" - -[node name="Label3" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"] -layout_mode = 2 -theme_override_font_sizes/font_size = 34 -text = "00:35:24" - -[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"] -custom_minimum_size = Vector2(0, 110.275) -layout_mode = 2 - -[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"] -layout_mode = 2 -theme_override_constants/separation = 98 - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2"] -layout_mode = 2 -theme_override_constants/separation = 48 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer"] -layout_mode = 2 -theme_override_font_sizes/font_size = 33 -text = "显示模式" - -[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer"] -layout_mode = 2 -texture = ExtResource("66_i0htr") - -[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2"] -layout_mode = 2 -theme_override_constants/separation = 48 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2"] -layout_mode = 2 -theme_override_font_sizes/font_size = 33 -text = "视图切换" - -[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer2/VBoxContainer2"] -layout_mode = 2 -texture = ExtResource("65_ljbtv") - -[node name="tab2" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"] -custom_minimum_size = Vector2(0, 53) -layout_mode = 2 - -[node name="HBoxContainer3" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer"] -layout_mode = 2 -size_flags_vertical = 3 -theme_override_constants/separation = 50 - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3"] -layout_mode = 2 -size_flags_horizontal = 3 -theme_override_constants/separation = 40 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer"] -layout_mode = 2 -theme_override_font_sizes/font_size = 32 -text = "系统语言" - -[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer"] -layout_mode = 2 -size_flags_vertical = 3 - -[node name="LanguageTabs" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer/MarginContainer" instance=ExtResource("50_8t5s4")] -layout_mode = 2 -size_flags_horizontal = 1 - -[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3"] -layout_mode = 2 -size_flags_horizontal = 3 -size_flags_stretch_ratio = 1.55 -theme_override_constants/separation = 40 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2"] -layout_mode = 2 -theme_override_font_sizes/font_size = 32 -text = "连接服务器" - -[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2"] -layout_mode = 2 -size_flags_vertical = 3 -theme_override_constants/separation = 26 - -[node name="WebsocketAddress" type="PanelContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer"] -layout_mode = 2 -size_flags_horizontal = 3 -theme_override_styles/panel = SubResource("StyleBoxTexture_heghw") - -[node name="WebsocketAddressInput" type="LineEdit" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WebsocketAddress"] -layout_mode = 2 -theme_override_font_sizes/font_size = 30 -text = "ws://192.168.4.88:9091" -alignment = 1 -flat = true - -[node name="WsConnectButton" type="Button" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer"] -custom_minimum_size = Vector2(100, 0) -layout_mode = 2 -focus_mode = 0 -flat = true -script = ExtResource("51_ac4eh") -TextureNormal = ExtResource("61_l5w4b") -TexturePressed = ExtResource("52_oloqp") -styleBox = SubResource("StyleBoxTexture_rplcn") -is_Scale = true -size_max = 1.2 - -[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WsConnectButton"] -layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -20.0 -offset_top = -20.0 -offset_right = 19.0 -offset_bottom = 23.0 -grow_horizontal = 2 -grow_vertical = 2 -texture = ExtResource("61_l5w4b") -expand_mode = 1 - -[node name="RightBottonPanel" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer"] -layout_mode = 2 -size_flags_vertical = 3 -theme_override_constants/margin_left = 48 -theme_override_constants/margin_top = 42 -theme_override_constants/margin_right = 45 -theme_override_constants/margin_bottom = 48 - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel"] -layout_mode = 2 -theme_override_constants/separation = 0 - -[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] -layout_mode = 2 -theme_override_constants/separation = 0 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] -layout_mode = 2 -theme_override_font_sizes/font_size = 32 -text = "VCU固件版本:" -vertical_alignment = 1 - -[node name="VCU_version" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] -unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 3 -theme_override_font_sizes/font_size = 32 -text = "1.1.1" -horizontal_alignment = 2 -vertical_alignment = 1 - -[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] -custom_minimum_size = Vector2(80, 0) -layout_mode = 2 - -[node name="Label3" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] -layout_mode = 2 -theme_override_font_sizes/font_size = 31 -text = "自动驾驶版本:" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="ADAS_version" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer"] -unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 3 -theme_override_font_sizes/font_size = 32 -text = "1.1.1" -horizontal_alignment = 2 -vertical_alignment = 1 - -[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] -custom_minimum_size = Vector2(0, 52) -layout_mode = 2 - -[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] -custom_minimum_size = Vector2(0, 100) -layout_mode = 2 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer2"] -layout_mode = 2 -theme_override_font_sizes/font_size = 32 -text = "OTA升级" -vertical_alignment = 1 - -[node name="UpdateButton" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer2"] -unique_name_in_owner = true -layout_mode = 2 -size_flags_horizontal = 10 -texture = ExtResource("67_6xjbf") -script = ExtResource("79_i36i4") -is_Scale = true - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/HBoxContainer2/UpdateButton"] -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -theme_override_font_sizes/font_size = 32 -text = "检查更新" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="tab2" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] -custom_minimum_size = Vector2(0, 52) -layout_mode = 2 - -[node name="UpdateLog" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer"] -layout_mode = 2 -size_flags_vertical = 3 -texture = ExtResource("66_aybjc") - -[node name="UpdateMessage" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog"] -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 = 52 -theme_override_constants/margin_top = 40 -theme_override_constants/margin_right = 35 -theme_override_constants/margin_bottom = 29 - -[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMessage"] -layout_mode = 2 - -[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMessage/HBoxContainer"] -custom_minimum_size = Vector2(571, 191) -layout_mode = 2 -size_flags_vertical = 0 -theme_override_colors/font_color = Color(0.403922, 0.403922, 0.403922, 1) -theme_override_constants/line_spacing = 19 -theme_override_font_sizes/font_size = 24 -text = "找到可更新的固件,是否立即开始升级 -固件名称:0214_00_08_0712 固件大小:87.8MB -更新日期:2024-07-12 11:54:53 -更新内容:-- -" -autowrap_mode = 3 - -[node name="tab" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMessage/HBoxContainer"] -custom_minimum_size = Vector2(70, 0) -layout_mode = 2 - -[node name="UpdateCancelBtn" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMessage/HBoxContainer"] -unique_name_in_owner = true -layout_mode = 2 -size_flags_vertical = 8 -texture = ExtResource("53_663io") -script = ExtResource("79_i36i4") -is_Scale = true - -[node name="tab2" type="Control" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMessage/HBoxContainer"] -custom_minimum_size = Vector2(34.895, 0) -layout_mode = 2 - -[node name="UpdateAcceptBtn" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/UpdateMessage/HBoxContainer"] -unique_name_in_owner = true -layout_mode = 2 -size_flags_vertical = 8 -texture = ExtResource("54_qf1b0") -script = ExtResource("79_i36i4") -is_Scale = true - -[node name="Updating" type="MarginContainer" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog"] -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 = 52 -theme_override_constants/margin_top = 40 -theme_override_constants/margin_right = 35 -theme_override_constants/margin_bottom = 29 - -[node name="UpdateProgress" parent="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog/Updating" instance=ExtResource("55_bwxbw")] +[node name="Setting" parent="MarginContainer/HBoxContainer/MarginContainer" instance=ExtResource("50_kqjcx")] layout_mode = 2 [node name="TextureRect" type="TextureRect" parent="."] @@ -2144,6 +1654,3 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 - -[connection signal="button_down" from="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WsConnectButton" to="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WsConnectButton" method="_on_button_down"] -[connection signal="button_up" from="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WsConnectButton" to="MarginContainer/HBoxContainer/MarginContainer/Setting/HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer3/VBoxContainer2/HBoxContainer/WsConnectButton" method="_on_button_up"] diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_high.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_high.png new file mode 100644 index 0000000..4af6bfa Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_high.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_high.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_high.png.import new file mode 100644 index 0000000..f22821c --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_high.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dfh82xt51gmjf" +path="res://.godot/imported/build_icon_high.png-76bd4377e78ca3df5fbf67bbf88c90dc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/build_icon_high.png" +dest_files=["res://.godot/imported/build_icon_high.png-76bd4377e78ca3df5fbf67bbf88c90dc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_normal.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_normal.png new file mode 100644 index 0000000..10fb284 Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_normal.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_normal.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_normal.png.import new file mode 100644 index 0000000..9d6ad3d --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/build_icon_normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bjrj72w6i84x4" +path="res://.godot/imported/build_icon_normal.png-b98ed03ead04da32e755ab6acd100781.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/build_icon_normal.png" +dest_files=["res://.godot/imported/build_icon_normal.png-b98ed03ead04da32e755ab6acd100781.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_high.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_high.png new file mode 100644 index 0000000..b2e068e Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_high.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_high.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_high.png.import new file mode 100644 index 0000000..90340a6 --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_high.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://xcl6r32po8p8" +path="res://.godot/imported/download_icon_high.png-da7cbac902b1dff324a82dc57f126c2c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/download_icon_high.png" +dest_files=["res://.godot/imported/download_icon_high.png-da7cbac902b1dff324a82dc57f126c2c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_normal.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_normal.png new file mode 100644 index 0000000..153c2d3 Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_normal.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_normal.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_normal.png.import new file mode 100644 index 0000000..e1c1cae --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/download_icon_normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rf7k1oo23umb" +path="res://.godot/imported/download_icon_normal.png-ce06ab357f693e9d556c0d179f941d61.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/download_icon_normal.png" +dest_files=["res://.godot/imported/download_icon_normal.png-ce06ab357f693e9d556c0d179f941d61.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/eport_icon_normal.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/eport_icon_normal.png new file mode 100644 index 0000000..2685752 Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/eport_icon_normal.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/eport_icon_normal.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/eport_icon_normal.png.import new file mode 100644 index 0000000..142ded2 --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/eport_icon_normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bj215dprb2g1v" +path="res://.godot/imported/eport_icon_normal.png-76516b2ca01c4d9dbe3f3fbf4c158913.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/eport_icon_normal.png" +dest_files=["res://.godot/imported/eport_icon_normal.png-76516b2ca01c4d9dbe3f3fbf4c158913.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/export_icon_high.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/export_icon_high.png new file mode 100644 index 0000000..7be55d5 Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/export_icon_high.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/export_icon_high.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/export_icon_high.png.import new file mode 100644 index 0000000..9c54d17 --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/export_icon_high.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bjre0g7jh32oy" +path="res://.godot/imported/export_icon_high.png-d17e383a808ec9e78b52b37f5a8cf4e3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/export_icon_high.png" +dest_files=["res://.godot/imported/export_icon_high.png-d17e383a808ec9e78b52b37f5a8cf4e3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_high.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_high.png index dd99bbc..0bc61d9 100644 Binary files a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_high.png and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_high.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_normal.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_normal.png new file mode 100644 index 0000000..78bd036 Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_normal.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_normal.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_normal.png.import new file mode 100644 index 0000000..a4a5c05 --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/progress_bar_normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://t2ku0xn32sqd" +path="res://.godot/imported/progress_bar_normal.png-ce1f1f0aaf93ca7ca1d4267d3d8b91ea.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/progress_bar_normal.png" +dest_files=["res://.godot/imported/progress_bar_normal.png-ce1f1f0aaf93ca7ca1d4267d3d8b91ea.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_high.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_high.png new file mode 100644 index 0000000..c03cee2 Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_high.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_high.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_high.png.import new file mode 100644 index 0000000..d60f322 --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_high.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://img8vm70prej" +path="res://.godot/imported/record_icon_high.png-2a138a102ab2b3318b3af1e13766c3e7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/record_icon_high.png" +dest_files=["res://.godot/imported/record_icon_high.png-2a138a102ab2b3318b3af1e13766c3e7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_normal.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_normal.png new file mode 100644 index 0000000..667207d Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_normal.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_normal.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_normal.png.import new file mode 100644 index 0000000..2357e0d --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/record_icon_normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://catp8wn7y4l1d" +path="res://.godot/imported/record_icon_normal.png-975cf02a666a27d0be70a7b0d9d6d14d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/record_icon_normal.png" +dest_files=["res://.godot/imported/record_icon_normal.png-975cf02a666a27d0be70a7b0d9d6d14d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/setting_bg_cut.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/setting_bg_cut.png new file mode 100644 index 0000000..ec25151 Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/setting_bg_cut.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/setting_bg_cut.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/setting_bg_cut.png.import new file mode 100644 index 0000000..4745fdb --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/setting_bg_cut.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c17iqjrj23ojq" +path="res://.godot/imported/setting_bg_cut.png-83ba8bc4874423093aebf6399731c2a8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/setting_bg_cut.png" +dest_files=["res://.godot/imported/setting_bg_cut.png-83ba8bc4874423093aebf6399731c2a8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_high.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_high.png new file mode 100644 index 0000000..e1024ff Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_high.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_high.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_high.png.import new file mode 100644 index 0000000..49cf4ab --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_high.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://70imd3xnkydk" +path="res://.godot/imported/upload_icon_high.png-3a9ac3fddfc459beb6e62b845d02ffc7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/upload_icon_high.png" +dest_files=["res://.godot/imported/upload_icon_high.png-3a9ac3fddfc459beb6e62b845d02ffc7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_normal.png b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_normal.png new file mode 100644 index 0000000..451c34e Binary files /dev/null and b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_normal.png differ diff --git a/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_normal.png.import b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_normal.png.import new file mode 100644 index 0000000..8b14f4c --- /dev/null +++ b/Robo-Bus-A31-HMI/pad_hmi_ui/setting/upload_icon_normal.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dr5maw7xa58mq" +path="res://.godot/imported/upload_icon_normal.png-a89085ce95eec487d5e7150a4f7d0539.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://pad_hmi_ui/setting/upload_icon_normal.png" +dest_files=["res://.godot/imported/upload_icon_normal.png-a89085ce95eec487d5e7150a4f7d0539.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1