From 2cb2d28b99b3edd945fac0f39f382a3b0f664712 Mon Sep 17 00:00:00 2001 From: Vlad Date: Thu, 18 Jul 2024 09:32:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0.=20=D0=93=D1=80=D0=B0=D1=84=D0=B8=D1=87=D0=B5?= =?UTF-8?q?=D1=81=D0=BA=D0=B8=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F=20=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=D0=B0=20?= =?UTF-8?q?=D0=AD=D0=9C=D0=A12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/tabs-switch/tab-switch.tscn | 17 +-- scenes/эмс2/эмс2.tscn | 181 +++++++++++++++++++++++++++-- 2 files changed, 177 insertions(+), 21 deletions(-) diff --git a/scenes/tabs-switch/tab-switch.tscn b/scenes/tabs-switch/tab-switch.tscn index 605a3a24..39f28bb9 100644 --- a/scenes/tabs-switch/tab-switch.tscn +++ b/scenes/tabs-switch/tab-switch.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=10 format=3 uid="uid://3slb0i3pvowc"] +[gd_scene load_steps=11 format=3 uid="uid://3slb0i3pvowc"] [ext_resource type="Script" path="res://scenes/tabs-switch/tab-switch.gd" id="1_fg0vd"] [ext_resource type="PackedScene" uid="uid://b276iygic5itk" path="res://scenes/работа/работа.tscn" id="2_u7p16"] @@ -6,6 +6,7 @@ [ext_resource type="PackedScene" uid="uid://trt0q8th3bn2" path="res://scenes/журнал/журнал.tscn" id="4_cu5k8"] [ext_resource type="PackedScene" uid="uid://dab6loryocc73" path="res://scenes/эмс/эмс.tscn" id="5_u71bh"] [ext_resource type="PackedScene" uid="uid://bnptm4rlp60dq" path="res://scenes/настройки/настройки.tscn" id="6_i8iv3"] +[ext_resource type="PackedScene" uid="uid://musb21x2u0xs" path="res://scenes/эмс2/эмс2.tscn" id="6_rsg03"] [ext_resource type="FontFile" uid="uid://clrxfflc1wrhj" path="res://data/main-font.tres" id="7_i7l8n"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_fe3e1"] @@ -22,9 +23,11 @@ layout_mode = 0 offset_right = 1600.0 offset_bottom = 1200.0 tooltip_text = "Переключает режимы работы программы" +current_tab = 4 script = ExtResource("1_fg0vd") [node name="Работа" parent="tab_switch" instance=ExtResource("2_u7p16")] +visible = false layout_mode = 2 [node name="Контроль" parent="tab_switch" instance=ExtResource("3_txp0s")] @@ -39,19 +42,9 @@ layout_mode = 2 visible = false layout_mode = 2 -[node name="ЭМС2" type="Panel" parent="tab_switch"] -visible = false +[node name="ЭМС2" parent="tab_switch" instance=ExtResource("6_rsg03")] layout_mode = 2 -[node name="Label" type="Label" parent="tab_switch/ЭМС2"] -layout_mode = 0 -offset_left = 476.0 -offset_top = 64.0 -offset_right = 932.0 -offset_bottom = 83.0 -text = "Режим ЭМС2 -" - [node name="Настройки" parent="tab_switch" instance=ExtResource("6_i8iv3")] visible = false layout_mode = 2 diff --git a/scenes/эмс2/эмс2.tscn b/scenes/эмс2/эмс2.tscn index 401b29c5..c424327c 100644 --- a/scenes/эмс2/эмс2.tscn +++ b/scenes/эмс2/эмс2.tscn @@ -1,14 +1,177 @@ -[gd_scene format=3 uid="uid://musb21x2u0xs"] +[gd_scene load_steps=2 format=3 uid="uid://musb21x2u0xs"] -[node name="yems2" type="Panel"] +[ext_resource type="Texture2D" uid="uid://co5xj5uhjfk84" path="res://data/Окно.png" id="1_k6k6b"] -[node name="lbl_title" type="Label" parent="."] +[node name="ЭМС2" type="Panel"] + +[node name="GridContainer" type="GridContainer" parent="."] layout_mode = 0 -offset_left = 476.0 -offset_top = 59.0 -offset_right = 932.0 -offset_bottom = 91.0 +offset_left = 123.0 +offset_top = 154.0 +offset_right = 163.0 +offset_bottom = 194.0 +columns = 2 + +[node name="Button" type="Button" parent="GridContainer"] +layout_mode = 2 +text = "122324" + +[node name="Button2" type="Button" parent="GridContainer"] +layout_mode = 2 +text = "122324" + +[node name="Label" type="Label" parent="."] +layout_mode = 0 +offset_left = 71.0 +offset_top = 48.0 +offset_right = 527.0 +offset_bottom = 67.0 text = "Режим ЭМС2 " -horizontal_alignment = 1 -vertical_alignment = 1 + +[node name="TextureRect2" type="TextureRect" parent="."] +layout_mode = 0 +offset_left = 7.0 +offset_top = 177.0 +offset_right = 1596.0 +offset_bottom = 783.0 +texture = ExtResource("1_k6k6b") + +[node name="Label2" type="Label" parent="TextureRect2"] +layout_mode = 0 +offset_left = 795.0 +offset_top = 8.0 +offset_right = 868.0 +offset_bottom = 27.0 +theme_override_colors/font_color = Color(0, 0, 0, 1) +text = "Излучение" + +[node name="Label3" type="Label" parent="TextureRect2"] +layout_mode = 0 +offset_left = 813.0 +offset_top = 293.0 +offset_right = 864.0 +offset_bottom = 312.0 +theme_override_colors/font_color = Color(0, 0, 0, 1) +text = "Приём" + +[node name="RichTextLabel" type="RichTextLabel" parent="TextureRect2"] +layout_mode = 0 +offset_left = 11.0 +offset_top = 36.0 +offset_right = 126.0 +offset_bottom = 286.0 + +[node name="RichTextLabel2" type="RichTextLabel" parent="TextureRect2"] +layout_mode = 0 +offset_left = 12.0 +offset_top = 318.0 +offset_right = 127.0 +offset_bottom = 568.0 + +[node name="GridContainer2" type="GridContainer" parent="."] +layout_mode = 0 +offset_left = 22.0 +offset_top = 898.0 +offset_right = 984.0 +offset_bottom = 1184.0 + +[node name="Label4" type="Label" parent="."] +layout_mode = 2 +offset_left = 24.0 +offset_top = 856.0 +offset_right = 98.0 +offset_bottom = 875.0 +text = "Комплекс" + +[node name="Label5" type="Label" parent="."] +layout_mode = 2 +offset_left = 120.0 +offset_top = 856.0 +offset_right = 194.0 +offset_bottom = 875.0 +text = "Изделие" + +[node name="Label6" type="Label" parent="."] +layout_mode = 2 +offset_left = 200.0 +offset_top = 856.0 +offset_right = 274.0 +offset_bottom = 875.0 +text = "Режим" + +[node name="Label7" type="Label" parent="."] +layout_mode = 2 +offset_left = 272.0 +offset_top = 856.0 +offset_right = 346.0 +offset_bottom = 875.0 +text = "Азимут" + +[node name="Label8" type="Label" parent="."] +layout_mode = 2 +offset_left = 344.0 +offset_top = 856.0 +offset_right = 418.0 +offset_bottom = 875.0 +text = "Угол места" + +[node name="Label9" type="Label" parent="."] +layout_mode = 2 +offset_left = 440.0 +offset_top = 856.0 +offset_right = 506.0 +offset_bottom = 875.0 +text = "Кластер" + +[node name="Label10" type="Label" parent="."] +layout_mode = 2 +offset_left = 520.0 +offset_top = 848.0 +offset_right = 586.0 +offset_bottom = 889.0 +text = "Нижняя +частота" + +[node name="Label11" type="Label" parent="."] +layout_mode = 2 +offset_left = 600.0 +offset_top = 848.0 +offset_right = 666.0 +offset_bottom = 889.0 +text = "Верхняя +частота" + +[node name="Label12" type="Label" parent="."] +layout_mode = 2 +offset_left = 832.0 +offset_top = 856.0 +offset_right = 898.0 +offset_bottom = 875.0 +text = "." + +[node name="Label13" type="Label" parent="."] +layout_mode = 2 +offset_left = 752.0 +offset_top = 848.0 +offset_right = 818.0 +offset_bottom = 889.0 +text = "Запрет +приёма" + +[node name="Label14" type="Label" parent="."] +layout_mode = 2 +offset_left = 680.0 +offset_top = 856.0 +offset_right = 746.0 +offset_bottom = 875.0 +text = "." + +[node name="Label15" type="Label" parent="."] +layout_mode = 2 +offset_left = 920.0 +offset_top = 848.0 +offset_right = 986.0 +offset_bottom = 889.0 +text = "Запрет +передачи"