From 976369e844a2db00b7641476fea449ec64e9582c Mon Sep 17 00:00:00 2001 From: MaD_CaT Date: Fri, 29 Sep 2023 11:22:24 +0300 Subject: [PATCH] godot4 --- scenes/ЭМС.tscn | 42 +++++++++++------------ scenes/журнал.tscn | 8 ++--- scenes/работа.tscn | 84 +++++++++++++++++++++++----------------------- 3 files changed, 67 insertions(+), 67 deletions(-) diff --git a/scenes/ЭМС.tscn b/scenes/ЭМС.tscn index 64aad606..9f477361 100644 --- a/scenes/ЭМС.tscn +++ b/scenes/ЭМС.tscn @@ -1,18 +1,18 @@ [gd_scene load_steps=9 format=3 uid="uid://dab6loryocc73"] -[ext_resource type="Script" path="res://scenes/ЭМС.gd" id="1_xmvfg"] -[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="2_b84yd"] -[ext_resource type="Texture2D" uid="uid://dd60btbqnpiqw" path="res://data/document-new-0.png" id="3_ay4t7"] -[ext_resource type="Texture2D" uid="uid://coqg6wsftvtxr" path="res://data/document-save-0.png" id="4_3g22x"] -[ext_resource type="Texture2D" uid="uid://cywuevvpkxl7v" path="res://data/edit-copy-0.png" id="5_yebut"] -[ext_resource type="Texture2D" uid="uid://7h55yvh84cve" path="res://data/connect.png" id="6_5ufey"] -[ext_resource type="Texture2D" uid="uid://cjsr544qccftu" path="res://data/disconnect.png" id="7_rmdgx"] -[ext_resource type="Script" path="res://table/table.gd" id="8_l44lh"] +[ext_resource type="Script" path="res://scenes/ЭМС.gd" id="1_q1m5r"] +[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="2_uk2qh"] +[ext_resource type="Texture2D" uid="uid://dd60btbqnpiqw" path="res://data/document-new-0.png" id="3_r67hm"] +[ext_resource type="Texture2D" uid="uid://coqg6wsftvtxr" path="res://data/document-save-0.png" id="4_k4ywy"] +[ext_resource type="Texture2D" uid="uid://cywuevvpkxl7v" path="res://data/edit-copy-0.png" id="5_4t8ng"] +[ext_resource type="Texture2D" uid="uid://7h55yvh84cve" path="res://data/connect.png" id="6_d2e8w"] +[ext_resource type="Texture2D" uid="uid://cjsr544qccftu" path="res://data/disconnect.png" id="7_num3n"] +[ext_resource type="Script" path="res://table/table.gd" id="8_kuams"] [node name="ЭМС" type="Panel"] offset_right = 1598.0 offset_bottom = 1201.0 -script = ExtResource("1_xmvfg") +script = ExtResource("1_q1m5r") [node name="lbl_online" type="Label" parent="."] layout_mode = 0 @@ -23,7 +23,7 @@ offset_bottom = 30.0 theme_override_colors/font_color = Color(0, 0.647059, 0.184314, 1) text = "Ячейка на связи" -[node name="btn_flash_read" parent="." instance=ExtResource("2_b84yd")] +[node name="btn_flash_read" parent="." instance=ExtResource("2_uk2qh")] layout_mode = 0 offset_left = 1446.0 offset_top = 55.0 @@ -31,7 +31,7 @@ offset_right = 1583.0 offset_bottom = 85.0 text = "Прочитать" -[node name="btn_flash_write" parent="." instance=ExtResource("2_b84yd")] +[node name="btn_flash_write" parent="." instance=ExtResource("2_uk2qh")] layout_mode = 0 offset_left = 1446.0 offset_top = 99.0 @@ -48,7 +48,7 @@ offset_bottom = 1016.0 focus_mode = 0 shortcut_feedback = false shortcut_in_tooltip = false -icon = ExtResource("3_ay4t7") +icon = ExtResource("3_r67hm") [node name="btn_save" type="Button" parent="."] layout_mode = 0 @@ -57,7 +57,7 @@ offset_top = 1017.0 offset_right = 1509.0 offset_bottom = 1073.0 focus_mode = 0 -icon = ExtResource("4_3g22x") +icon = ExtResource("4_k4ywy") [node name="btn_copy" type="Button" parent="."] layout_mode = 0 @@ -66,7 +66,7 @@ offset_top = 1074.0 offset_right = 1510.0 offset_bottom = 1130.0 focus_mode = 0 -icon = ExtResource("5_yebut") +icon = ExtResource("5_4t8ng") [node name="btn_connect" type="Button" parent="."] layout_mode = 0 @@ -76,7 +76,7 @@ offset_right = 683.0 offset_bottom = 111.0 focus_mode = 0 theme_override_colors/icon_normal_color = Color(1, 1, 1, 1) -icon = ExtResource("6_5ufey") +icon = ExtResource("6_d2e8w") [node name="btn_disconnect" type="Button" parent="."] layout_mode = 0 @@ -86,7 +86,7 @@ offset_right = 770.0 offset_bottom = 815.0 focus_mode = 0 theme_override_colors/icon_normal_color = Color(1, 1, 1, 1) -icon = ExtResource("7_rmdgx") +icon = ExtResource("7_num3n") [node name="scrollin" type="ScrollContainer" parent="."] layout_mode = 0 @@ -97,7 +97,7 @@ offset_bottom = 679.0 [node name="tbl_in" type="GridContainer" parent="scrollin"] layout_mode = 2 -script = ExtResource("8_l44lh") +script = ExtResource("8_kuams") [node name="scrl_files" type="ScrollContainer" parent="."] layout_mode = 0 @@ -108,7 +108,7 @@ offset_bottom = 1166.0 [node name="tbl_files" type="GridContainer" parent="scrl_files"] layout_mode = 2 -script = ExtResource("8_l44lh") +script = ExtResource("8_kuams") [node name="scrollout" type="ScrollContainer" parent="."] layout_mode = 0 @@ -119,7 +119,7 @@ offset_bottom = 679.0 [node name="tbl_out" type="GridContainer" parent="scrollout"] layout_mode = 2 -script = ExtResource("8_l44lh") +script = ExtResource("8_kuams") [node name="scrl_in_set" type="ScrollContainer" parent="."] layout_mode = 0 @@ -130,7 +130,7 @@ offset_bottom = 942.0 [node name="tbl_in_set" type="GridContainer" parent="scrl_in_set"] layout_mode = 2 -script = ExtResource("8_l44lh") +script = ExtResource("8_kuams") [node name="scrl_out_set" type="ScrollContainer" parent="."] layout_mode = 0 @@ -141,4 +141,4 @@ offset_bottom = 924.0 [node name="tbl_out_set" type="GridContainer" parent="scrl_out_set"] layout_mode = 2 -script = ExtResource("8_l44lh") +script = ExtResource("8_kuams") diff --git a/scenes/журнал.tscn b/scenes/журнал.tscn index ebc757b4..10136dbe 100644 --- a/scenes/журнал.tscn +++ b/scenes/журнал.tscn @@ -1,7 +1,7 @@ [gd_scene load_steps=3 format=3 uid="uid://trt0q8th3bn2"] -[ext_resource type="Script" path="res://scenes/журнал.gd" id="1_6smth"] -[ext_resource type="Script" path="res://addons/godot-logger/scripts/logger_output.gd" id="2_8wh56"] +[ext_resource type="Script" path="res://scenes/журнал.gd" id="1_qjw6d"] +[ext_resource type="Script" path="res://addons/godot-logger/scripts/logger_output.gd" id="2_l1pni"] [node name="журнал" type="Control"] layout_mode = 3 @@ -14,7 +14,7 @@ offset_right = -2.0 offset_bottom = -1.0 grow_horizontal = 2 grow_vertical = 2 -script = ExtResource("1_6smth") +script = ExtResource("1_qjw6d") [node name="content" type="RichTextLabel" parent="."] layout_mode = 0 @@ -27,7 +27,7 @@ theme_override_colors/selection_color = Color(0.72549, 0.270588, 0.133333, 1) threaded = true selection_enabled = true deselect_on_focus_loss_enabled = false -script = ExtResource("2_8wh56") +script = ExtResource("2_l1pni") [node name="btn_save" type="Button" parent="."] layout_mode = 0 diff --git a/scenes/работа.tscn b/scenes/работа.tscn index 47323a18..b5fe47bb 100644 --- a/scenes/работа.tscn +++ b/scenes/работа.tscn @@ -1,18 +1,18 @@ [gd_scene load_steps=10 format=3 uid="uid://b276iygic5itk"] -[ext_resource type="Script" path="res://scenes/работа.gd" id="1_vv3tp"] -[ext_resource type="PackedScene" uid="uid://nl1vklubr5kr" path="res://scenes/bip.tscn" id="2_u5cml"] -[ext_resource type="Texture2D" uid="uid://cs6i1xwx0pmdk" path="res://data/рамка-панели.png" id="3_pdcng"] -[ext_resource type="Script" path="res://scenes/scroll-threats.gd" id="4_8v5eg"] -[ext_resource type="Script" path="res://table/table.gd" id="5_05nqo"] -[ext_resource type="Script" path="res://scenes/scroll-params.gd" id="6_ysooq"] -[ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/canvas.tscn" id="7_2wau6"] -[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="8_t8tu6"] -[ext_resource type="FontFile" uid="uid://befva8r034a4v" path="res://data/DSEG7Classic-Regular.ttf" id="9_bx7tk"] +[ext_resource type="Script" path="res://scenes/работа.gd" id="1_n5csv"] +[ext_resource type="PackedScene" uid="uid://nl1vklubr5kr" path="res://scenes/bip.tscn" id="2_27xk6"] +[ext_resource type="Texture2D" uid="uid://cs6i1xwx0pmdk" path="res://data/рамка-панели.png" id="3_pmi4q"] +[ext_resource type="Script" path="res://scenes/scroll-threats.gd" id="4_i4425"] +[ext_resource type="Script" path="res://table/table.gd" id="5_wx56q"] +[ext_resource type="Script" path="res://scenes/scroll-params.gd" id="6_sbmqs"] +[ext_resource type="PackedScene" uid="uid://b5kjdyxuwsot5" path="res://scenes/canvas.tscn" id="7_cnnmi"] +[ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat.tscn" id="8_ldm1g"] +[ext_resource type="FontFile" uid="uid://befva8r034a4v" path="res://data/DSEG7Classic-Regular.ttf" id="9_mjlke"] [node name="Работа" type="Panel"] -script = ExtResource("1_vv3tp") -Bip = ExtResource("2_u5cml") +script = ExtResource("1_n5csv") +Bip = ExtResource("2_27xk6") col_grey = Color(0.34902, 0.643137, 0.772549, 0.168627) col_red = Color(1, 0.568627, 0.431373, 0.239216) drag_scale_band = 0.05 @@ -40,7 +40,7 @@ offset_bottom = 1169.0 layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -texture = ExtResource("3_pdcng") +texture = ExtResource("3_pmi4q") patch_margin_left = 15 patch_margin_top = 30 patch_margin_right = 15 @@ -64,18 +64,18 @@ offset_left = 4.0 offset_top = 51.0 offset_right = 476.0 offset_bottom = 282.0 -script = ExtResource("4_8v5eg") +script = ExtResource("4_i4425") [node name="table" type="GridContainer" parent="grd_side/frm_threats/scroll"] layout_mode = 2 columns = 4 -script = ExtResource("5_05nqo") +script = ExtResource("5_wx56q") [node name="frm_params" type="NinePatchRect" parent="grd_side"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -texture = ExtResource("3_pdcng") +texture = ExtResource("3_pmi4q") patch_margin_left = 15 patch_margin_top = 30 patch_margin_right = 15 @@ -99,17 +99,17 @@ offset_left = 4.0 offset_top = 27.0 offset_right = 476.0 offset_bottom = 282.0 -script = ExtResource("6_ysooq") +script = ExtResource("6_sbmqs") [node name="table" type="GridContainer" parent="grd_side/frm_params/scroll"] layout_mode = 2 -script = ExtResource("5_05nqo") +script = ExtResource("5_wx56q") [node name="frm_ecm_list" type="NinePatchRect" parent="grd_side"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -texture = ExtResource("3_pdcng") +texture = ExtResource("3_pmi4q") patch_margin_left = 15 patch_margin_top = 30 patch_margin_right = 15 @@ -136,13 +136,13 @@ offset_bottom = 285.0 [node name="table" type="GridContainer" parent="grd_side/frm_ecm_list/scroll"] layout_mode = 2 -script = ExtResource("5_05nqo") +script = ExtResource("5_wx56q") [node name="frm_ecm_params" type="NinePatchRect" parent="grd_side"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 -texture = ExtResource("3_pdcng") +texture = ExtResource("3_pmi4q") patch_margin_left = 15 patch_margin_top = 30 patch_margin_right = 15 @@ -169,12 +169,12 @@ offset_bottom = 282.0 [node name="table" type="GridContainer" parent="grd_side/frm_ecm_params/scroll"] layout_mode = 2 -script = ExtResource("5_05nqo") +script = ExtResource("5_wx56q") -[node name="canvas" parent="." instance=ExtResource("7_2wau6")] +[node name="canvas" parent="." instance=ExtResource("7_cnnmi")] metadata/_edit_lock_ = true -[node name="btn_auto_threat" parent="." instance=ExtResource("8_t8tu6")] +[node name="btn_auto_threat" parent="." instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 912.0 offset_top = 67.0 @@ -182,7 +182,7 @@ offset_right = 1102.0 offset_bottom = 117.0 text = "Автоматически" -[node name="btn_strobe" parent="." instance=ExtResource("8_t8tu6")] +[node name="btn_strobe" parent="." instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 912.0 offset_top = 6.0 @@ -190,7 +190,7 @@ offset_right = 1102.0 offset_bottom = 56.0 text = "Строб" -[node name="btn_p5" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p5" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 1 anchors_preset = -1 offset_left = 980.0 @@ -202,7 +202,7 @@ grow_vertical = 2 text = "ОЗП-1" metadata/rfi_name = "ozp1" -[node name="btn_p6" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p6" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 840.0 offset_top = 1118.0 @@ -211,7 +211,7 @@ offset_bottom = 1168.0 text = "СВ-М2" metadata/rfi_name = "svm2" -[node name="btn_p7" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p7" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 910.0 offset_top = 1118.0 @@ -220,7 +220,7 @@ offset_bottom = 1168.0 text = "K1" metadata/rfi_name = "k1" -[node name="btn_p8" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p8" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 770.0 offset_top = 1118.0 @@ -229,7 +229,7 @@ offset_bottom = 1168.0 text = "СВ-И1" metadata/rfi_name = "svi1" -[node name="btn_p9" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p9" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 700.0 offset_top = 1118.0 @@ -238,7 +238,7 @@ offset_bottom = 1168.0 text = "ПД-ЧМ" metadata/rfi_name = "pdchm" -[node name="btn_p10" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p10" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 1 anchors_preset = -1 offset_left = 630.0 @@ -250,7 +250,7 @@ grow_vertical = 2 text = "ПД-М4С" metadata/rfi_name = "pdm4s" -[node name="btn_p11" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p11" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 350.0 offset_top = 1118.0 @@ -259,7 +259,7 @@ offset_bottom = 1168.0 text = "ЛЧМ-1" metadata/rfi_name = "lchm1" -[node name="btn_p12" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p12" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 1 anchors_preset = -1 offset_left = 420.0 @@ -271,7 +271,7 @@ grow_vertical = 2 text = "МЧМ-1" metadata/rfi_name = "mchm1" -[node name="btn_p13" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p13" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 1 anchors_preset = -1 offset_left = 490.0 @@ -283,7 +283,7 @@ grow_vertical = 2 text = "ПД-М2" metadata/rfi_name = "pdm2" -[node name="btn_p14" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p14" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 1 anchors_preset = -1 offset_left = 560.0 @@ -295,7 +295,7 @@ grow_vertical = 2 text = "ПД-М4" metadata/rfi_name = "pdm4" -[node name="btn_p15" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p15" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 1 anchors_preset = -1 offset_left = 280.0 @@ -307,7 +307,7 @@ grow_vertical = 2 text = "СРН-М2" metadata/rfi_name = "srnm2" -[node name="btn_p16" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_p16" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 210.0 offset_top = 1118.0 @@ -316,7 +316,7 @@ offset_bottom = 1168.0 text = "СРН-И1" metadata/rfi_name = "srni1" -[node name="btn_off" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_off" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 140.0 offset_top = 1118.0 @@ -326,7 +326,7 @@ text = "Откл." pressed = true metadata/rfi_name = "" -[node name="btn_auto_rfi" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_t8tu6")] +[node name="btn_auto_rfi" parent="." groups=["группа-режим-помехи"] instance=ExtResource("8_ldm1g")] layout_mode = 0 offset_left = 10.0 offset_top = 1118.0 @@ -342,7 +342,7 @@ offset_left = 96.0 offset_top = 109.0 offset_right = 164.0 offset_bottom = 142.0 -theme_override_fonts/font = ExtResource("9_bx7tk") +theme_override_fonts/font = ExtResource("9_mjlke") theme_override_font_sizes/font_size = 20 text = "88" vertical_alignment = 1 @@ -351,7 +351,7 @@ vertical_alignment = 1 layout_mode = 0 offset_right = 68.0 offset_bottom = 33.0 -theme_override_fonts/font = ExtResource("9_bx7tk") +theme_override_fonts/font = ExtResource("9_mjlke") theme_override_font_sizes/font_size = 20 text = "00" vertical_alignment = 1 @@ -363,7 +363,7 @@ offset_left = 96.0 offset_top = 29.0 offset_right = 188.0 offset_bottom = 88.0 -theme_override_fonts/font = ExtResource("9_bx7tk") +theme_override_fonts/font = ExtResource("9_mjlke") theme_override_font_sizes/font_size = 56 text = "88" @@ -371,7 +371,7 @@ text = "88" layout_mode = 0 offset_right = 92.0 offset_bottom = 59.0 -theme_override_fonts/font = ExtResource("9_bx7tk") +theme_override_fonts/font = ExtResource("9_mjlke") theme_override_font_sizes/font_size = 56 text = "00"