modal window

This commit is contained in:
rendo 2026-04-24 10:02:59 +05:00
commit 5a21ef29dc
2 changed files with 10 additions and 18 deletions

View file

@ -30,16 +30,3 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xfim1")
[node name="CloseButton" type="Button" parent="." unique_id=1683733206]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -31.0
offset_bottom = 31.0
grow_horizontal = 0
theme_override_font_sizes/font_size = 16
text = "X"
[connection signal="pressed" from="CloseButton" to="TabContainer" method="_on_close_button_pressed"]

View file

@ -16,11 +16,6 @@ tab_2/title = "Отчёт"
tab_3/title = "Очистить"
script = ExtResource("1_ieq68")
[node name="Worktabs" parent="." unique_id=666307058 instance=ExtResource("2_hyo0h")]
visible = false
top_level = true
layout_mode = 1
[node name="Questions" parent="." unique_id=2060279649 instance=ExtResource("3_lhsfi")]
visible = false
top_level = true
@ -33,4 +28,14 @@ ok_button_text = "Составить отчёт"
dialog_text = "Вы уверены, что хотите закончить лабораторную работу и составить отчёт? Отчёт будет отправлен на ваш рабочий стол"
cancel_button_text = "Отменить"
[node name="Worktabs" type="Window" parent="." unique_id=1368905224]
oversampling_override = 1.0
position = Vector2i(0, 36)
size = Vector2i(768, 512)
visible = false
[node name="Worktabs" parent="Worktabs" unique_id=666307058 instance=ExtResource("2_hyo0h")]
top_level = true
[connection signal="tab_clicked" from="." to="." method="_on_tab_clicked"]
[connection signal="close_requested" from="Worktabs" to="." method="_on_worktabs_close_requested"]